Loading...
 

Help


undefined symbol: iSQLCount'

Hi,

I'm trying to compile perfparse 106.1 with postgres as a backend. While the compile/build seems to be fine, I receive the following error, if I try to start perfparsed:

2007/08/14 18:25:53 storage.c:61 19688 storage_postgresql module failed to load (msg='/usr/local/nagios/lib/libpp_storage_postgresql.so: undefined symbol: iSQLCount')

Indeed:

nm /usr/local/nagios/lib/libpp_storage_postgresql.so | grep iSQL
U iSQLCount

BUT (in the build directory):

nm libpp_postgresql/.libs/libpp_postgresql.so | grep iSQL
0000000000106578 B iSQLCount


Any ideas (besides using mysql) ?

Cheers,

Thomas
Germany

Check, that your Linker can find the library. For Linux add the line
/usr/local/nagios/lib
in your /etc/ld.so.conf and run ldconfig. Or copy the libs somewhere where the linker can find them (/usr/lib).

Flo

> Hi,
>
> I'm trying to compile perfparse 106.1 with postgres as a backend. While the compile/build seems to be fine, I receive the following error, if I try to start perfparsed:
>
> 2007/08/14 18:25:53 storage.c:61 19688 storage_postgresql module failed to load (msg='/usr/local/nagios/lib/libpp_storage_postgresql.so: undefined symbol: iSQLCount')
>
> Indeed:
>
> nm /usr/local/nagios/lib/libpp_storage_postgresql.so | grep iSQL
> U iSQLCount
>
> BUT (in the build directory):
>
> nm libpp_postgresql/.libs/libpp_postgresql.so | grep iSQL
> 0000000000106578 B iSQLCount
>
>
> Any ideas (besides using mysql) ?
>
> Cheers,
>
> Thomas
 

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.