• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 927
  • Last Modified:

OpenSSL_add_all_algorithms

I am not sure how to get my MySQL 5 installed.  I get the following error(s) in my config.log:
-------------------------------------------------------------------
configure:53951: gcc -o conftest -g -O2   -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient  -lz -lmcrypt -lltdl -lldap -llber -lgmp -lfreetype -lpng -lz -ljpeg -lndbm -lgdbm -lcurl -lbz2 -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lcurl -lz -lssl -lcrypto -ldl -lz -lxml2 -lz -lm 1>&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: warning: libssl.so.0.9.6, needed by /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../libmysqlclient.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: warning: libcrypto.so.0.9.6, needed by /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../libmysqlclient.so, not found (try using -rpath or -rpath-link)
/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 53940 "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; }
-------------------------------------------------------------------
Soon as i remove the --with-mysql, my installation of PHP5 on Linux works fine.  I have installed openssl-7b-133.rpm(and devel) for SuSE 9.0.

Ben
0
bptacek
Asked:
bptacek
1 Solution
 
bptacekAuthor Commented:
I was using MySQL 5 RPMs before.... I used the tar.gz binaries instead and now my PHP5 compiled fine with MySQL5.

I am going to count this question closed.
0
 
NetminderCommented:
User resolved; closed, 250 points refunded.

Netminder
Site Admin
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now