check_mysql plugin will not compile
Arno Lehmann
al at its-lehmann.de
Mon Mar 20 20:21:06 CET 2006
Hello,
On 3/20/2006 7:28 PM, Lundgren, Scott wrote:
> I'm getting the following error messages in config.log as I try to
> compile check_mysql. Can someone tell me why configure is not finding
> the file?
>
> I'm using: nagios-plugins-1.4.2, MySQL 4.1.15
>
> I set: LD_OPTIONS=-R/opt/csw/lib -R/opt/csw/mysql4/lib/mysql
> -L/opt/csw/lib
>
> Errors I have in config.log:
>
> configure:9365: checking for mysql_init in -lmysqlclient
> configure:9395: cc -o conftest -g -I/opt/csw/include -L. conftest.c
> -lmysqlclient -L/opt/csw/lib/mysql -lz >&5
> ld: fatal: library -lmysqlclient: not found
> ld: fatal: File processing errors. No output written to conftest
This looks like thy mysqlclient library is not found, so either it is
not installed, it is installed in a non-standard location, or your LD
path isn't complete.
In other words, make sure that ld searches for the library in the
correct locations, i.e. the directories in the LD_OPTIONS or the
standard system library paths.
Might also be that you don't have the necssary include files, in that
case make sure you have installed the mysql _development_ files, but the
message seems to indicate that the includes were found.
Arno
> Thanks in Advance,
> Scott Lundgren
> ITS - Web Services
> UNC at Charlotte
> http://www.uncc.edu <http://www.uncc.edu/>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
IT-Service Lehmann al at its-lehmann.de
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list