Re: Problems with odbc-connection to informix-database

Nick Gorham <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
On 20/07/11 11:38, Michael Blum wrote:
> Thank You for your fast response!
>
> root@debian-testwebserver:~# ldd /opt/IBM/informix/lib/cli/libifcli.so
>         linux-gate.so.1 =>  (0xb7740000)
>         libifgls.so => not found
>         libifglx.so => not found
>         libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb746f000)
>         libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7449000)
>         libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7445000)
>         libcrypt.so.1 => /lib/i686/cmov/libcrypt.so.1 (0xb7413000)
>         libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb73fa000)
>         /lib/ld-linux.so.2 (0xb7741000)
>
> root@debian-testwebserver:~# locate libifgls.so
> /opt/IBM/informix/lib/esql/libifgls.so
> root@debian-testwebserver:~# locate libifglx.so
> /opt/IBM/informix/lib/esql/libifglx.so
>
> but my /etc/ld.so.conf says:
>
> include /etc/ld.so.conf.d/*.conf
> include $INFORMIXDIR/lib/cli/*
> include $INFORMIXDIR/lib/esql/*
> include $INFORMIXDIR/lib/*
>
> Why are the libraries not found?
>

Well strictly speaking that would be a question between yourself and 
your distribution :-)

But I would guess that possibly either $INFORMIXDIR is not expanded by 
the linking system, or when its setup $INFORMIXDIR is not defined.

I would try a absolute path and see if its any better.

-- 
Nick
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.