ID:               27927
 Updated by:       [EMAIL PROTECTED]
 Reported By:      heinemann dot juergen at t-online dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         *Compile Issues
 Operating System: Linux
 PHP Version:      5CVS-2004-04-09 (dev)
 New Comment:

This is not a problem in PHP, but with the libraries available on your
system.


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

[2004-04-09 02:06:13] heinemann dot juergen at t-online dot de

Description:
------------
libmysqlclient.so: undefined reference to 

OpenSSL_add_all_algorithms 

 

http://www.klettern-ettringen.de/flbattle/kurz/php5_error.tar.bz2 

Reproduce code:
---------------
int main() {

mysql_close()

; return 0; }

configure:54582: checking for mysql_error in -lmysqlclient

configure:54601: gcc -o conftest -g -O2   -Wl,-rpath,/usr/X11R6/lib
-L/usr/X11R6/lib -Wl,-rpath,/opt/gnome/lib -L/opt/gnome/lib
-Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient  -lz -lmhash -lmcrypt
-lltdl -lgd -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lcurl -lbz2 -lz
-lssl -lcrypto -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lcurl -lz -lssl
-lcrypto -ldl -lssl -lcrypto -ldl -lxml2 -lz -lm -lmono -lm
-lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 1>&5

/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../libmysqlclient.so:
undefined reference to `OpenSSL_add_all_algorithms'

collect2: ld returned 1 exit status

configure: failed program was:

#line 54590 "configure"

#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */

/* We use char because int might match the return type of a gcc2

    builtin and then its argument prototype would still apply.  */

char mysql_error();



int main() {

mysql_error()

; return 0; }



Expected result:
----------------
 

Actual result:
--------------
 


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


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

Reply via email to