Date: Wed, 21 Jan 2009 07:15:55 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Warren Liddell <shinjii@maydias.com> Cc: freebsd-questions@freebsd.org Subject: Re: Problem with libperl Message-ID: <4976CBAB.4030703@infracaninophile.co.uk> In-Reply-To: <4976B399.5090906@maydias.com> References: <4976B399.5090906@maydias.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkl2y7IACgkQ8Mjk52CukIwhFACeJ8lF9J8D7mplLogQ90YrrIsV
V1cAn27Us1L8DAio5i8SOretuGbgs2Mi
=hL3I
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4976CBAB.4030703>
