note 46091 deleted from ref.mysqli by sp
| From: | sp@php.net | Date: | Tue, 07 Feb 2006 18:52:48 +0000 |
| Subject: | note 46091 deleted from ref.mysqli by sp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-103216@lists.php.net to get a copy of this message | ||
Note Submitter: David Woakes
----
I installed MySQL 4.1.4 in Fedora Core 2 using rpms from MySQL:
MySQL-client-4.1.4-0
MySQL-server-4.1.4-0
MySQL-devel-4.1.4-0
MySQL-shared-4.1.4-0
I configured with --with-mysqli=/usr/bin/mysql_config and --with-mysql=/usr and was getting
duplicate symbol definitions at the end of make.
I worked out that the linking stage was including the shared libs (from MySQL-shared) and the static
libs (from MySQL-devel). Uninstalling the devel package doesn't help because you need the
include files. The solution I came up with was to delete the static lib files. Not perfect, but it
got there.