473,390 Members | 1,600 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,390 software developers and data experts.

PHP 5.1.3 vs. MySQL 5.0.21 compile failure

I'm trying to set up PHP 5.1.3 to run under Apache2, and talk to a
MySQL 5.0.21 database, and have been banging my head against a tough
install for days. I'm getting a slough of errors like this:

/usr/local/ssl/lib/libssl.a(ssl_sess.o)(.text+0xe60): In function
`SSL_SESSION_set_timeout':
: multiple definition of `SSL_SESSION_set_timeout'
/home/software/mysql-standard-5.0.21-linux-i686/lib/libmysqlclient.a(ssl.o)(.text+0x6d8):
first defined here
/usr/bin/ld: Warning: size of symbol `SSL_SESSION_set_timeout' changed
from 46 in
/home/software/mysql-standard-5.0.21-linux-i686/lib/libmysqlclient.a(ssl.o)
to 26 in /usr/local/ssl/lib/libssl.a(ssl_sess.o)

I get maybe 30 of these "multiple definition" errors, all of which seem
to be conflicts between libmysqlclient.a, and some library in my
OpenSSL install. (I'm using OpenSSL 0.9.6m) This doesn't look like a
conflict between mysql and mysqli, as a lot of other people appear to
be having.
For PHP, I'm configuring as:
../configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--prefix=/usr \
--with-config-file-path=/etc \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-mysql=/home/software/mysql-standard-5.0.21-linux-i686 \
--with-mysqli=/home/software/mysql-standard-5.0.21-linux-i686/bin/mysql_config
\
--with-exec-dir=/usr/bin \
--with-openssl \
--with-ttf \
--with-gettext \
--with-ncurses \
--with-iconv \
--with-regex=system \
--with-xml \
--with-expat-dir=/usr \
--enable-shared \
--enable-bcmath \
--enable-debugger \
--enable-exif \
--enable-ftp \
--with-pear=/usr/share/pear \
--enable-magic-quotes \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-wddx \
--without-oci8 \
--enable-memory-limit \
--enable-shmop \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mbstring \
--enable-mbstr-enc-trans \
--with-apxs2=/usr/sbin/apache2/bin/apxs \
--with-curl \
--with-imap=/home/software/imap-2004g \
--with-imap-ssl=/usr/local/ssl

My configure works out fine. I edit my Makefile to remove duplicates
from EXTRA_LIBS, and run make, eventually getting errors like the
above.

Any thoughts?
PHP 5.1.3, MySQL 5.0.21 (from a tarred binary off of the MySQL site),
Apache 2.2.2, OpenSSL 0.9.6m, all on RedHat Enterprise 3.

May 4 '06 #1
0 1432

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Lenz Grimmer | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, MySQL 4.0.14, a new version of the popular Open Source/Free Software Database, has been released. It is now available in source and binary...
0
by: muergano terrible | last post by:
Hello, I have been trying to compile MySQL 4.0.15a on a Sparc Solaris 9 machine without any success. I do not know if the reason of my failure is the fact that I want to include SSL support on...
0
by: jwl | last post by:
I'm having a problem with a bit of code that I have "adopted". It was partially complete when I took it over. The function of the code is to read a log file, locate files described in that log...
67
by: Bob Powell | last post by:
To whom it may concern: I find the recent articles in various trade publications a little disturbing due to the lack of PostgrSQL mention. I continue to see articles about how IBM may be...
0
by: George R. Kasica | last post by:
Hello: Trying to upgrade from MySQL 3.23.40 to 4.1.16 and am having no luck getting the sources compiled. If you need further information or output please ask, I would be happy to provide it,...
5
by: Ike | last post by:
Through Java, I am attempting to connect to a MySQL 4.12 server on a remote computer. I can connect fine via php. I cann connect fine via Java, through a servlet, when the servlet is on the same...
110
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst...
18
by: Bruce A. Julseth | last post by:
I have the following code $Host = "localhost"; $User = "Fred"; $Database = "house"; $Password = "mypw" echo "before mysqli<br />Host: " . $Host . "<br />" . $User . "<br />" . $Database;
3
by: tulika dutta | last post by:
after 8 hrs my MySQL connection with JDBC gets time out. It gives the error java.sql.SQLException: No operations allowed after connection closed.Connection was implicitly closed due to underlying...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.