Porwal, Nikhil wrote:
I am trying to configure Oracle Client with Php + Apache server. My Apache + php server was running fine and also oracle client SQLPLUS utility was able to connect to remote database.

/gcc -o conftest -I/usr/include -g -O2 -L/usr/lib -Wl,-rpath,/usr/lib/oracle/10.2.0.3/client/lib/ -L/usr/lib/oracle/10.2.0.3/client/lib/ conftest.c -lcrypt -lrt -lfreetype -lpng/

/ -lz -ljpeg -lbz2 -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lclntsh -lxml2 -lz -lm -lcrypt 1>&5/

/conftest.c: In function 'main':/

/conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit'/

/./conftest: error while loading shared libraries: libnnz10.so: cannot open shared object file: No such file or directory/



Do you have SELinux enabled?

http://cdatazone.org/index.php?/archives/37-PHP,-Oracle-and-SELinux.html

Chris

--
Christopher Jones, Oracle
Email: [EMAIL PROTECTED]    Tel:  +1 650 506 8630
Blog:  http://blogs.oracle.com/opal/   Free PHP Book: http://tinyurl.com/f8jad

Reply via email to