ID: 14223
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Old Bug Type: *Compile Issues
Bug Type: Compile Failure
Operating System: Linux 2.0.36
PHP Version: 4.0.6
New Comment:

Why don't you test it? (it should be fixed)
Try a snapshot: http://snaps.php.net/ or wait for PHP 4.1.0 to be released.
(Today/tomorrow)

--Jani


Previous Comments:
------------------------------------------------------------------------

[2001-11-26 03:31:37] [EMAIL PROTECTED]

I'm still getting this message, and I think I've found why.

You correctly try to detect the crypto lib before the ssl lib of OpenSSL, but when 
trying to compile a test program to test if the IMAP library was compiled with SSL 
support, you link with the crypto lib before the ssl lib. These libraries should be 
reversed (the ssl lib needs symbols that are defined in the crypto lib).

I tried to correct this, and still got the same error. I also found that you must link 
with the c-client library before the ssl and crypto libs (the config.log tries to run 
this:

gcc -o conftest -g -O2  -DLINUX=20 -DDEV_RANDOM=/dev/random -DMOD_SSL=208104 
-DUSE_HSREGEX -DEAPI -DUSE_EXPAT  -Wl,
-rpath,/usr/X11/lib -L/usr/X11/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib 
conftest.c -lpam -lgmp -lgd -lX11 -lXpm -ljpeg -lgdbm -lz -lcrypt -lssl -lcrypto 
-lresolv -lm -ldl -lnsl  -lresolv -lc-client 1>&5
and fails, for the same reason (the c-client lib needs some symbols that are defined 
in the ssl lib). I added -lssl and -lcrypto after the -lc-client, and it works.

I don't know if this has been fixed in the CVS version.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14223&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to