ID: 14895
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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] [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.
------------------------------------------------------------------------
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