Bug #14895 Updated: Error when trying to load the php4 module

From: Date: Thu, 16 May 2002 14:33:29 +0000
Subject: Bug #14895 Updated: Error when trying to load the php4 module
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7843@lists.php.net to get a copy of this message
ID: 14895 Updated by: joel@secuserv.ch Reported By: snowgod@snowgod.org Status: Closed Bug Type: OpenSSL related Operating System: FreeBSD 4.3-RELEASE PHP Version: 4.1.1 New Comment: Heya After recompiling imap-stuff, php with thousand of options and apache up and down for about half a day on a p90 (took damn long!) and always receiving the same bug on openbsd I think I can lift the mystery: Edit the Makefile in the UW-imap-Directory and set PASSWDTYPE=std By default it's none. On obsd it seems to fail on compiling. I hope I made now thousands of BSD users happy ;). BTW. I grepped the sources from the ftp and didn't installed it per package. Greetz Joel Wiesmann (You may change OS to - and Category to IMAP now ;)) Previous Comments: ------------------------------------------------------------------------ [2002-04-10 19:05:31] sniper@php.net Reopen if this still happens with latest CVS snapshot and if you're sure you don't have bogus c-client libs or header files in your system. ------------------------------------------------------------------------ [2002-02-27 23:57:42] david@blue-labs.org 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 ------------------------------------------------------------------------ [2002-02-27 23:28:46] david@blue-labs.org 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] snowgod@snowgod.org Sorry, this actually WAS imap-ssl related. ------------------------------------------------------------------------ [2002-01-19 14:33:23] snowgod@snowgod.org 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. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14895 -- Edit this bug report at http://bugs.php.net/?id=14895&edit=1

« previous php.bugs (#7843) next »