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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 31 Aug 2009, ruben wrote:

To: php-install@xxxxxxxxxxxxx
From: ruben <rbngrafico@xxxxxxxxx>
Subject:  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]
-----------------------------------------------------------------



[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux