I've got mysql 4.1.13 installed on RH EL 3 and I'm trying to build PHP5
against it with both mysql and mysqli extensions. It's quite happy to config
and make with --with-mysql=/usr/local or --with-mysqli, but if I specify
them both together (in either order), I get thousands of errors like this:

/usr/lib/mysql/libmysqlclient.a(my_static.o)(.data+0x6b4): multiple
definition of `my_default_record_cache_size'
/usr/lib/mysql/libmysqlclient.a(my_static.o)(.data+0x6b4): first defined
here

Finally ending with:

collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

I installed all of mysql from official RPMs, except for devel and shared
modules which I compiled from the source RPM (These 4.1.13 binary RPMs are
hard-wired to OpenSSL 0.9.6 so you can't use them on any recent OS).

Any ideas to fix this?

Marcus
-- 
Marcus Bointon
Synchromedia Limited: Putting you in the picture
[EMAIL PROTECTED] | http://www.synchromedia.co.uk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to