Bug #14895 Updated: Error when trying to load the php4 module
| From: | snowgod at snowgod dot org | Date: | Wed, 05 Jun 2002 19:48:53 +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-9575@lists.php.net to get a copy of this message | ||
ID: 14895
Updated by: snowgod@snowgod.org
Reported By: snowgod@snowgod.org
Status: Closed
-Bug Type: OpenSSL related
+Bug Type: IMAP related
Operating System: FreeBSD 4.3-RELEASE
PHP Version: 4.1.1
New Comment:
-
Previous Comments:
------------------------------------------------------------------------
[2002-05-16 10:33:28] joel@secuserv.ch
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 ;))
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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