Home » Developer & Programmer » Precompilers, OCI & OCCI » /usr/bin/ld: cannot find -lclntsh
/usr/bin/ld: cannot find -lclntsh [message #238409] Thu, 17 May 2007 20:49 Go to next message
henryJack85
Messages: 5
Registered: May 2007
Location: Malaysia
Junior Member
How to solve this problem?

/usr/bin/ld: cannot find -lclntsh


my path is

$LD_LIBRARY_PATH=/oracle/10g/lib

I already copy paste the liblclnst.so.10.o

Thank you
Re: /usr/bin/ld: cannot find -lclntsh [message #238609 is a reply to message #238409] Fri, 18 May 2007 12:55 Go to previous message
Frank Naude
Messages: 4579
Registered: April 1998
Senior Member
Run $ORACLE_HOME/bin/genclntsh

If it's still not working, post output of:

$ env | grep ORA
$ env | grep LD_LIBRARY_PATH
$ ls-l $ORACLE_HOME/lib/libclntsh*
Previous Topic: Call Package Oracle from Pro*C
Next Topic: ERROR:ORA-01034: ORACLE not available & ORA-27101: shared memory realm does not exist
Goto Forum:
  


Current Time: Fri Mar 29 01:00:56 CDT 2024