mysql and mysqli

From: Date: Tue, 27 Jul 2004 15:26:30 +0000
Subject: mysql and mysqli
Groups: php.general 
Request: Send a blank email to php-general+get-191976@lists.php.net to get a copy of this message
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 marcus@synchromedia.co.uk | http://www.synchromedia.co.uk

« previous php.general (#191976) next »