note 46091 added to ref.mysqli
| From: | DavidWoakes at osu1 dot php dot net | Date: | Wed, 29 Sep 2004 05:41:44 +0000 |
| Subject: | note 46091 added to ref.mysqli | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77551@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/ref.mysqli.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46091
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46091&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46091&report=yes
Search -- http://master.php.net/manage/user-notes.php