All pastes #946886 Raw Edit

darkutz

public text v1 · immutable
·published 2008-03-18 00:55 UTC
rendered paste body
4. Linux Compilation:
---------------------

o First, install the libmysqlclient package included in the package (.deb and .rpm provided).
o Open a console (command-line).
o Type this command: %gcc -Wall -fPIC -c sampmysql.cpp -DLINUX -ISDK/amx
o Type this second command: %gcc -shared -W1,-soname,sampmysql -o sampmysql.so *.o -lmysqlclient

the 2 file .deb and .rpm are:

MySQL-devel-5.0.45-0.i386.rpm
libmysqlclient15-dev_5.0.21-3ubuntu1_i386.deb