Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2005 19:52:36 -0500 (EST)
From:      Chuck Robey <chuckr@chuckr.org>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        FreeBSD-gnome@freebsd.org
Subject:   Re: libm
Message-ID:  <20050313194456.G74062@april.chuckr.org>
In-Reply-To: <20050313193416.M65041@shumai.marcuscom.com>
References:  <20050313191932.O74062@april.chuckr.org> <20050313193416.M65041@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Mar 2005, Joe Marcus Clarke wrote:

> On Sun, 13 Mar 2005, Chuck Robey wrote:
>
> > I'm still trying to build gnome-2.10 ... it's broken right now in building
> > audio/arts.  The current error is one that's becoming depressingly
> > familiar: moc died, it's missing a "libm.so.2".  In the past, for all
> > these kind of errors, I would track down the executable that needed the
> > old libm, but I am wondering, maybe it wouldn't be all that horrible a
> > thing, to fake it out?
>
> It could potentially be quite horrible to fake out.
>
> >
> > Would it work for me, do you think, to have a softlink, from libc to libm?
> > Woud it hurt anything? (As long as I didn't try to propagate anything that
> > wanted to use libm!)  Would it actually work, solve that dependency
> > problem?
>
> No.  you should instead hunt down the library that is still linked to
> libm.so.2, and rebuild it.
>
> >
> > Or am I actually, for some reason, really better served by tracking down
> > the old software and relink it?  That's a heck of a lot of extra work, you
> > understand, right?
>
> Not that much work, you can wrap a find command around it:
>
> find /usr/local/lib -name "*.so" | xargs ldd > /tmp/local.out

Joe, it's not the *library* that needs updating, it's the executeable that
uses the lib that needs the relinking, and its truly difficult to track
all those down.

You'll probably have to admit, even yourself, that your reasoning above is
sort of thin ... it's "horrible".  Huh.  You're asking for a lot of work,
like I said.  I might be wearing out my welcome, but could you give me a
word or two, exactly why is it so horrible an idea, as long as I am
careful in how I export software buit in such an environment?

I might be asking for a lot.  If so, the nice work on gnome is
appreciated, bud.  Quite a lot, I hope you realize.  You folks have my
permission to spend a minute or three patting yourself on the back.  Said
in jest, yes, but I mean it.

>
> Repeat for /usr/X11R6/lib, and hunt down the library that way.
> Alternatively, you can watch the failing build.  ld-elf.so.1 should tell
> you which library wants libm.so.2.
>
> Joe
>
> >
> > ----------------------------------------------------------------------------
> > Chuck Robey         | Interests include C & Java programming, FreeBSD,
> > chuckr@chuckr.org   | electronics, communications, and SF/Fantasy.
> >
> > New Year's Resolution:  I will not sphroxify gullible people into looking up
> > fictitious words in the dictionary (on the wall at my old fraternity,
> > Signa Phi Nothing).
> > ----------------------------------------------------------------------------
> > _______________________________________________
> > freebsd-gnome@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
> >
> >
>
> PGP Key : http://www.marcuscom.com/pgp.asc
>

----------------------------------------------------------------------------
Chuck Robey         | Interests include C & Java programming, FreeBSD,
chuckr@chuckr.org   | electronics, communications, and SF/Fantasy.

New Year's Resolution:  I will not sphroxify gullible people into looking up
fictitious words in the dictionary (on the wall at my old fraternity,
Signa Phi Nothing).
----------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050313194456.G74062>