Print

Print



Hello

I could fix the problem below by adding some libraries in the GNUmakefile
for the $(PERLMOD) target (XrdClientAdmin.so)

I just added $(LIBSDEP).
I am not quite sure why this is not needed for Linux but only Solaris.

Cheers,
    Wilko



On Sun, 27 May 2007, Wilko Kroeger wrote:

>
> Hello
>
> I am trying to use the perl client admin tools on Solaris 9, but loading
> the XrdClientAdmin fails always with:
>
>
> Can't load '/u/ec/wilko/xrd/build/v20070321-1251p1/xrootd/lib/sun4x_59_dbg//XrdClientAdmin.so'
> for module XrdClientAdmin: ld.so.1: perl: fatal: relocation error: file
> /u/ec/wilko/xrd/build/v20070321-1251p1/xrootd/lib/sun4x_59_dbg//XrdClientAdmin.so:
> symbol __1cOXrdCryptoBasicG__vtbl_: referenced symbol not found at
> /afs/slac.stanford.edu/package/perl/lib/5.8.8/sun4x_57/DynaLoader.pm line 230.
>  at /u/ec/wilko/xrd/build/v20070321-1251p1/xrootd/lib/sun4x_59_dbg//XrdClientAdmin.pm line 8
> Compilation failed in require at ../../../tools/xrdTest.pl line 8.
> BEGIN failed--compilation aborted at ../../../tools/xrdTest.pl line 8.
>
> The failure happens at the line (line 8):
>
> use XrdClientAdmin;
>
> The LD_LIBRARY_PATH and PERL5LIB are set properly. It works fine on Linux.
> I am using the latest xrootd production version 20070321-1251p1.
>
> Any idea what could be wrong ?
>
> Cheers,
>     Wilko
>