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

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



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