Re: annoying _gdk_imlib_data in libgnomeui / bad path for libgdk_imlib



does your /etc/ld.so.conf file have /opt/GNOME/lib in it before
/usr/local/lib?  If not, this is your problem.

James Henstridge.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Tue, 15 Dec 1998, Bertrand Guiheneuf wrote:

> Since yesterday, 
> control-center, gmc and other refuse to run. Example:
> gmc: error in loading shared libraries
> /opt/GNOME/lib/libgnomeui.so.0: undefined symbol: _gdk_imlib_data
> 
> here is what my ldconfig -v gives:
> /opt/GNOME/lib:
>         libgdk_imlib.so.1 => libgdk_imlib.so.1.8.1
> 
> /usr/lib:
>         libgdk_imlib.so.1 => libgdk_imlib.so.1.8.0
> 
> 1.8.1 --> with    _gdk_imlib_data
> 1.8.0 --> without _gdk_imlib_data
> 
> 
> well, I do not know why, but when stracing gmc, I see it links against
> the version in /usr/lib not /opt/GNOME/lib
> (my LD_LIBRARY_PATH is void btw)
> 
> Well, here is gmc link line:
> =========
> gcc  -rdynamic -L/opt/GNOME/lib -L/usr/X11/lib -rdynamic -lgnomeui -lart_lgpl 
> -L/opt/GNOME/lib -lgdk_imlib -ljpeg -ltiff -lgif -lpng -lz -lSM -lICE -lgtk 
> -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -lm -laudiofile -ldb 
> -lglib -ldl -o gmc main.o mad.o dlg.o screen.o widget.o wtools.o info.o 
> boxes.o file.o find.o dialog.o key.o chmod.o chown.o view.o panelize.o 
> hotlist.o background.o dir.o util.o win.o color.o profile.o user.o ext.o 
> setup.o subshell.o terms.o achown.o fsusage.o mountlist.o regex.o complete.o 
> command.o option.o cmd.o utilunix.o xslint.o gdialogs.o filenot.o  gblist.o 
> gcache.o gcliplabel.o gcmd.o gdesktop-icon.o gdesktop.o gdnd.o ghelp.o gicon.o 
> ginfo.o gkey.o glayout.o gmain.o gmc-chargrid.o gmenu.o gmetadata.o 
> gpageprop.o gpopup.o gprop.o gscreen.o gtools.o gtree.o gutil.o gview.o 
> gtkdtree.o gwidget.o -L../vfs -L../slang -L../gtkedit -lvfs-mc -lgtkedit  
> -L/opt/GNOME/lib  -lglib
> ======
> 
> if I just add an  -Wl,--rpath /opt/GNOME/lib just before the -lgnomeui,
> all goes well. (well at least gmc runs, though if strangely show two 
> vscrollbars on the left, but if don't have this _gdk_imlib_data undefined)
> 
> 
> Could someone please explain me why ldconfig takes the file in /usr/lib
> and as I need the old gdk_imlib library for wmaker, what should be done 
> to avoid those problems.
> 
> Thanks in advance.
> 
> 
> 	Bertrand.
> 
> 
> =======================================================================
>   Bertrand GUIHENEUF           	E-Mail: bertrand.guiheneuf@inria.fr
>                                	Tel.:   (33) 01 39 63 50 36
>   				
>                     !!  Use GNU/LINUX OS  !!
> =======================================================================
> 
> 
> 
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]