From owner-freebsd-ports Fri Mar 21 15:34: 2 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 5495737B401 for ; Fri, 21 Mar 2003 15:34:00 -0800 (PST) Received: from mail.urchin.com (ns2.quantified.com [63.212.171.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96EE643FA3 for ; Fri, 21 Mar 2003 15:33:59 -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 h2LNYJYT030227 for ; Fri, 21 Mar 2003 15:33:57 -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 h2LNWvsL026369 for ; Fri, 21 Mar 2003 15:32:58 -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: Clarification on ports openssl Date: Fri, 21 Mar 2003 15:34:20 -0800 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200303211533.58366.dsilver@urchin.com> X-Filter-Version: 1.7 (mail.urchin.com) 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 have the latest openssl port installed and the following in make.conf b= ut it=20 seemed to get ignored during the build: [mod_php4]# egrep -i openssl /etc/make.conf USE_OPENSSL_PORT=3Dyes OPENSSLBASE=3D /usr/local OPENSSLDIR=3D /usr/local/etc/ssl So I forced the issue: < CONFIGURE_ENV+=3D LIBS=3D' -L${OPENSSLBASE}/lib -lcrypto -lssl' --- > #CONFIGURE_ENV+=3D LIBS=3D' -L${OPENSSLBASE}/lib -lcrypto -lssl' > CONFIGURE_ENV+=3D LIBS=3D' -L/usr/local/lib -lcrypto -lssl' However even that doesn't seem to work: [snip from end of "make" ] /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely;= =20 consider using mkstemp() /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by=20 /usr/local/lib/libc-client4.so, may conflict with libcrypto.so.3 # 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) libaspell.so.15 =3D> /usr/local/lib/libaspell.so.15 (0x28640000) libstdc++.so.3 =3D> /usr/lib/libstdc++.so.3 (0x2870b000) libcrypto.so.3 =3D> /usr/local/lib/libcrypto.so.3 (0x28750000) # ldd /usr/local/lib/libc-client4.so.8 /usr/local/lib/libc-client4.so.8: libpam.so.1 =3D> /usr/lib/libpam.so.1 (0x281b5000) libssl.so.3 =3D> /usr/local/lib/libssl.so.3 (0x281be000) libcrypto.so.2 =3D> /usr/lib/libcrypto.so.2 (0x281ec000) libcrypt.so.2 =3D> /usr/lib/libcrypt.so.2 (0x282a5000) I realize the cclient is the problem, but beyond hacking the code to link= =20 libcrypto to /usr/local I wanted to check here first. Am I missing somet= hing=20 that should be set in /etc/make.conf or elsewhere? I see from a January=20 thread that Dirk wrote: Subject: Re: USE_OPENSSL and openssl from ports... right... USE_OPENSSL is defunct, see PR from June 2002: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/39054 --=20 But from that PR it seems like there should be a Mk/bsd.openssl.mk file, = or=20 perhaps it was merged into the main bsd.port.mk? Even so, how should the= =20 openssl port be maintened so other ports link against it instead of the b= ase=20 one? I hope the answer isn't to overwrite the base ;) TIA. -Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message