Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2001 16:03:58 +0200
From:      Joachim =?iso-8859-1?Q?Str=F6mbergson?= <watchman@ludd.luth.se>
To:        Ade Lovett <ade@FreeBSD.org>
Cc:        ports <freebsd-ports@FreeBSD.org>
Subject:   Re: gnomeui.so.4 (was: Re: gnome 1.2 & gnomecore 1.4??)
Message-ID:  <3AFE944E.D56E1AC9@ludd.luth.se>
References:  <3AF9B430.DF487472@home.com> <Pine.LNX.4.30.0105100836310.2517-100000@kyle.frozen.nu> <20010510092821.G6932@FreeBSD.org> <3AFD3840.14FBE991@ludd.luth.se> <20010512101336.B617@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Aloha!

Ade Lovett wrote:
> On Sat, May 12, 2001 at 03:18:56PM +0200, Joachim Strömbergson wrote:
> > When I try and start gnome + sawfish I get the same problem with loadern
> > complaining of not finding gnomeui.so.4.
> 
> Then something hasn't been updated properly, probably your ports/Mk
> directory.  Most shared library revision numbers were forcibly bumped
> from .4 to .5 to indicate the change.  In addition, sawfish is part
> of the x11/gnome metaport now.. unless you deleted it, it will still
> be referring to old libraries.  This is bad.
> 
> Ensure that you have revision 1.9 of ports/Mk/bsd.gnome.mk, look
> at the output of "make clean" in x11/gnome, and if you have any
> ports installed prior to your GNOME install, delete/rebuild them.

Ok, thanks I'll try that and see what gives.

BTW is there any way to make ld report what file(s) are causing the
loading of a certain module? Right now I get what file it can't find,
but if I could get the info about the program that tried to call
gnomeui.so.4, it would be possible to backtrack the port I need to
update.

I looked in man ld, but verbose seems to be reporting missing files. I
guess this would also require to set the apropriate flag on a system
wide basis.

> There is only libgnomeui.so.5 (and .so, and .a), installed by
> x11/gnomelibs.  All other ports were updated, either automatically
> when Mk/bsd.gnome.mk was updated and the use of the USE_GNOME directive
> in the Makefile, or other hacks.
> 
> The fact that you have ports still looking for .4 indicates that a
> full cleanout did not, in fact, occur.  You should be able to fix this
> by removing and rebuilding the offending port(s).  Check your
> /var/db/pkg directory.. if you have anything like two ports with
> different version numbers installed, something bad has happened, and
> your system will be in an unknown state.

Ok. I will try this again and take notes. It seems to me that it's
probably part of gnomecore or libs, since the call to libgnomeui.so.4
appears early on in the startup process. That should eliminate a few
ports from the list of suspects.

> I am being deadly serious about wiping things clean, either with
> a binary install from CD or:
> 
> rm -rf /usr/src /usr/obj /usr/ports /usr/X11R6 /usr/local /var/db/pkg
> 
> followed by a cvsup and rebuild, ensuring that you either have
> ports-all (or ports-base if you're only taking parts of the tree).
> 
> The pkg_* tools are still a long way from being able to do an
> upgrade of something as complex (in terms of interdependencies) as GNOME.

I'm sorry but I need to seriously differ with you here. Had this been a
system from a vendor based in Redmond then I would agree that such
measures would be the common, normal solution. (I've actually seen
persons getting the recommendation to use the rescuedisk and wipe the
system due to the keyboard being physically broken :-) 

This on the other hand is a well engineered system that should be and
normally is upgradeable, manageable and generally made to operate for
years without needing the wipeout measure now and then. That means that
we need the tools to make it possible for us to keep the system in known
states, handle upgrades, track changes and so on. And generally speaking
the current system goes long ways of doing so.

If your only tool is a hammer, then treating every problem as a nail
might be ok. But if your only tool is a thermonuclear missile, then you
should think both once or twice of alternative solutions before nuking
away...

-- 
Med vänlig hälsning, Cheers!

Joachim Strömbergson 
============================================================================
Joachim Strömbergson - ASIC designer, nice to *cute* animals.
    snail:                  phone:                     mail & web:
Sävenäsgatan 5A        +46 31 - 27 98 47          watchman@ludd.luth.se
416 72 Göteborg        +46 733 75 97 02          
www.ludd.luth.se/~watchman
============================================================================

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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