Reducing GNOME's dependency on older versions of libtool

Conrad J. Sabatier conrads at cox.net
Sat Jun 19 04:52:03 PDT 2004


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)
/usr/X11R6/lib/libgnome-2.so: undefined reference to `esd_sample_free'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `esd_close'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `afGetSampleFormat'
/usr/X11R6/lib/libgnome-2.so: undefined reference to
`esd_confirm_sample_cache'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `afReadFrames'
/usr/local/lib/libbonobo-2.so: undefined reference to
`CosNaming_NamingContext_unbind'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `esd_sample_getid'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `afGetChannels'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `afCloseFile'
/usr/local/lib/libbonobo-2.so: undefined reference to
`TC_CORBA_sequence_CosNaming_NameComponent_struct'
/usr/local/lib/libbonobo-2.so: undefined reference to
`CosNaming_NamingContext_bind'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `afGetRate'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `afGetFrameCount'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `esd_sample_play'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `afOpenFile'
/usr/local/lib/libbonobo-2.so: undefined reference to
`CosNaming_NamingContext_resolve'
/usr/local/lib/libbonobo-2.so: undefined reference to
`CosNaming_NamingContext_bind_new_context'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `esd_sample_cache'
/usr/X11R6/lib/libgnome-2.so: undefined reference to `esd_open_sound'
gmake[2]: *** [gnome-smproxy] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11/gnomesession/work/gnome-session-2.6.2/smproxy'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11/gnomesession/work/gnome-session-2.6.2'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

-- 
Conrad J. Sabatier <conrads at cox.net> -- "In Unix veritas"



More information about the freebsd-gnome mailing list