If you are trying to compile PHP with OCI8 in Solaris like I am and your “make” command fails because libnnz10.so is missing, here is what you need to do. Add the path of your Oracle instant client to the LD_LIBRARY PATH. This particular file can be found in that directory and PHP won’t know where to find it unless you add it to the LD_LIBRARY_PATH environment variable. You would think that specifying the instant client path in the “–with-oci8″ option would take care of it, but it doesn’t.


$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/instantclient

I hope you still have all your hair. I might be missing some chunks.

Comments

Powered by Facebook Comments