ID: 14895 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: OpenSSL related Operating System: FreeBSD 4.3-RELEASE PHP Version: 4.1.1 New Comment:
The answer is: Find and remove any old [lib]c-client.a|so on your system, then install the new uw c-client library or let php find it in your --with-imap directory. David Previous Comments: ------------------------------------------------------------------------ [2002-02-27 23:28:46] [EMAIL PROTECTED] Any answers to this problem yet? #!/bin/bash rm config.cache; export LIBS="-ljpeg -lpng" LDFLAGS="-L/usr/local/ssl/lib -L/usr/X11R6/lib -L/usr/local/lib" \ CFLAGS="$CFLAGS -I/usr/local/include" CPPFLAGS="$CFLAGS" ./configure \ --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars \ --enable-magic-quotes --enable-trans-sid --enable-memory-limit \ --enable-force-cgi-redirect --enable-discard-path --with-openssl \ --enable-sigchild --enable-bcmath --with-bz2 \ --enable-calendar --enable-ftp \ --with-imap=/usr/src/imap-2002.DEV.SNAP-0202261726/ --with-imap-ssl=/usr/local/ssl/lib \ --with-pgsql --enable-trans-sid --with-zlib \ --with-mysql=no \ --enable-sysvshm --x-libraries=/usr/X11R6/lib \ --with-freetype-dir=/usr/local/include/freetype1/ \ --with-jpeg-dir=shared \ --with-png-dir=shared --with-xpm-dir=shared --with-gd-dir=shared --with-gd ... Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: ssl_onceonlyinit imapd is compiled as: make install SSLTYPE=nopwd ssl_onceonlyinit is located in imapd/src/osdep/unix/ssl_unix.c ------------------------------------------------------------------------ [2002-02-22 02:32:27] [EMAIL PROTECTED] Sorry, this actually WAS imap-ssl related. ------------------------------------------------------------------------ [2002-01-19 14:33:23] [EMAIL PROTECTED] I've searched the bugdb per your suggestion, Derick. All I found were two old IMAP-SSL related issues when I searched for the function name (ssl_onceonlyinit). I can download a copy of the CVS source if you like and retry my compile to see if it is fixed. Something to note, is on a fresh FreeBSD install (4.4-RELEASE), I installed apache and mod_php from a cvsup'ed ports collection, and I get the same error, so you may start to get more wide spread reports of this error. Let me know. ------------------------------------------------------------------------ [2002-01-19 13:08:40] [EMAIL PROTECTED] You need to provide a little more information, read bugs.php.net/how-to-report.php Derick ------------------------------------------------------------------------ [2002-01-06 18:37:15] [EMAIL PROTECTED] Here is my configuration when compiling php ./configure --with-mysql --enable-track-vars --with-snmp --with-imap --with-apxs=/usr/local/apache/bin/apxs --enable-ucd-snmp-hack --with-imap-ssl --with-openssl=/usr --enable-sockets --enable-ftp --with-bz2 --with-zlib My apache version is 1.3.20 (I tried with 1.3.22 as well and had the same issue. The error I get when attempting to start the apache server (compiles fine) is: Cannot load /usr/local/libexec/apache/libphp4.so into server: /usr/local/libexec/apache/libphp4.so: Undefined symbol "ssl_onceonlyinit" libssl exists: (root@warped) [/usr/lib]$ ls -ld /usr/lib/libssl.so lrwxrwxrwx 1 root wheel 11 Sep 7 17:59 /usr/lib/libssl.so -> libssl.so.2 (root@warped) [/usr/lib]$ ls -ld /usr/lib/libssl.so.2 -r--r--r-- 1 root wheel 176348 Apr 21 2001 /usr/lib/libssl.so.2 I can post a list of apache modules if nessicary, but that doesn't seem to matter, I do use mod_ssl though. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14895&edit=1
