c++ - Build error: cannot find libxml2 -
i trying build 32bit application on 64bit debian 7 , goes wrong:
/usr/bin/ld: cannot find -lxml2
locate~ /usr/lib/x86_64-linux-gnu/libxml2.a /usr/lib/x86_64-linux-gnu/libxml2.so /usr/lib/x86_64-linux-gnu/libxml2.so.2 /usr/lib/x86_64-linux-gnu/libxml2.so.2.8.0 makefile:
cflags=-i. -i/usr/include/libxml2 -i/usr/include/lua50 -i/usr/local/include liblink=-l/usr/lib64 -lxml2 -lz -lpthread -lm -llualib50 -llua50 -ldl -lboost_thread -lmysqlclient -wl,-map=otserv.map endflags=-m32 -winvalid-pch -o2 -include "preheaders.h"
Comments
Post a Comment