Hello, all ...
I'm still trying to get libwww to build on Panther with MySQL support. MySQL has been installed via fink and is working well, as is libwww (but without MySQL support as yet). I've tried the following in fink's .info file for MySQL, to no avail:
--with-mysql=/sw/include/mysql ... compiler is happy, but ld complains about not being able to find -lmysql
--with-mysql=/sw ... compiler is happy, but ld complains about not being able to find -lsw
I could not help but notice that in each of the above instances, gcc finds all of the MySQL headers (I don't get errors for undefined things like MYSQL_RES_SET and stuff), but ld doesn't have the same fortune with respect to finding the libraries. When I build my own C++ code that uses MySQL, I link with libmysqlclient.a, via -lmysqlclient. This is why I tried a third option, but it didn't work, either:
--with-mysql=mysqlclient ... compiler is happy, but ld complains about unresolved symbols "mysql_connect" and "mysql_create_db" ... strangely, nm reports that /sw/lib/libmysqlclient.a has no "mysql_connect", and i've always used "mysql_real_connect" in my code. This seems to be the closest i've gotten, which implies to me that fink's libwww is not really in sync with fink's MySQL.
So, can someone who has actually installed libwww with MySQL support via fink tell me what they pointed libwww's ConfigureParams to?
Regards,
John
Falling You - exploring the beauty of voice and sound
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users