Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2003 18:43:03 -0800
From:      Doug Silver <dsilver@urchin.com>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Both native and port libssl/libcrypto linking in mod_php4
Message-ID:  <200303241842.41929.dsilver@urchin.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303241842.41929.dsilver>