Re: PHP 5.2.9 + Apache 1.3 Darwin 6.8 MAC OS X 10.2.8 + MYSQL

From: Date: Mon, 31 Aug 2009 13:15:47 +0000
Subject: Re: PHP 5.2.9 + Apache 1.3 Darwin 6.8 MAC OS X 10.2.8 + MYSQL
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-19737@lists.php.net to get a copy of this message
On Mon, 31 Aug 2009, ruben wrote:
To: php-install@lists.php.net From: ruben <rbngrafico@gmail.com> Subject: [PHP-INSTALL] PHP 5.2.9 + Apache 1.3 Darwin 6.8 MAC OS X 10.2.8 +
    MYSQL
Hello everybody After been using PHP 5.2.9 on a MAC OS 10.2.8 with Apache 1.3 without problems, I decided to add support for MYSQL so I tried to re-compile the php module for apache with this configuration: ../configure --prefix=/user --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --with-apxs --without-sqlite --without-pdo-sqlite --with-zlib --without-iconv --enable-sockets --with-openssl --with-kerberos --with-mysql=/usr --with-mysql-sock The configure script runs with no problems, but then 'make' fails with this message: ld: Undefined symbols: _mysql_create_db _mysql_drop_db make: *** [libs/libphp5.bundle] Error 1 I'm really stuck with this... Please help and thank u in advance!!
Hi Ruben. It looks as though the mysql development header files might not be detected correctly. Have you installed the mysql client development package? See if you can find out where the header files for the mysql library are. Then point configure to them with a command-line option. I'm on Fedora 10, so I can't tell you where they are. Maybe in /usr/include, or /usr/lib/include. You could also try searching through the config.log file. That may give you more details of why make failed. Try looking for any of the strings that appeared in the make error message, or whatever you might think is causing make to fail. Kind Regards, Keith Roberts ----------------------------------------------------------------- Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] -----------------------------------------------------------------

« previous php.install (#19737) next »