ERROR: "undefined symbol: art_alloc"

Having a problem getting graphs to generate? I found the following error in my /var/log/httpd/error_log:
[Mon Oct 06 16:54:56 2008] [error] [client 204.9.220.36] /usr/bin/perl: symbol lookup error: /usr/local/rrdtool/lib/librrd.so.2: undefined symbol: art_alloc, referer: http://monitor1.server.com/nagiosgraph/show.cgi?host=pg1&service=WebInject&geom=700x200

I had previously installed several versions libart_lgpl in my intial attempts to get NagiosGraph and RRDTool working. Turns out "art_alloc" is indeed undefined in libart_lgpl 2.3.17, but it is defined in 2.3.19. It may have been the default 2.3.17 rpm that I installed. However downloading and installing 2.3.19 fixed the issue after I sorted out the path issues.  Also you could shortcut and symlink any old files to the new install vs. configuring PATHs which always seem to get messy for me.

Here's how I checked the art_alloc symbol:


[root@monitor1 lib]# nm -D /usr/local/lib/libart_lgpl_2.so.2.3.19 |grep art_alloc
000033d0 T art_alloc
[root@monitor1 lib]# nm -D /usr/lib/libart_lgpl_2.so.2.3.17 |grep art_alloc
[root@monitor1 lib]#