Re: perl errors in taper debug files
2008-12-19 13:59:34
* John Hein <jhein AT timing DOT com> [20081219 13:46]:
> Jean-Francois Malouin wrote at 13:28 -0500 on Dec 19, 2008:
> > I get this in taper debug files on a server running 2.6.0p2:
> >
> > Can't load '/usr/local/share/perl/5.8.8/auto/Amanda/Types/libTypes.so'
> > for module Amanda::Types:
> /usr/local/share/perl/5.8.8/auto/Amanda/Types/libTypes.so: cannot open shared
> object file: No such file or
> > directory at /usr/lib/perl/5.8/DynaLoader.pm line 225.
> > at /usr/local/share/perl/5.8.8/Amanda/Types.pm line 11
> > Compilation failed in require at
> > /usr/local/share/perl/5.8.8/Amanda/Device.pm line 10.
> > Compilation failed in require at /opt/amanda-2.6.0p2/sbin/amdevcheck
> > line 4.
> > BEGIN failed--compilation aborted at /opt/amanda-2.6.0p2/sbin/amdevcheck
> line 4.
> > 1229661188.511546: taper: device_read_label; mode = 0
> > ...
> >
> > Should I be worried? I guess this is part of the new API
> > and all the swig stuff which I'm totally clueless about.
> > Is something not quite kosher in my local perl setup?
>
> What's the output of ldd?
> ldd /usr/local/share/perl/5.8.8/auto/Amanda/Types/libTypes.so
Here it goes:
ldd /usr/local/share/perl/5.8.8/auto/Amanda/Types/libTypes.so
libamglue.so => /opt/amanda-2.6.0p2/lib/amanda/libamglue.so (0x00007f2504693000)
libamanda-2.6.0p2.so => /opt/amanda-2.6.0p2/lib/amanda/libamanda-2.6.0p2.so
(0x00007f2504521000)
libm.so.6 => /lib64/libm.so.6 (0x00007f2504391000)
libgmodule-2.0.so.0 => /opt/lib64/libgmodule-2.0.so.0 (0x00007f250428d000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f250418a000)
libgobject-2.0.so.0 => /opt/lib64/libgobject-2.0.so.0 (0x00007f2504042000)
libgthread-2.0.so.0 => /opt/lib64/libgthread-2.0.so.0 (0x00007f2503f3c000)
librt.so.1 => /lib64/librt.so.1 (0x00007f2503e33000)
libglib-2.0.so.0 => /opt/lib64/libglib-2.0.so.0 (0x00007f2503c45000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f2503b2d000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f2503a18000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2503903000)
libc.so.6 => /lib64/libc.so.6 (0x00007f25036c5000)
/lib64/ld-linux-x86-64.so.2 (0x00007f25048b0000)
thanks,
jf
>
> And if it doesn't exist in that location, then that's your problem.
> If so, you can try to convince amanda/perl to look for it
> elsewhere or install it to the expected location.
--
<° >< Jean-François Malouin McConnell Brain Imaging Centre
Systems/Network Administrator Montréal Neurological Institute
3801 Rue University, Suite WB219, Montréal, Québec, H3A 2B4, Canada
|
|
|