php4-oracle

Vasil Dimov vd at datamax.bg
Sun Jun 5 10:06:03 GMT 2005


On Fri, Jun 03, 2005 at 03:15:19PM -0400, Steve Rieger wrote:
> hi there
> 
> running fbsd 5.4 current and all cvsupped
> 
> installing php4-oracle and get the following error at runtime
> 
> PHP Warning:  Unknown(): Unable to load dynamic library 
> '/usr/local/lib/php/20020429/oracle.so' - 
> /usr/local/lib/php/20020429/oracle.so: Undefined symbol 
> "nscontrol" in Unknown on line 0
> 

% ldd /usr/local/lib/php/20020429/oracle.so
% locate libclntsh.so
% locate libocci ... etc.
% export LD_LIBRARY_PATH=...
% man ldconfig

Do you understand the above commands? You must set LD_LIBRARY_PATH to
the directory containing those files shown as "not found" by the ldd
command OR use ldconfig -m to add that directory permanently to the
linker search path.

Hope that helps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050605/c8575291/attachment.bin


More information about the freebsd-ports mailing list