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
Please enter a title.
You can not post a blank message. Please type your message and try again.
Database Application Development
This discussion is archived
on Sep 15, 2011 8:57 PM by cj
/usr/bin/ld.real: cannot find -lclntsh [PHP5.3] instantclient 18.104.22.168.0
Sep 14, 2011 10: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.22.214.171.124.0
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Re: /usr/bin/ld.real: cannot find -lclntsh [PHP5.3] instantclient 126.96.36.199.0
Sep 15, 2011 8: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?