Problem with libperl

2009-01-20 Thread Warren Liddell
im trying to start a few programs, on eof them being ntop, but it keeps 
saying the below msg .. how do i register it when i have libperl .. what 
has happend for it to be unregisterd ?



enterprise# ntop
/libexec/ld-elf.so.1: Shared object libperl.so not found, required by 
ntop


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with libperl

2009-01-20 Thread Matthew Seaman

Warren Liddell wrote:
im trying to start a few programs, on eof them being ntop, but it keeps 
saying the below msg .. how do i register it when i have libperl .. what 
has happend for it to be unregisterd ?



enterprise# ntop
/libexec/ld-elf.so.1: Shared object libperl.so not found, required by 
ntop


It was perhaps the recent upgrade from perl-5.8.8 to perl-5.8.9,
which means that libperl.so will have moved from

/usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
^
to 


/usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so
^

To fix the problem --

 * run 'perl-after-upgrade -f' -- will fix most pure perl scripts /
   modules

 * Compiled software that embeds a perl interpreter (ie. that links
   against libperl.so) will be highlighted by the perl-after-upgrade
   script.

 * If the indicated binaries fail to run, showing linker errors as
   you've seen, then those packages need to be recompiled to embed
   the new shlib path into the binaries.

So the following should sort you out:

   portupgrade -f net/ntop

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature