Обсуждение: geeting error in installing iodbc
Hi All,
I was trying to install odbc driver for the oracle on linux , for that I download psqlodbc-08.03.0400
When I was installing the the iodbc getting the error
[oralsh@db psqlodbc-08.03.0400]$ make
make all-am
make[1]: Entering directory `/home/oralsh/ODBC_HOME/PSQLODBC/psqlodbc-08.03.0400'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -g -O2 -MT socket.lo -MD -MP -MF ".deps/socket.Tpo" -c -o socket.lo socket.c; \
then mv -f ".deps/socket.Tpo" ".deps/socket.Plo"; else rm -f ".deps/socket.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -g -O2 -MT socket.lo -MD -MP -MF .deps/socket.Tpo -c socket.c -fPIC -DPIC -o .libs/socket.o
In file included from /usr/include/openssl/ssl.h:179,
from /usr/include/libpq-fe.h:33,
from socket.c:21:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
make[1]: *** [socket.lo] Error 1
make[1]: Leaving directory `/home/oralsh/ODBC_HOME/PSQLODBC/psqlodbc-08.03.0400'
make: *** [all] Error 2
[oralsh@db psqlodbc-08.03.0400]$
Any clue/ help over this is really helpfull for me.
regards,
Praveen
On Monday 13 April 2009 5:52:40 am Praveen K Sharma2 wrote: > Hi All, > I was trying to install odbc driver for the oracle on linux , for that I > download psqlodbc-08.03.0400 > When I was installing the the iodbc getting the error Just to be clear you are trying to install the ODBC driver for Postgres not Oracle right? > > [oralsh@db psqlodbc-08.03.0400]$ make > make all-am > make[1]: Entering directory > `/home/oralsh/ODBC_HOME/PSQLODBC/psqlodbc-08.03.0400' > if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > -I. -I/usr/include -Wall -g -O2 -MT socket.lo -MD -MP -MF > ".deps/socket.Tpo" -c -o socket.lo socket.c; \ > then mv -f ".deps/socket.Tpo" ".deps/socket.Plo"; else rm -f > ".deps/socket.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -g -O2 -MT socket.lo > -MD -MP -MF .deps/socket.Tpo -c socket.c -fPIC -DPIC -o .libs/socket.o > In file included from /usr/include/openssl/ssl.h:179, > from /usr/include/libpq-fe.h:33, > from socket.c:21: > /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory > make[1]: *** [socket.lo] Error 1 > make[1]: Leaving directory > `/home/oralsh/ODBC_HOME/PSQLODBC/psqlodbc-08.03.0400' > make: *** [all] Error 2 > [oralsh@db psqlodbc-08.03.0400]$ > > Any clue/ help over this is really helpfull for me. Looks like an OpenSSL problem. Do you have the openssl-dev libraries installed? > > regards, > Praveen -- Adrian Klaver aklaver@comcast.net
On Monday 13 April 2009 7:03:35 am Adrian Klaver wrote: > On Monday 13 April 2009 5:52:40 am Praveen K Sharma2 wrote: > > Hi All, > > I was trying to install odbc driver for the oracle on linux , for that I > > download psqlodbc-08.03.0400 > > When I was installing the the iodbc getting the error > > Just to be clear you are trying to install the ODBC driver for Postgres not > Oracle right? > > > [oralsh@db psqlodbc-08.03.0400]$ make > > make all-am > > make[1]: Entering directory > > `/home/oralsh/ODBC_HOME/PSQLODBC/psqlodbc-08.03.0400' > > if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > > -I. -I/usr/include -Wall -g -O2 -MT socket.lo -MD -MP -MF > > ".deps/socket.Tpo" -c -o socket.lo socket.c; \ > > then mv -f ".deps/socket.Tpo" ".deps/socket.Plo"; else rm -f > > ".deps/socket.Tpo"; exit 1; fi > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -g -O2 -MT > > socket.lo -MD -MP -MF .deps/socket.Tpo -c socket.c -fPIC -DPIC -o > > .libs/socket.o In file included from /usr/include/openssl/ssl.h:179, > > from /usr/include/libpq-fe.h:33, > > from socket.c:21: > > /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory > > make[1]: *** [socket.lo] Error 1 > > make[1]: Leaving directory > > `/home/oralsh/ODBC_HOME/PSQLODBC/psqlodbc-08.03.0400' > > make: *** [all] Error 2 > > [oralsh@db psqlodbc-08.03.0400]$ > > > > Any clue/ help over this is really helpfull for me. > > Looks like an OpenSSL problem. Do you have the openssl-dev libraries > installed? > > > regards, > > Praveen > > -- > Adrian Klaver > aklaver@comcast.net Missed the reference to krb5.h. I am running Ubuntu and the Openssl-dev libraries are supplied by libssl-dev and the krb5 dev by libkrb5-dev . You might to check for these or their equivalents. -- Adrian Klaver aklaver@comcast.net