Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2003 13:16:28 -0500
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "D.Pageau" <dpageau@infodev.ca>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: broken port
Message-ID:  <00fa01c32f88$2c2202b0$13fd2fd8@Admin02>
References:  <3EE5FA40.2020002@infodev.ca> <007f01c32f73$13d0ee70$13fd2fd8@Admin02> <3EE6119E.7020803@infodev.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "D.Pageau" <dpageau@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00fa01c32f88$2c2202b0$13fd2fd8>