Cia prolog version: 1.7p162 OS: Debian GNU/Linux (not sure about the version since I didn't install it, /etc/debian_version reports 2.2)
What does 'locate libmysql' in a shell return? If it does return something like
/usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/mysql/libmysqlclient.so.10 /usr/lib/mysql/libmysqlclient.so.9.0.0 /usr/lib/mysql/libmysqlclient.a /usr/lib/mysql/libmysqlclient.so /usr/lib/mysql/libmysqlclient.so.9
(the critical part is that the libraries are under /usr/lib/mysql , and not directly under /usr/lib ), then go to the file mysql_client.pl and change the extra_linker_opts declaration to be
:- extra_linker_opts('LINUXi86', ['-L/usr/lib/mysql -lz']).
(note the '-L'). Recompile and try again, and please let us know how it went.
MCL
___________________________________________________________ Never hit a man with glasses. Hit him with a baseball bat.