Anope IRC Services
Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: lonewolf on March 05, 2006, 07:18:10 PM
-
Hi,
Excuse my bad english, i'm a dutch speaking guy!
I want to install anope 1.7.* with mysql support on a redhat interprise 4.0 server.
Installed are:
MySQL-devel-4.1.11-0
MySQL-client-4.1.11-0
MySQL-server-4.1.11-0
mysql-shared-4.1.10a-3
The libs:
/usr/bin/libmysqlclient.so
/usr/lib/libmysqlclient.so.14.0.0
/usr/lib/mysql/libmysqlclient.so.14.0.0
/usr/lib/mysql/libmysqlclient.so.14
/usr/lib/libmysqlclient.so.14
The error when i do make:
(i did with mysql support an the ./Config found the mysql)
gcc -pipe -g -O2 -I/usr/include/mysql -pthread -export-dynamic actions.o base64.o botserv.o channels.o chanserv.o commands.o compat.o config.o datafiles.o encrypt.o events.o helpserv.o hostserv.o init.o ircd.o language.o list.o log.o mail.o main.o memory.o memoserv.o messages.o misc.o modules.o news.o nickserv.o operserv.o process.o send.o servers.o sessions.o slist.o sockutil.o timeout.o users.o rdb.o mysql.o -lnsl -lresolv -lbsd -lmysqlclient -ldl -o services
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld gaf exit-status 1 terug
make[1]: *** [services] Fout 1
My question:
How can i fix this so the makefile (i think) looks in the good place for the lmysqlclient.
And how does a linux newbie like myself fix that ;)
Thank you
-
It's unable to link to the mysql client library. I have no experience with RedHat in it's current form so i have no clue in what package that library is hiding. You could locate libmysqlclient.so on your system and if that is found make sure it is in your LD_PATH.
-
And where do i find the LD_PATH?
In the makefile or...?
thank you
-
LD_PATH is a system environment veriable, it isnt anything to do with anope per-say.
-
And how does a linux newbie like myself fix that ;)
Your probably right, only... i dont have a clue how to find the LD_PATH and if i find it i still wont know what to do with it...
I better keep my services running without mysql support i guess :D
Thank you
-
Got it working!
I removed the mysql-shared.x from my server and installed mysql-shared-compat.x
Did make clean an restarted ./Config
Anope installed without a problem with mysql and everything works.
Maybe this helps others with similar problems.