geeting error in installing iodbc

geeting error in installing iodbc

am 13.04.2009 14:52:40 von Praveen K Sharma2

This is a multipart message in MIME format.
--=_alternative 00466BF865257597_=
Content-Type: text/plain; charset="US-ASCII"

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

--=_alternative 00466BF865257597_=
Content-Type: text/html; charset="US-ASCII"



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


--=_alternative 00466BF865257597_=--

Re: geeting error in installing iodbc

am 13.04.2009 16:03:35 von Adrian Klaver

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

--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: geeting error in installing iodbc

am 13.04.2009 16:19:14 von Adrian Klaver

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

--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc