[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Troubles with ld



Hi again:
     I tried the -L option in the linker command line with same result :(.
This library is in oracle lib directory ( $ORACLE_HOME/lib). But is a link.

"[root hal9000 lib]# ls -l libclnts*
lrwxrwxrwx    1 root     root           47 ene 30 15:58 libclntsh.so ->
/home/oracle/product/8.1.7/lib/libclntsh.so.8.0
-rwxr-xr-x    1 oracle   oinstall  6389538 ene 28 12:16 libclntsh.so.8.0
-rwxr-xr-x    1 oracle   oinstall  9189964 ene 28 12:17 libclntst8.a
"

This path is informed in the /etc/ld.so.conf

"[root hal9000 etc]# more ld.so.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-2.3.1/lib
/usr/lib/wine
/usr/lib/sane
/usr/lib/mysql
/home/oracle/product/8.1.7/lib
"
If I made an ldconfig -v, the path is cached
"
/home/oracle/product/8.1.7/lib:
        libagtsh.so -> libagtsh.so
        libclntsh.so.8.0 -> libclntsh.so.8.0
        libVdbJdbcExt.so -> libVdbJdbcExt.so
        libVxxxStackTrace.so -> libVxxxStackTrace.so
        libvdg.so -> libvdg.so
        libnjssl8.so -> libnjssl8.so
        libowm2.so -> libowm2.so
        libJNLSTool.so -> libJNLSTool.so
        libJNLSLib3.so -> libJNLSLib3.so
        libocijdbc8_g.so -> libocijdbc8_g.so
        libocijdbc8.so -> libocijdbc8.so
        libwtc8.so -> libwtc8.so
        libnjni8.so -> libnjni8.so
        libcorejava.so -> libcorejava.so
"
But the same error appears when executing make
 /usr/bin/ld: cannot find -lclntsh

I tried to inform of the oracle lib path in the PATH environment variable,
with same error.

I'm lost, any help will be very apreciated!






Jakub Jelinek <jakub redhat com>@redhat.com con fecha 30/01/2002 12:38:15
PM

Por favor, responda a enigma-list redhat com

Enviado por:   enigma-list-admin redhat com


Destinatarios:     enigma-list redhat com
CC:

Asunto:   Re: Troubles with ld

On Wed, Jan 30, 2002 at 11:48:43AM +0100, dballester kernpharma com wrote:
> /usr/bin/ld: cannot find -lclntsh

This just means that libclntsh.so nor libclntsh.a cannot be find in linker
search path. I guess it is an Oracle library, so I'd search your Oracle
installation, find where it is located and make sure -L/that/path is added
to linker's command line.

           Jakub



_______________________________________________
enigma-list mailing list
enigma-list redhat com
https://listman.redhat.com/mailman/listinfo/enigma-list








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]