RexT 0 Posted January 18 Share Posted January 18 Hey, I managed to fix everything, but i can't find the right MySQL lib to compile on x64 Thats the mysql part of my makefile atm: # MySQL INCDIR += -I/usr/local/include/mysql ifeq ($(PLATFORM), 64) LIBS = -lmysqlclient -lz -lzstd else LIBS += /usr/local/lib/mysql/libmysqlclient.a /usr/lib/libz.a /usr/local/lib/libzstd.a endif Getting this error (of course because the 64-bit path goes nowhere) ld: error: unable to find library -lmysqlclient When i link to the standard mysql lib (/usr/local/lib/mysql/libmysqlclient.a), i get the i386 incompatible error. ld: error: /usr/local/lib/mysql/libmysqlclient.a(libmysql.cc.o) is incompatible with elf_i386_fbsd ld: error: /usr/local/lib/mysql/libmysqlclient.a(client.cc.o) is incompatible with elf_i386_fbsd Am I just stupid, that I can't figure it out? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now