Re: zlibish problems with cvs gnome-libs



Look for other zlib.a files.  Their probably hidden under you X11
directories somewhere.

John Kennedy wrote:
> 
>   I'm having a problem compiling gnome-libs.  I just started trying
> to beat on GNOME, so I don't have anything working to compare against.
> 
>   I've compiled/compiling, in this order:
> 
>         glib, gtk+, imlib, libIDL, ORBit, audiofile, esound & gnome-libs
> 
>   They seem happy, but all I really have is the configuration test
> programs for the modules that follow them.
> 
>   Typical configuration options are "--prefix=/opt/gnome i586-pc-linux-gnu".
> 
>   Configuration seems happy finding zlib...
> 
>         ...
>         checking for inflate in -lz... yes
>         checking for zlib.h... yes
>         ...
>         /bin/sh ../libtool --mode=link gcc  -O2
>                 -mpentium -Wall -Wno-unused -Wmissing-prototypes
>                 -Wmissing-declarations -Wpointer-arith   -o htmltest  test.o
>                 ../gtk-xmhtml/libgtkxmhtml.la -lXpm -ljpeg -lpng -lz -lz
>                 -lSM -lICE -L/opt/gnome/lib -L/usr/X11R6/lib -lgtk -lgdk
>                 -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm  -lm
>                 -L/opt/libgr/lib -L/opt/giflib/lib
>         gcc -O2 -mpentium -Wall -Wno-unused -Wmissing-prototypes
>                 -Wmissing-declarations -Wpointer-arith -o
>                 .libs/htmltest test.o -Wl,--rpath -Wl,/opt/gnome/lib
>                 ../gtk-xmhtml/.libs/libgtkxmhtml.so -lXpm -ljpeg -lpng -lz
>                 -lz -lSM -lICE -L/opt/gnome/lib -L/usr/X11R6/lib -lgtk -lgdk
>                 -lgmodule -lglib -ldl -lXext -lX11 -lm -lm -L/opt/libgr/lib
>                 -L/opt/giflib/lib -lXpm -ljpeg -lpng -lz -lz -lSM -lICE
>                 -L/opt/gnome/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
>                 -lgmodule -lglib -ldl -lXext -lX11 -lm -lm -L/opt/libgr/lib
>                 -L/opt/giflib/lib
>         ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `uncompress'
>         ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `compress'
>         collect2: ld returned 1 exit status
>         make[2]: *** [htmltest] Error 1
>         make[2]: Leaving directory `/h/src/jk1/cvs/gnome/gnome-libs/gtk-xmhtml'
>         make[1]: *** [all-recursive] Error 1
>         make[1]: Leaving directory `/h/src/jk1/cvs/gnome/gnome-libs'
>         make: *** [all-recursive-am] Error 2
> 
>   That /opt/libgr/lib is where zlib is hiding as part of libgr-2.0.13.
> It is in /etc/ld.so.conf, ldconfig -v has been run many times, and
> the symbols are present:
> 
>     [nm libz.a libz.so.1.0.2]
>         libz.a:
>         ...
>         compress.o:
>         00000000 T compress
>         ...
>         uncompr.o: ...
>         00000000 T uncompress
>         ...
> 
>         libz.so.1.0.2:
>         ...
>         00001690 T compress
>         ...
>         00002a20 T uncompress
>         ...
> 
>   Clues?
>                                                                 --- john
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.

-- 
---------------
Jesse D. Sightler
http://www3.pair.com/jsight/



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