Solved

OpenSSL_add_all_algorithms

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

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

Suggested Solutions

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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 …

789 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