Solved

OpenSSL_add_all_algorithms

Posted on 2004-04-12
3
856 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Download a website to hdd 2 52
Amazon Redshift 2 28
PHP preg_replace code convert to Delphi 14 37
Website Interactive tool that will do calculations 3 32
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now