Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Database Application Development
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Sep 15, 2011 3:57 PM by
/usr/bin/ld.real: cannot find -lclntsh [PHP5.3] instantclient 184.108.40.206.0
Sep 14, 2011 5:27 AM
I am trying to php oci8 with Oracle Instant client for a system with following configuraiton,
but I am periodically getting the error "incompatible libclntsh.so"
PHP 5.3.6-8ubuntu0ppa2~karmic1 (cli) (built: Apr 19 2011 07:44:50)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
Ubuntu 9.10 Karmic
Oracle Instant client instantclient.220.127.116.11.0
This content has been marked as final.
Show 1 reply
Re: /usr/bin/ld.real: cannot find -lclntsh [PHP5.3] instantclient 18.104.22.168.0
Sep 15, 2011 3:57 PM
in response to
How did you build OCI8?
How is PHP configured/installed?
Do you have multiple versions of Oracle libraries installed on the machine?
If you are using Ubuntu's Apache package, is LD_LIBRARY_PATH set in /etc/apache2/envvars?