the reason behind this question.
dear Unix experts & gurus,
Actually, I asked this because I compiled the cacti spine from source but encountered this error :
checking for mysql_init in -lmysqlclient_r... no
configure: error: MySQL libraries not found
This is what I got when I compiled cacti-spine with parameter "--with-mysql". I compiled the mysql from source with --prefix=/opt/mysql. the library is somehow stored on /opt/mysql/lib/mysql.
I tried to :
1. change the /etc/ld.conf.so.d/mysql.conf to refer into /opt/mysql/lib/mysql
2. replace the /usr/lib/mysql with the contents of /opt/mysql/lib/mysql
but both did not work at all.
My point is not about how to configure the cacti-spine. It is about this 'misterious' -l<something> .
Thank you.
Last edited by Zepiroth; 12-13-2007 at 05:56 AM.
|