#15991 [Com]: Undefined symbol "mysql_drop_db"

From: Date: Sat, 23 Nov 2002 05:42:41 +0000
Subject: #15991 [Com]: Undefined symbol "mysql_drop_db"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25627@lists.php.net to get a copy of this message
ID: 15991 Comment by: bratwiz@yahoo.com Reported By: kv@gki.ru Status: No Feedback Bug Type: MySQL related Operating System: FreeBSD 4.5 PHP Version: 4.0CVS-2002-03-11 New Comment: I have the same/similar problem when I try to compile against mysql-4.0.5. Apparently according to the mysql website, the 'mysql_drop_db' call has been deprecated in favor of issuing a plain "DROP DATABASE <foobar>" query instead. So presumably, altering the library to issue a mysql_query() instead of a simple_command() should do the trick. I'm going to patch my copy and see if it works. Previous Comments: ------------------------------------------------------------------------ [2002-06-11 01:00:06] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-03-11 09:34:52] sniper@php.net Do you happen to have some old mysql version in your system? ie. you might have older libs somewhere in the libpath which are found before the new ones. --Jani ------------------------------------------------------------------------ [2002-03-11 06:04:13] kv@gki.ru mysql-4.0.1-alpha (libmysqlclient.so.11) ./configure --disable-cli --with-exec-dir=/usr/local/php/bin --with-mnogosearch=/usr/local/mnsh --enable-inline-optimization --with-freetype-dir=/usr/local --enable-trans-sid --enable-versioning --enable-ftp --with-xml --with-magic-quotes --enable-track-vars --enable-gd-native-ttf --with-png-dir=/usr/local --with-apxs=/usr/local/apache/bin/apxs --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-gettext=/usr/local --with-bz2=/usr/local --with-zlib=/usr/local --with-mysql=/usr/local/mysql --enable-calendar --enable-safe-mode --enable-sysvsem --enable-sysvshm --with-config-file-path=/usr/local/php/ --with-exec-dir=/usr/local/php/bin --with-mod_charset --enable-bcmath ------------------------------------------------------------------------ [2002-03-11 05:34:37] sander@php.net What is your configure line? What is your version of libmysqlclient (if you're using an other client than the built-in)? ------------------------------------------------------------------------ [2002-03-11 04:09:34] kv@gki.ru Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/ libexec/libphp4.so: Undefined symbol "mysql_drop_db" ./apachectl start: httpd could not be started ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15991&edit=1

« previous php.bugs (#25627) next »