Problem implementing GnuCash 1.8.4 on Slackware 9.0 with Gnome 2.2 - gal library not found

Derek Atkins warlord at MIT.EDU
Tue Jul 8 10:46:59 CDT 2003


Al Wheeler <alfred.j.wheeler at verizon.net> writes:

> Hi Derek et al,
> Thanks again :)
> 
> 1. What do you get from "gnome-config --libs gal"?
> bash-2.05b# gnome-config --libs gal
> Unknown library `gal'

This means you don't have the 'gal' library installed...

> 2. "check your config.log"
> You don't mean the config.log for gnome-config, but the one for
> GnuCash. Right? I can read it, but I do not always get the
> message... :)

Yes, I mean the config.log from gnucash

> <SNIP FILE=CONFIG.LOG APP=GNUCASH>
> configure:13133: checking for main in -lgal
> configure:13148: gcc -o conftest -g -O2 -Wall -Wunused
> -I/opt/gnome/include  -L/opt/gnome/lib conftest.c -lgal  -lpopt -lm
> -lm 1>&5
> /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld:
> cannot find -lgal
> </SNIP>

Yea, not surprising given the above...

> However I can see libgal right here in /usr/lib, so what am I not
> understanding?
> 
> bash-2.05b# ls -Fla /usr/lib/libgal*
> -rwxr-xr-x 1 root root 709 Jan 28 15:57 /usr/lib/libgal-2.0.la*
> lrwxrwxrwx 1 root root 19 Jun 8 04:31 /usr/lib/libgal-2.0.so ->
> libgal-2.0.so.0.0.0*
> lrwxrwxrwx 1 root root 19 Jun 8 04:31 /usr/lib/libgal-2.0.so.0 ->
> libgal-2.0.so.0.0.0*
> -rwxr-xr-x 1 root root 959084 Jan 28 15:57 /usr/lib/libgal-2.0.so.0.0.0*

No, you have libgal-2.0, you do not have libgal.  You need the gnome-1.4
version of libgal.

> 3. I need some "macro" perspective :
> Since I have Gnome 2.2, would it make sense to wait for GnuCash to be
> available on it? I am concerned about going "backward"
> environmentwise. Is Gnome 2.2 a "bad" version? Can gnome-1.4
> development co-exist with Gnome 2.2? Why is GnuCash version dependent
> on Gnome?

GnuCash is currently being ported to Gnome2, but that port is not
expected to be released for at least another 4-6 months (I would guess
Q4-03 or Q1-04).  However, gnome-1.4 and gnome-2 can happily co-exist
on the same system.  You do not need to run a gnome-1.4 UI, you just need
the gnome-1.4 libraries (and development environment).

As you have already seen, the libraries are named completely
differently, so "libgal" and "libgal-2.0" can live side-by-side
without any interference.

> TIA

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list