All pastes #947861 Raw Edit

darkutz

public text v1 · immutable
·published 2008-03-18 19:38 UTC
rendered paste body
i am installed a GTA San Andreas Multiplayer server and now i have a problem instaling a mysqlclient.

i have these 2 files

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

how do i install them ? ( i did it with rpm -ihv MySQL-devel-5.0.45-0.i386.rpm )

afther that it says in the tutorial to type these commands 

gcc -Wall -fPIC -c sampmysql.cpp -DLINUX -ISDK/amx (witch worked without any error)
gcc -shared -W1,-soname,sampmysql -o sampmysql.so *.o -lmysqlclient (witch gives me error)

the error message is this:

[root@acha(~/TEST/samp022)]>  gcc -shared -W1,-soname,sampmysql -o sampmysql.so *.o -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status