Solved

OpenSSL_add_all_algorithms

Posted on 2004-04-12
3
858 Views
Last Modified: 2013-12-13
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
Comment
Question by:bptacek
3 Comments
 

Author Comment

by:bptacek
ID: 10829418
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
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 10830453
User resolved; closed, 250 points refunded.

Netminder
Site Admin
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question