From: Ben C. <Be...@cl...> - 2004-05-28 10:06:28
|
Swarup, I believe you do not have the library 'libmysqlclient', or this is in the wrong directory. Can you please try and locate this lib: # find / -name "libmysqlclient*" When you have the location, please edit the Makefile: LDFLAGS= -L/usr/local/lib/mysql -lmysqlclient -lm Adjust the '-L' Linkage path for that which is correct for your setup. Please let me know if this solves your problem. Regards, Ben. PS, I will would like to copy this email to the mailing list 'perfparse-users' so that other users can see these comments. Swarup Kumar wrote: > Sir, > I am trying to install perfparse on redhat enterprise. I have installed > nagios 1.2 in /usr/local/nms directory. Before compiling the perfparse, i > made the necessary PATH changes in config.h,Makefile and perfparse.cfg. > I am already using mysql and have created a database named nms with the > command supplied by u in README.txt. > I have installed Mysql 4.0.18 and running fine. > > Now when i run perfparse command to start it, gives me the following error: > > > [root@cruxonline bin]# ./perfparse > ./perfparse: error while loading shared libraries: libmysqlclient.so.10: > cannot open shared object file: No such file or directory > [root@cruxonline bin]# > > > Please help > > Thanks > > Swarup Kumar > INDIA > |