Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2004 14:32:16 -0400
From:      Tom McLaughlin <tmclaugh@sdf.lonestar.org>
To:        conrads@cox.net
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Reducing GNOME's dependency on older versions of libtool
Message-ID:  <1087669935.834.3.camel@compass.straycat.dhs.org>
In-Reply-To: <XFMail.20040619065136.conrads@cox.net>
References:  <XFMail.20040619065136.conrads@cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2004-06-19 at 07:51, Conrad J. Sabatier wrote:
> On 19-Jun-2004 Conrad J. Sabatier wrote:
> > I've been upgrading some of my GNOME ports over the last few days,
> > and have found that, in most cases, changing USE_LIBTOOL_VER=13 to
> > USE_LIBTOOL_VER=15 does no harm whatsoever.
> > 
> > I'm thinking perhaps an audit of the GNOME ports to determine which
> > ones are still depending on older versions of libtool may be a good
> > idea.  There *may* still be a few cases where bumping the requested
> > version to 15 does cause problems, but for the majority where it
> > doesn't, it would be nice to remove this dependency on the older
> > libtool.
> 
> OK, here's one case where bumping the libtool version to 1.5 does break
> the build.  Any idea why?
> 
> x11/gnomesession:
> 
> Making all in smproxy
> gmake[2]: Entering directory
> `/usr/ports/x11/gnomesession/work/gnome-session-2.6.2/smproxy'
> /bin/sh ../libtool --mode=link cc  -O2 -pipe  -L/usr/local/lib
> -L/usr/X11R6/lib -o gnome-smproxy  save.o smproxy.o -lXt -lXmu -lSM
> -lICE  -L/usr/X11R6/lib -lX11  -Wl,--export-dynamic -L/usr/local/lib
> -L/usr/X11R6/lib -lgnome-2 -lpopt -lbonobo-2 -lgconf-2 -lgnomevfs-2
> -lbonobo-activation -lORBit-2 -lgobject-2.0 -lm -lgmodule-2.0
> -lgthread-2.0 -lpthread -lglib-2.0 -liconv   -lintl -liconv
> cc -O2 -pipe -o gnome-smproxy save.o smproxy.o -Wl,--export-dynamic 
> -L/usr/local/lib -L/usr/X11R6/lib -lXt -lXmu -lSM -lICE -lX11 -lgnome-2
> -lpopt -lbonobo-2 /usr/X11R6/lib/libgconf-2.so -lgnomevfs-2
> -lbonobo-activation -lORBit-2 -lgobject-2.0 -lm -lgmodule-2.0
> -lgthread-2.0 -lpthread -lglib-2.0 -lintl -liconv -Wl,--rpath
> -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/X11R6/lib
> /usr/bin/ld: warning: libesd.so.2, needed by
> /usr/X11R6/lib/libgnome-2.so, not found (try using -rpath or
> -rpath-link)
> /usr/bin/ld: warning: libaudiofile.so.0, needed by
> /usr/X11R6/lib/libgnome-2.so, not found (try using -rpath or
> -rpath-link)
> /usr/bin/ld: warning: libORBitCosNaming-2.so.0, needed by
> /usr/local/lib/libbonobo-2.so, not found (try using -rpath or
> -rpath-link)
> /usr/bin/ld: warning: libxml2.so.5, needed by
> /usr/X11R6/lib/libgnomevfs-2.so, not found (try using -rpath or
> -rpath-link)
< snip >

You don't happen to be running -current from at least the past few days
do you?  A new binutils was imported recently.  Just do this and you
should be all set:

cd /usr/src/gnu/usr.bin/binutils/ld
make clean
make
make install

That looks like what I had recently.

Tom





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