note 49610 added to ref.mysqli

From: Date: Wed, 02 Feb 2005 23:32:45 +0000
Subject: note 49610 added to ref.mysqli
Groups: php.notes 
Request: Send a blank email to php-notes+get-84399@lists.php.net to get a copy of this message
For those having trouble compiling with both --with-mysql AND --with-mysqli, I found a solution at this URL: http://bugs.php.net/bug.php?id=29860&edit=1 rjanson at msn dot com writes: OK, finally an answer! I checked Makefile and found the following line: EXTRA_LIBS = -lcrypt -lcrypt -lmysqlclient -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 - lz -lm -lxml2 -lz -lm -lmysqlclient -lcrypt -lnsl -lm -lz -lnss_files -lnss_dns -lresolv -lnss_files -lnss_dns -lresolv -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lcrypt By removing one of the -lmysqlclient entries on this line I was able to successfully make and make install with both mysql and mysqli. As confirmed by phpInfo(). I'm not sure why the other libs have multiple entries and don't cause make to crash. ---- Manual Page -- http://www.php.net/manual/en/ref.mysqli.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49610 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49610&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49610&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49610&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49610&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49610&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49610&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#84399) next »