From owner-freebsd-ports@FreeBSD.ORG Fri Apr 11 08:57:10 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7CF6ED5E for ; Fri, 11 Apr 2014 08:57:10 +0000 (UTC) Received: from relay.andxor.it (relay.andxor.it [78.134.40.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C14B31A4E for ; Fri, 11 Apr 2014 08:57:09 +0000 (UTC) Received: (qmail 17737 invoked from network); 11 Apr 2014 08:57:00 -0000 Received: from alex.andxor.it (a.premoli@andxor.it@192.168.2.30) by relay.andxor.it with ESMTPSA; 11 Apr 2014 08:57:00 -0000 Message-ID: <5347AE5C.6020703@FreeBSD.org> Date: Fri, 11 Apr 2014 10:57:00 +0200 From: Alex Dupre User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:28.0) Gecko/20100101 Firefox/28.0 SeaMonkey/2.25 MIME-Version: 1.0 To: "O. Hartmann" , FreeBSD Ports Subject: Re: PHP Warning: Unable to load dynamic library References: <20140411102756.06aa4878.ohartman@zedat.fu-berlin.de> In-Reply-To: <20140411102756.06aa4878.ohartman@zedat.fu-berlin.de> X-Enigmail-Version: 1.6.1_pre20140112 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2014 08:57:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 O. Hartmann ha scritto: > Since a couple of days by now I get bothered by this nasty error > corrupting all the services provided via Apache24/PHP: > > [...] PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/local/lib/php/20100525-zts/xsl.so' - Cannot open > "/usr/local/lib/php/20100525-zts > > This happens to all .so libraries, apache24 want to load upon > start. The path is /usr/local/lib/php/20100525, NOT > /usr/local/lib/php/20100525-zts. > > I recompiled apache and all php stuff without option ZTS enabled to > get rid of the wrong path, but it seems I didn't hit the culprit > port. You did exactly the opposite of what you had to do. As the WARNING says, build lang/php5 with ZTS enabled and rebuild all extensions. - -- Alex Dupre -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlNHrlwACgkQgRXp2M5fVU1WaQCeNAqH93QF5/uO9LhwucLUpJI3 HFUAn1T4KHDBUEngBE/QXEKG3RIwp85r =Z0li -----END PGP SIGNATURE-----