[TriLUG] Apache PHP Module fails to load

Josh Vickery vickeryj at gmail.com
Mon Jan 23 09:56:14 EST 2006


It sounds like libclntsh.so.10.1 can't be found because it is not in
your library path.  You can add directories to your library path by
either editing the environmental variable LD_LIBRARY_PATH for a user,
or you can edit /etc/ld.so.conf and run ldconfig if you want to make
the change global.

Josh

On 1/23/06, Craig Duncan <craigduncan at nc.rr.com> wrote:
> Trying to load support for Oracle in PHP, but get the following in the
> apache error log
>
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php/modules/oci8.so' - libclntsh.so.10.1: cannot open shared
> object file: No such file or directory in Unknown on line 0
>
> Both files exist, but how do I get apache to recognize libclntsh which
> is located at /usr/lib/oracle/10.1.0.4/client/lib/libclntsh.so.10.1?
>
> C
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>



More information about the TriLUG mailing list