Installation problems with Beacon 0.9.54 RC1



Thanks for the beta ...

I installed the package on a machine previously running v0.9.06
and had some problems.

This is RedHat 9 with perl v5.8.0.
I tried both a root install and a non-root install and got the same error:

Can't load
'lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Net/Multicast/Beacon/Beacon.so'
for module Net::Multicast::Beacon: /usr/local/lib/librtp.so.0:
 undefined symbol: __gxx_personality_v0 at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at
lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/Multicast/Beacon.pm line 7
Compilation failed in require at bin/beacon line 35.

DynaLoader says that you get this error when dl_load_file() fails, i.e.
it's not a problem in Dynaloader itself


After some messing around (and failing to grep any reference to
gxx_personality anywhere in the new package, or as a file anywere with
"locate") I realized that the new package was linking against the old RTP
library in /usr/local/lib (which is in the load path)
So I blew away  /usr/local/lib/librtp*, did a make clean, configure, make
install and it worked.
  (I confess there's a chance I messed up the first time by fixing the
  library path in src/beacon instead of src/beacon.in, but it seems
  unlikely)

- It might be nice if the install process  used the normal /usr/lib/perl5
for a root install, as do most CPAN modules, or otherwise avoided having
to edit the "use lib" lines (unless you fear a conflict with CPAN or
vendor modules)
Incidentally, there is a documented way to install CPAN stuff
non-root:
 -  in .cpan/CPAN/MyConfig.pm, include
      'makepl_arg' => q[LIB=~/perl/lib],
 - in the script, include
     use lib "$ENV{HOME}/perl/lib"
so that subsequent "install Pkg::Module" commands magically work  :-)



-- 
Andrew Daviel, TRIUMF, Canada
Tel. +1 (604) 222-7376
security@triumf.ca



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index