[PHP-DEV] Bug #464: If both MySQL and Sybase are compiled into PHP3, Apache 1.3.0 build fails From: bginter <email protected>
Date: 06/15/98

From: bginter <email protected>
Operating system: Linux 2.0.33
PHP version: 3.0 Final Release
PHP Bug Type: MySQL related
Bug description:
I've been trying to make a php/httpd binary that can connect
to either MySQL or Sybase or both at the same time. I can
compile the php3 module with no problems but when I try to
link that object into Apache 1.3.0, it fails. The errors follow:

/usr/local/sybase/lib/libsybtcl.a(net_inet.o)(.text+0x70): multiple definition of 'net_init'
/usr/local/mysql/lib/libmysqlclient(net.o)(.text+0x70): first defined here
/usr/local/sybase/lib/libsybtcl.a(net_read.o)(.text+0x0): multiple definition of 'net_read'
/usr/local/mysql/lib/libmysqlclient(net.o)(.text+0x390): first defined here
/usr/local/sybase/lib/libsybtcl.a(net_writ.o)(.text+0x0): multiple definition of 'net_write'
/usr/local/mysql/lib/libmysqlclient(net.o)(.text+0x16c): first defined here
make: *** [target_static] Error 1

I guess it's not really a bug in php since the php module compiles
ok. But if you can only select one at a time, then the setup options for php databases should be mutually exclusive.