Fluffle Puff Posted November 18, 2014 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 375 Reputation: 88 Joined: 12/30/11 Last Seen: May 3, 2016 Share Posted November 18, 2014 (edited) Hello there, I am wondering why I am getting this error while I am compiling: cannot find -lmysqlclient I have installed: yum install gcc make mysql mysql-devel mysql-server pcre-devel git zlib-devel make[1]: Leaving directory `/home/emulator/RO/trunk/src/common'make[1]: Entering directory `/home/emulator/RO/trunk/src/login_sql'gcc -L/usr/lib -o ../../login-server_sql obj_sql/login.o ../common/obj_all/core .o ../common/obj_all/socket.o ../common/obj_all/timer.o ../common/obj_all/db.o . ./common/obj_all/plugins.o ../common/obj_all/lock.o ../common/obj_all/malloc.o . ./common/obj_all/showmsg.o ../common/obj_all/utils.o ../common/obj_all/strlib.o ../common/obj_all/grfio.o ../common/obj_all/mapindex.o ../common/obj_all/ers.o . ./common/obj_all/md5calc.o ../common/obj_sql/sql.o -lrt -lm -lz -ldl -L/usr/li b/mysql -lmysqlclient -lpthread -lz -lm -lrt -lssl -lcrypto -ldl/usr/bin/ld: cannot find -lmysqlclientcollect2: ld returned 1 exit statusmake[1]: *** [login-server_sql] Error 1make[1]: Leaving directory `/home/emulator/RO/trunk/src/login_sql'make: *** [login_sql] Error 2 Edited November 18, 2014 by Fluffle Puff Quote Link to comment Share on other sites More sharing options...
Question
Fluffle Puff
Hello there,
I am wondering why I am getting this error while I am compiling: cannot find -lmysqlclient
I have installed:
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.