Loading...
 

Help


libpp_storage_*.so

I am getting a warning during ./configure that I do not know how to fix.
Here is my ./configure string.
./configure prefix=/usr/local/nagios with-imagedir=/usr/local/nagios/share/images/ with-cgidir=/usr/local/nagios/sbin with-http_image_path=/nagios/images with-db=mysql with-mysql_config_dir=/usr/local/mysql/bin --disable-shared

Here is the warning:
WARNING WARNING WARNING WARNING WARNING WARNING WARNING
Be sure to install libpp_storage_*.so files in a directory
that ld.so knows (/etc/ld.so.conf, run ldconfig if needed,
or $LD_LIBRARY_PATH)

Any ideas what I am missing?
> I am getting a warning during ./configure that I do not know how to fix.
> Here is my ./configure string.
> ./configure prefix=/usr/local/nagios with-imagedir=/usr/local/nagios/share/images/ with-cgidir=/usr/local/nagios/sbin with-http_image_path=/nagios/images with-db=mysql with-mysql_config_dir=/usr/local/mysql/bin --disable-shared
>
> Here is the warning:
> WARNING WARNING WARNING WARNING WARNING WARNING WARNING
> Be sure to install libpp_storage_*.so files in a directory
> that ld.so knows (/etc/ld.so.conf, run ldconfig if needed,
> or $LD_LIBRARY_PATH)
>
> Any ideas what I am missing?

I switched to perfparse-0.105.6 and it is working.
I am seeing this in my perfparse log now:
storage_mysql module failed to load (msg='/usr/local/nagios/lib/libpp_storage_mysql.so: cannot open shared object file: No such file or directory')

I can not find ibpp_storage_mysql.so anywhere on my system. Should it have been installed during "make install"?
Germany
The --disable-shared switch cannot work since perfparse dynamically
loads the storage module(s) using dlopen().
Anyway, the warning is printed on every configure run. Usually you can
ignore the warning. But if you encounter a error message that perfparse
could not find a library, then you have to research where "make install"
put these files and either you move them to a folder known by the
dynamic linker (e.g. /usr/lib) or you tell your linker where the libs
are via /etc/ld.so.conf - don't forget to run ldconfig.

Flo

 

Shoutbox

redflo, 14:25 UTC, Sun 10 of Apr, 2005: No, lneuxyuhje, this shall write to a pipe not to a file and so ">" is o.k.
lneuxyuhje, 15:14 UTC, Thu 07 of Apr, 2005: is ">" meant to be ">>" in /usr/local/perfparse/bin/perfparse_nagios_pipe_command.pl ?
redflo, 08:35 UTC, Tue 05 of Apr, 2005: fhdplbvjipsld, it works now. Permissions were wrong.
fhdplbvjipsld, 14:42 UTC, Wed 30 of Mar, 2005: How to post to Forums->Help?
benclewett, 09:27 UTC, Thu 03 of Feb, 2005: Hi Jon! I hope you like our wiki site.