Install problem 1.7.7 - Unk Library

John Reynolds gnucash@reynj.fastmail.fm
Mon, 06 Jan 2003 08:51:14 -0500


On 06 Jan 2003 15:55:02 +1100, "Conrad Canterford"
<conrad@mail.watersprite.com.au> said:
> On Mon, 2003-01-06 at 15:18, John Reynolds wrote:
> > Conrad,
> > Thanks... my embarrassment just builds...
> 
> We can all make mistakes...  :-)
> 
> > configure:10535: checking for xmlNewDoc in -lxml
> > configure:10554: gcc -o conftest -g -O2   conftest.c -lxml -L/usr/lib
> > -L/usr/X11R6/lib -lxml -lz -lm  1>&5
> > /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld:
> > cannot find -lz
> > collect2: ld returned 1 exit status
> 
> Right, looks like you're missing the libz package (and/or the libz-devel
> package if such a thing exists). I'm rather surprised that you were able
> to install libxml without it - it is a dependency.
> 
> Conrad.
> -- 

Conrad,

Is there a way to find out which libs are in which packages? or, which
.so is found where/within what, in order to install it?

I got past the last problem. How, I can't really say. I just went through
and installed any devel packages that seemed remotely related, about 5-6
more. Now it gets past the xmlNewDoc(), but stops with:

checking for libglade-config... /opt/gnome/bin/libglade-config
checking for libglade... yes
checking for main in -lgal... no
configure: error: gal library not found. See the README and config.log
for more info.

Now I have checked to make sure gal and gal-devel are installed, and have
reinstalled them, but still wouldn't work. The config.log says:

configure:12660: gcc -o conftest -g -O2 -Werror -Wall -Wunused 
-I/opt/gnome/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  
conftest.c -lpopt -lm  -lm -L/opt/gnome/lib -lgdk_pixbuf -L/usr/lib
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext
-lX11 -lm 1>&5
configure:12746: checking for gnome-config
configure:12783: checking for GNOME-PRINT - version >= 0.21
configure:12855: checking for libglade-config
configure:12889: checking for libglade
configure:12918: checking for main in -lgal
configure:12933: gcc -o conftest -g -O2 -Werror -Wall -Wunused   
conftest.c -lgal -rdynamic -L/opt/gnome/lib -L/usr/lib -L/usr/X11R6/lib
-lgal -lgnomeprint -lfreetype -lglade-gnome -lglade -lxml -lz -lgnomeui
-lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd
-laudiofile -ldb1 -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -ldl -lXi
-lXext -lX11 -lm -lgnomecanvaspixbuf -lpopt -lm  -lm 1>&5
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld:
cannot find -lesd
collect2: ld returned 1 exit status
configure: failed program was:
#line 12926 "configure"
#include "confdefs.h"

Which looks like -lesd is what I now need, but if it is not in the gal or
gal-devel, then I where?

Thanks again.

John

P.S. - switched to the 1.7.7 source. This was not the answer to my
previous problem, as 1.7.7 would not configure either - failed with same
problem. I just figured, if I get something working... I'd reather it be
the latest version, RC2.