From owner-freebsd-ports@FreeBSD.ORG Fri Apr 11 09:20:39 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1706B9D7; Fri, 11 Apr 2014 09:20:39 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (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 AA2D21C90; Fri, 11 Apr 2014 09:20:38 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1WYXdV-002Rf6-02>; Fri, 11 Apr 2014 11:20:37 +0200 Received: from g225184157.adsl.alicedsl.de ([92.225.184.157] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1WYXdU-001gL3-RY>; Fri, 11 Apr 2014 11:20:36 +0200 Date: Fri, 11 Apr 2014 11:20:28 +0200 From: "O. Hartmann" To: Alex Dupre Subject: Re: PHP Warning: Unable to load dynamic library Message-ID: <20140411112028.3a1a55f4.ohartman@zedat.fu-berlin.de> In-Reply-To: <5347AE5C.6020703@FreeBSD.org> References: <20140411102756.06aa4878.ohartman@zedat.fu-berlin.de> <5347AE5C.6020703@FreeBSD.org> Organization: FU Berlin X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/xxJC=AjpKj6lB1K.BwVhzjK"; protocol="application/pgp-signature" X-Originating-IP: 92.225.184.157 X-ZEDAT-Hint: A Cc: FreeBSD Ports 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 09:20:39 -0000 --Sig_/xxJC=AjpKj6lB1K.BwVhzjK Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 11 Apr 2014 10:57:00 +0200 Alex Dupre wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > 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: > >=20 > > [...] PHP Warning: PHP Startup: Unable to load dynamic library=20 > > '/usr/local/lib/php/20100525-zts/xsl.so' - Cannot open=20 > > "/usr/local/lib/php/20100525-zts > >=20 > > 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. > >=20 > > 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. >=20 > 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. >=20 > - --=20 > Alex Dupre Hello Alex, well, it is a bit confusing and I think the update path wasn't clear when t= he switch to mod_php5 was made. At this very moment, I recompile ALL php5 ports including mod_php5 with ZTS= enabled as I use a threaded apache24. I also deleted /usr/local/lib/php/20100525 to ensu= re that nothing is left what could corrupt (I also deleted/moved etc/php/extensions= .ini). After making both php5 and mod_php5 consistent, the problems went away. Thank you very much. Oliver --Sig_/xxJC=AjpKj6lB1K.BwVhzjK Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTR7PkAAoJEOgBcD7A/5N8Q0gIAKZAiLUyhYo1NWZMAD7hUHOg TAamO6kxYfwpJXJdCsORE4xf23rn7nx4eWzWB2krwhtvRWkRa4CT2LEy2n6/tnpU vuXhyPhBtGtVzR1xoL8oAp60iP2BdEQEIncI2ID/MoObclscx/21VIuPNn/caeqP r+I8g5knDUbN7hVyJll/mv1YRA8mi+CpeEgmSSn2EsfW5ZFOCp6oOkwuJJ3xTiDY 09vwfTT3nIjxiclcRqoLwNDVkmzgBDsYAWJJDZOTC76IFq3TdotV1DxkZpjkGLkf 9geUNpteQltOoP80r+hDpXy/yjdoQcvNyHW4DaQVQG675DFwrrKSLPuzy9qD/b8= =IPaa -----END PGP SIGNATURE----- --Sig_/xxJC=AjpKj6lB1K.BwVhzjK--