我用这个静态编译不行:
gcc -Wall -static *.c -o logsvr -lmysqlclient -lpthread报错说 /bin/ld: cannot find -lmysqlclient希望高手指点。谢谢。