Perl 5.8.7 port requires libm.so.4

Will Maier willmaier at ml1.net
Tue Aug 30 13:53:44 GMT 2005


On Tue, Aug 30, 2005 at 09:19:01AM -0400, Lowell Gilbert wrote:
> Will Maier <willmaier at ml1.net> writes:
> > I'm running a ~2 days old FreeBSD 5.3-SECURITY install; I'm still getting my
				      ^^^
My apologies -- should read: 5.4-SECURITY.

[snip...]
> > I've also been reading /u/p/UPDATING before actually running portupgrade;
> > today I noticed that the Perl 5.8.6->5.8.7 upgrade required running a script
> > afterwards. I then ran portupgrade, which updated Perl, Ruby and some other
> > ports. It failed on firefox and gtk20, however, because it couldn't find
> > libm.so.4.

> > I then tried to run perl-after-upgrade, but the Perl interpreter won't run
> > because it can't find libm.so.4 either. Symlinking /l/libm.so.3 ->
> > /l/libm.so.4 gets rid of the error, but then the interpreter complains about a
> > crypt library...symlinking each of the required libs seems a) unlikely to be a
> > good solution in the end and b) hackish, plus I'm not even sure it *really*
> > makes the interpreter any happier.

Rebuilding Perl fixed this problem; rebuilding all the ports fixed other
linking-related issues that came up.

> > Have I missed some important step? The OS itself is kept up-to-date using
> > freebsd-update, although I don't *think* this would affect eg Perl.

> Sure it will, if it updates you to have a different dynamic library name
> than the one your programs are linked against.  

Of course; I'm unused to rebuilding so often ; ). I'll get the hang of it.
Like I said, I'm still getting my feet wet.

> I don't use freebsd-update, but I'd like to point out that libm.so.4 is on
> FreeBSD 6.x, not 5.x.  So you don't seem to be running the base system you
> think you are.

Hmm. I base my statement off the output from `uname -a`:

FreeBSD `hostname` 5.4-SECURITY FreeBSD 5.4-SECURITY #0: Wed Jul 20 08:57:11 \
UTC 2005     root at builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

Thanks for the help!

-- 

o--------------------------{ Will Maier }--------------------------o
| jabber:..wcmaier at jabber.ccc.de | email:..........wcmaier at ml1.net |
| \.........wcmaier at cae.wisc.edu | \..........wcmaier at cae.wisc.edu |
*------------------[ BSD Unix: Live Free or Die ]------------------*



More information about the freebsd-questions mailing list