Date: Sun, 5 Jun 2005 13:05:59 +0300 From: Vasil Dimov <vd@datamax.bg> To: Steve Rieger <steve.rieger@tbwachiat.com> Cc: ports freebsd <ports@freebsd.org> Subject: Re: php4-oracle Message-ID: <20050605100559.GA12159@sinanica.bg.datamax> In-Reply-To: <7e84b1818f10acfd49dbd0a66c400191@tbwachiat.com> References: <7e84b1818f10acfd49dbd0a66c400191@tbwachiat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 03, 2005 at 03:15:19PM -0400, Steve Rieger wrote: > hi there >=20 > running fbsd 5.4 current and all cvsupped >=20 > installing php4-oracle and get the following error at runtime >=20 > PHP Warning: Unknown(): Unable to load dynamic library=20 > '/usr/local/lib/php/20020429/oracle.so' -=20 > /usr/local/lib/php/20020429/oracle.so: Undefined symbol=20 > "nscontrol" in Unknown on line 0 >=20 % ldd /usr/local/lib/php/20020429/oracle.so % locate libclntsh.so % locate libocci ... etc. % export LD_LIBRARY_PATH=3D... % 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. --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFCos6GFw6SP/bBpCARAvizAJ0YvcmmqFv0FTTjyde6ppQZq5N3lQCgk+Az mnAj9wST0/tuSdviMFdiWkM= =6alc -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050605100559.GA12159>