From: Le R. B. <le...@en...> - 2001-01-04 13:55:28
|
Hi I compiled MySQLcppapi and when it reached the examples, I got these errors: /usr/local/lib/libmysqlcppapi.so: undefined reference to 'uncompress' /usr/local/lib/libmysqlcppapi.so: undefined reference to 'compress' Someone suggested that I link with libz. I manually added that to the Makefile found in the examples directory and ran make again. This time everything compiled, but I get the following error when I try and to run the examples: Error: mysql_real_connect() failed I also compiled the example found in the second archive. When I run it, it complains that it cannot find libmysqlcppapi-1.7.so.2. Trust me - this file exists. I have checked. It is in /usr/local/lib Any help will be appreciated. Thanx Le Roux Bodenstein |