Problem with libperl

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Jan 20 23:16:15 PST 2009


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090121/13b24008/signature.pgp


More information about the freebsd-questions mailing list