Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-21-2003, 02:49 PM   #1
LQ Newbie
Registered: Oct 2003
Distribution: Debian
Posts: 9

Rep: Reputation: 0
Thumbs down Error when compiling PHP 4.3.3 w/ MySQL on RH9

Hey everyone,

I'm having a problem when trying to make PHP 4.3.3 with mySQL support.

With the config string:
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars --with-pdflib=no --with-zlib
I get this when trying to make it..

ext/mysql/php_mysql.lo(.text+0x22dc): In function `zif_mysql_create_db':
/usr/src/php/php-4.3.3/ext/mysql/php_mysql.c:1160: undefined reference to `mysql
ext/mysql/php_mysql.lo(.text+0x2513): In function `zif_mysql_drop_db':
/usr/src/php/php-4.3.3/ext/mysql/php_mysql.c:1202: undefined reference to `mysql
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Does anyone know what's wrong here?

EDIT: I ended up installing MySQL 3.23.58, it solved the problem. But if anyone can find a the cause of this problem, I'd be interested to find out.

Last edited by Shaolyen; 10-21-2003 at 05:13 PM.
Old 10-21-2003, 04:26 PM   #2
LQ Newbie
Registered: Oct 2003
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Looks like I'm not the only one to have this problem. Haven't found anyone who's solved it though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling perl-DBD-MySQL after upgrading to MySQL 4.1 pitaro920 Linux - Software 1 01-16-2006 05:28 PM
Installing php-mysql RPM on RH9 stephen_e Red Hat 7 09-26-2004 10:10 AM
Upgrading Apache MySQL PHP on RH9 TheLimey Linux - Newbie 0 05-22-2004 04:51 PM
RH9 / PHP / MySQL DevlshOne Linux - Newbie 1 01-08-2004 03:47 PM
Slow PHP+MySQL on RH9 tomazu Red Hat 0 01-01-2004 10:29 AM

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration