Re: Undefined symbol "ssl_onceonlyinit" [SOLVED]

From: Ebbe Hjorth (none@info--ebbehjorth.dk.lh.bsd-dk.dk)
Date: Sat 08 Aug 2009 - 21:00:08 CEST


Date: Sat, 8 Aug 2009 21:00:08 +0200
Subject: Re: Undefined symbol "ssl_onceonlyinit" [SOLVED]
From: "Ebbe Hjorth" <none@info--ebbehjorth.dk.lh.bsd-dk.dk>
To: bsd-dk@bsd-dk.dk


> On lør, 2009-08-08 at 17:03 +0200, Ebbe Hjorth wrote:
>> Hej,
>>
>> Jeg har lige installeret FreeBSD 7.2, Apache 2.2, php5-5.2.10 and
>> php5-extensions 1.3, alle fra freebsd ports.
>>
>> Jeg har installeret php5 med imap support da jeg skal bruge det, men
>> når
>> jeg prøver at starte apache med imap.so extension slået til i
>> extensions.ini fejler den /var/log/httpd-error.log
>> /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined
>> symbol "ssl_onceonlyinit"
>>
>> Jeg har prøvet at google det, men fandt kun en gammel bug fra 2002
>>
>
> Jeg fandt en nyere, fra 2005:
>
> http://www.php.cn/php/ref.imap.html#56560
>

Som altid eeeeelsker jeg dig Jette ;)

#pkg_delete -f cclient-2007e,1
#cd /usr/ports/mail/cclient/
#make config (Select SSL option)
#make install clean

Tusind tak Jette! ;)

>
>
> Jeg faldt også over denne, som godt nok er fra 2003:
>
> -----------------------------------------------
> 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.
> ------------------------------------------------------
>
>
> /Jette
>
>



This archive was generated by hypermail 2b30 : Mon 31 Aug 2009 - 23:00:01 CEST