ID:               15931
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Linux 2.4.18-ac1
 PHP Version:      4.0CVS-2002-03-0
 New Comment:

Is the path supplied to --with-openssl really the path
where the openssl libraries and header files are installed?

If not, use the install path instead of source path.

(Note to fix this: Need to check in the openssl checks that 
the libraries are also found in correct place and thus avoid
possibility of using wrong libraries with wrong header files)



--Jani



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

[2002-03-08 08:50:43] [EMAIL PROTECTED]

User input: 
-----
CFLAGS="-fPIC -O3 -m486" ./configure
--with-apache=/usr/src/apache_1.3.23/ \
--with-x --with-dbase --enable-track-vars --with-imap=/usr --with-gd \
--with-gnu-ld --enable-memory-limit --enable-xml --with-ftp --with-gdbm
\
--enable-sigchild --enable-ctype --enable-dbase --enable-url-include \
--enable-ucd-snmp-hack --with-tsrm-pth --enable-discard-path \
--enable-gd-native-ttf --with-pgsql=/usr --enable-bcmath \
--enable-freetype-4bit-antialias-hack --with-mcrypt --enable-versioning
\
--with-readline --disable-debug --with-gettext --with-ttf --with-jpeg
\
--with-mhash --enable-inline-optimization --with-mysql=/usr \
--disable-posix-threads --enable-ftp --with-vpopmail=/data/virtual \
--with-mm=/usr/src/mm-1.1.3 --enable-shmop --enable-sysvshm \
--with-openssl=/usr/src/openssl --enable-sysvsem \
--with-ming --with-xpm-dir=/usr/X11R6/lib \
--with-jpeg-dir=/usr/lib --with-t1lib=/usr --enable-discard-path \
--enable-calendar --with-dom --enable-dom --with-magic-quotes \
--with-zlib-dir=/usr --enable-sockets --with-zlib=/usr --with-bz2 \
--enable-calendar --with-mcal=/usr/local/mcal --with-zziplib=/usr 
--with-pdflib=/usr \
--with-ncurses --enable-xslt --with-xslt-sablot --enable-wddx \
--with-db3=/usr/local/BerkeleyDB.3.3/include/ --with-sablot 
-----

Please do not mail ppl directly but use the bugsystem.

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

[2002-03-08 07:02:48] [EMAIL PROTECTED]

sent to [EMAIL PROTECTED]

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

[2002-03-08 06:18:54] [EMAIL PROTECTED]

What's your configure line?

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

[2002-03-07 07:49:00] [EMAIL PROTECTED]

# openssl version
OpenSSL 0.9.8-dev 24 Sep 2000

# gcc --version
2.96

/bin/sh /usr/src/php4/libtool --silent --mode=link gcc -I.
-I/usr/src/php4/sapi/cli -I/usr/src/php4/main -I/usr/src/php4
-I/usr/src/apache_1.3.23//src/include
-I/usr/src/apache_1.3.23//src/os/unix -I/usr/src/php4/Zend
-I/usr/src/openssl/include -I/usr/include/libxml2
-I/usr/include/freetype -I/usr/include/mysql -I/data/virtual/include
-I/usr/src/php4/ext/xml/expat  -I/usr/src/php4/TSRM -fPIC -O3 -m486  
-o php -export-dynamic  libphp4cli.la 
./.libs/libphp4cli.a(openssl.o): In function `zm_startup_openssl':
openssl.o(.text+0xa16): undefined reference to
`OPENSSL_add_all_algorithms_noconf'
collect2: ld returned 1 exit status
make[2]: *** [php] Error 1
make[2]: Leaving directory `/usr/src/php4/sapi/cli'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php4/sapi/cli'
make: *** [all-recursive] Error 1


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


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

Reply via email to