libm
Joe Marcus Clarke
marcus at marcuscom.com
Sun Mar 13 16:36:48 PST 2005
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
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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
>
>
PGP Key : http://www.marcuscom.com/pgp.asc
More information about the freebsd-gnome
mailing list