The graphs in Munin weren’t appearing after I preformed a ports update yesterday. When viewing the graphs in a separate tab I received the following error message.
Can’t load ‘/usr/local/lib/perl5/site_perl/5.14/mach/auto/RRDs/RRDs.so’ for module RRDs: Shared object “libpixman-1.so.9” not found, required by “librrd.so.6” at /usr/local/lib/perl5/5.14/mach/DynaLoader.pm line 190.
at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/GraphOld.pm line 46
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/GraphOld.pm line 46.
BEGIN failed–compilation aborted at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/GraphOld.pm line 46.
Compilation failed in require at /usr/local/www/cgi-bin/munin-cgi-graph line 40.
BEGIN failed–compilation aborted at /usr/local/www/cgi-bin/munin-cgi-graph line 40.
# locate libpixman-1.so.9
-rw-r–r– 1 root wheel 1.2M Oct 9 20:24 /usr/local/lib/libpixman-1.a
-rwxr-xr-x 1 root wheel 947B Oct 9 20:24 /usr/local/lib/libpixman-1.la
lrwxr-xr-x 1 root wheel 17B Oct 9 20:24 /usr/local/lib/libpixman-1.so -> libpixman-1.so.30
-rwxr-xr-x 1 root wheel 1.0M Oct 9 20:24 /usr/local/lib/libpixman-1.so.30
Here lies the problem…. so.9 has been removed and so.30 now exists.
# pkg_info -W /usr/local/lib/libpixman-1.so.30
/usr/local/lib/libpixman-1.so.30 was installed by package pixman-0.30.2
This indicates that the port pixman is responsible for library. Lets rebuild pixman and all its dependencies
# portmaster -r pixman
This fixed the problem