Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22144

How can I solve this ? error: unable to find library -lmysqlclient

$
0
0

I want to compile for my program and I am stuck here , I am usig freebsd 12.1 and gcc++6.4 + gnu gmake -j20 comand

Curent path

# mysqlINCDIR += -I../../../extern/mysqlLIBDIR += -L/usr/local/lib/mysqLIBS   += -lmysqlclient -lz -pthread -lm -lssl -lcrypto### END

Error in putty

root@vps:/usr/src/Sursa/Server/source/game/src # gmake -j20linking ../gameld: error: unable to find library -lmysqlclientc++: error: linker command failed with exit code 1 (use -v to see invocation)gmake: *** [Makefile:228: ../game] Error 1root@vps:/usr/src/Sursa/Server/source/game/src #root@vps:/usr/src/Sursa/Server/source/game/src #

Viewing all articles
Browse latest Browse all 22144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>