List OK?

Des Dougan des at DouganConsulting.com
Mon Sep 5 13:50:29 EDT 2005


On Mon, 2005-09-05 at 10:01 -0400, Derek Atkins wrote:
> Des,
> 
> Des Dougan <des at DouganConsulting.com> writes:
> 
> > On Sun, 2005-09-04 at 23:52 -0400, Derek Atkins wrote:
> >> Not that I've noticed.  My messages have been going through just fine.
> >> 
> >> -derek
> >
> > OK, thanks. I'll have to call my ISP.
> >
> > With respect to the config.log, the last part of the log shows the
> > following (which doesn't seem related to the failure, from what I can
> > see):
> >
> > # tail -25 config.log
> [snip]
> > configure:13360: checking for main in -lgal
> > configure:13375: gcc -o conftest -g -O2 -Wall -Wunused    conftest.c -lgal -rdynamic -Wl,--rpath -Wl,/usr/lib64 -L/opt/gnome/lib64 -L/usr/X11R6/lib64 -L/usr/lib64 -lgal -lgnomeprint -lfreetype -lglade-gnome -lglade -lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -lasound -laudiofile -ldb1 -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgnomecanvaspixbuf -lpopt -lm  -lm 1>&5
> > /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lesd
> 
> You're missing libesd.  Do you have esound-devel installed?

It wasn't. I've installed it, and configure has run successfully -
thanks for that. This wasn't on the RPMs listed in the previous thread,
so I will add that to my list of instructions when I have this working.

The make step has failed, though - something in make is looking at a 32
bit library instead of the 64 bit:

make[4]: Entering directory `/home/des/Downloads/tarballs/gnucash/gnucash-1.8.11/src/gnc-module'
/bin/sh ../../libtool --mode=link gcc -I../../src/core-utils -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib64/glib/include -I /usr/local/include/g-wrap  -g -O2 -Wall -Wunused    -o libgncmodule.la -rpath /usr/lib64 -module gnc-module.lo ../core-utils/libcore-utils.la -L/usr/local/lib -lgwrap-wct -lgwrap-glib -L/opt/gnome/lib64 -lglib -lltdl -lpopt -lm  -lm
gcc -shared  .libs/gnc-module.o  -Wl,--rpath -Wl,/home/des/Downloads/tarballs/gnucash/gnucash/src/core-utils/.libs -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/opt/gnome/lib64 -Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/opt/gnome/lib64  -L/usr/lib64 -L/opt/gnome/lib64 ../core-utils/.libs/libcore-utils.so -L/usr/local/lib /usr/local/lib/libgwrap-wct.so /usr/local/lib/libgwrap-glib.so /opt/gnome/lib64/libglib.so /usr/lib/libltdl.so -lpopt -lm  -Wl,-soname -Wl,libgncmodule.so.0 -o .libs/libgncmodule.so.0.0.0
/usr/lib/libltdl.so: could not read symbols: File in wrong format

I've confirmed that there is a libltdl.so in the /usr/lib64 directory,
and I've gone through the configure script and the make man pages to
check how to inform make that it's a 64 bit compile, but can find
nothing that help me.

Am I missing something fundamental at the configure stage? The script
I'm using is as follows:

#!/bin/sh
CC=gcc
CFLAGS=-O2
PATH="$PATH:/opt/gnome/bin"
(cd gnucash
rm -rf config.cache
./configure --prefix=/opt/gnome --libdir=/usr/lib64 --enable-gui --enable-ofx \
        --build=x86_64-linux-gnu --disable-error-on-warning
)
# end of script

Thanks,

Des
-- 

Des Dougan, Principal
Dougan Consulting Group

Ph: 604-980-2848       Email: des at DouganConsulting dot com     

        www.DouganConsulting.com

Design - Implementation - Support



More information about the gnucash-user mailing list