broken port

Scot W. Hetzel hetzels at westbend.net
Tue Jun 10 12:40:38 PDT 2003


From: "D.Pageau" <dpageau at infodev.ca>
> System: 4.6-STABLE
>
> mod_php4-4.3.2,1 with IMAP broken
>
> /usr/locat/etc/rc.c/apache start
>
> Cannot load /usr/local/libexec/apache/libphp4.so into server:
> /usr/local/libexec/apache/libphp4.so: Undefined symbol "ssl_onceonlyinit"
>
Do you have the OpenSSL port installed?

I believe the problem is caused by your Apache, mod_php4, and c-client
ports are built with different versions of the OpenSSL libraries.

Try the following on your httpd, libphp4.so and libc-client.so files:

# ldd /usr/local/sbin/httpd
/usr/local/sbin/httpd:
        libz.so.2 => /usr/lib/libz.so.2 (0x280a7000)
        libssl.so.3 => /usr/lib/libssl.so.3 (0x280b4000)
        libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x280e3000)
        :
        libc.so.4 => /usr/lib/libc.so.4 (0x28257000)

# ldd /usr/local/libexec/apache/libphp4.so
/usr/local/libexec/apache/libphp4.so:
        libmcal.so => /usr/local/lib/libmcal.so (0x28298000)
        libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x282a7000)
        libssl.so.3 => /usr/lib/libssl.so.3 (0x2839f000)
        libc-client4.so.8 => /usr/local/lib/libc-client4.so.8 (0x283ce000)
        :
        libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x28896000)

# ldd /usr/local/lib/libc-client4.so.8
/usr/local/lib/libc-client4.so.8:
        libpam.so.1 => /usr/lib/libpam.so.1 (0x281b4000)
        libssl.so.3 => /usr/lib/libssl.so.3 (0x281be000)
        libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x281ed000)
        libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x282e5000)

The versions of libssl.so.? and libcrypto.so? should match.  If they don't
then you'll need to rebuild the port with the wrong version of OpenSSL.

Scot



More information about the freebsd-ports mailing list