I also modified my zone makefile:
Code:
diff -up EQEmuServer/zone/makefile.dan EQEmuServer/zone/makefile
--- EQEmuServer/zone/makefile.dan 2009-04-30 21:10:03.000000000 -0700
+++ EQEmuServer/zone/makefile 2009-04-30 21:14:18.000000000 -0700
@@ -10,8 +10,8 @@ OUT=-o
LINKOUT=-o
NOLINK=-c
LINKER=gcc
-MYSQL_FLAGS=-I/usr/include/mysql
-MYSQL_LIB=-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
+MYSQL_FLAGS=$(shell mysql_config --cflags)
+MYSQL_LIB=$(shell mysql_config --libs)
DFLAGS=-DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386
#try commenting out the following three lines to disable embedded perl
PERL_FLAGS=perl -MExtUtils::Embed -e ccopts
Since under Fedora, the 64 bit libs are in within different paths (lib64 rather than lib), I had to make that change. I can't remember if Debian does this or not. In any case, the above should give the proper compile and linking flags for mysql.