From owner-freebsd-ports@FreeBSD.ORG Sun Jun 5 10:06:03 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93EEC16A41C for ; Sun, 5 Jun 2005 10:06:03 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AF2643D4C for ; Sun, 5 Jun 2005 10:06:02 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from sinanica.bg.datamax (sinanica.bg.datamax [192.168.10.1]) by jengal.datamax.bg (Postfix) with QMQP id AB71187CD; Sun, 5 Jun 2005 13:05:59 +0300 (EEST) Received: (nullmailer pid 26403 invoked by uid 1004); Sun, 05 Jun 2005 10:05:59 -0000 Date: Sun, 5 Jun 2005 13:05:59 +0300 From: Vasil Dimov To: Steve Rieger Message-ID: <20050605100559.GA12159@sinanica.bg.datamax> References: <7e84b1818f10acfd49dbd0a66c400191@tbwachiat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <7e84b1818f10acfd49dbd0a66c400191@tbwachiat.com> X-OS: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i Cc: ports freebsd Subject: Re: php4-oracle X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@datamax.bg List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2005 10:06:03 -0000 --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--