From owner-freebsd-ports Mon Mar 24 18:42:48 2003 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 B460837B401 for ; Mon, 24 Mar 2003 18:42:43 -0800 (PST) Received: from mail.urchin.com (ns2.quantified.com [63.212.171.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1705F43FAF for ; Mon, 24 Mar 2003 18:42:43 -0800 (PST) (envelope-from dsilver@urchin.com) Received: from support.urchin.com (support.urchin.com [63.212.171.7]) by mail.urchin.com (8.12.1/8.12.1) with ESMTP id h2P2h2YT061328 for ; Mon, 24 Mar 2003 18:42:41 -0801 (PST) (envelope-from dsilver@urchin.com) Received: from danzig.sd.quantified.net (web.urchin.com [63.212.171.5]) (authenticated bits=0) by support.urchin.com (8.12.8/8.12.6) with ESMTP id h2P2ffsL043007 for ; Mon, 24 Mar 2003 18:41:41 -0800 (PST) (envelope-from dsilver@urchin.com) Content-Type: text/plain; charset="us-ascii" From: Doug Silver Organization: Urchin Software Corporation To: freebsd-ports@FreeBSD.ORG Subject: Both native and port libssl/libcrypto linking in mod_php4 Date: Mon, 24 Mar 2003 18:43:03 -0800 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200303241842.41929.dsilver@urchin.com> X-Filter-Version: 1.7 (mail.urchin.com) X-Spam-Status: No, hits=-18.8 required=5.0 tests=AWL,USER_AGENT_KMAIL autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've tried a couple of times to get my mod_php4 to build without linking = to=20 both libssl/libcrypto libraries in /usr/lib and /usr/local/lib respective= ly. =20 I have the patched /usr/ports/Mk/bsd.port.mk and the following entries in= =20 /etc/make.conf: USE_OPENSSL_PORT=3Dyes OPENSSLBASE=3D /usr/local OPENSSLDIR=3D /usr/local/etc/ssl I have doubled checked that all of the libraries in /usr/local/lib are *n= ot*=20 linked to /usr/lib/libssl or /usr/lib/libcrypto, but without grepping thr= ough=20 the mod_php4 build system I don't know why it's still linking them in. Does it matter? # ldd work/php-4.3.1/.libs/libphp4.so work/php-4.3.1/.libs/libphp4.so: libcrypto.so.2 =3D> /usr/lib/libcrypto.so.2 (0x2825a000) libssl.so.2 =3D> /usr/lib/libssl.so.2 (0x28313000) libc-client4.so.8 =3D> /usr/local/lib/libc-client4.so.8 (0x2833f0= 00) libpspell.so.15 =3D> /usr/local/lib/libpspell.so.15 (0x283f0000) libpq.so.3 =3D> /usr/local/lib/libpq.so.3 (0x283f2000) libcrypt.so.2 =3D> /usr/lib/libcrypt.so.2 (0x28407000) libpam.so.1 =3D> /usr/lib/libpam.so.1 (0x28420000) libiconv.so.3 =3D> /usr/local/lib/libiconv.so.3 (0x28429000) libintl.so.4 =3D> /usr/local/lib/libintl.so.4 (0x28504000) libz.so.2 =3D> /usr/lib/libz.so.2 (0x2850c000) libm.so.2 =3D> /usr/lib/libm.so.2 (0x28519000) libxml2.so.5 =3D> /usr/local/lib/libxml2.so.5 (0x28535000) libc.so.4 =3D> /usr/lib/libc.so.4 (0x28069000) libssl.so.3 =3D> /usr/local/lib/libssl.so.3 (0x28612000) libcrypto.so.3 =3D> /usr/local/lib/libcrypto.so.3 (0x28640000) libaspell.so.15 =3D> /usr/local/lib/libaspell.so.15 (0x2872d000) libstdc++.so.3 =3D> /usr/lib/libstdc++.so.3 (0x287f8000) Thanks. -Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message