Date: Thu, 26 Feb 2004 23:07:42 -0700 From: Joe Lewis <joe@joe-lewis.com> To: freebsd-questions@freebsd.org Subject: MySQL Port... [not]missing functions? Message-ID: <403EDEAE.5020807@joe-lewis.com>
next in thread | raw e-mail | index | archive | help
Hey, all. I have written an apache module, and it worked fine with MySQL 3.23 compiled from source but not in the 4.x ports (tried 4.1 and 4.0). I have found the problem when I shifted it to a new box. The old one ran 5.1, and this new one runs 5.2. I doubt the OS is the concern, but one can't be too careful. The installed packages are : mysql-client-4.0.16 Multithreaded SQL database (client) mysql-server-4.0.16 Multithreaded SQL database (server) apache-2.0.48_1 Version 2 of the extremely popular Apache http server mod_php4-4.3.4_2,1 PHP Apache Module Now, since I've used the port, all I get when trying to start apache with the recompiled module is : Cannot load /usr/local/libexec/apache2/mod_vmysql.so into server: /usr/local/libexec/apache2/mod_vmysql.so: Undefined symbol "mysql_real_escape_string" Can someone tell me what I am doing wrong? I KNOW that function is supposed to be in the MySQL library, but it just isn't being found. Is there some trick that was used in the port that is not part of the standard install for MySQL? Joe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?403EDEAE.5020807>