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: 4502
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: Tue Dec 06 08:18:15 CST 2016

Total time taken to generate the page: 0.10541 seconds