libtool: link: only absolute run-paths are allowed
Gansser, Martin
MGansser at rand.de
Thu Feb 27 09:37:43 CST 2003
> -----Original Message-----
> From: Derek Atkins [mailto:warlord at MIT.EDU]
> Sent: Wednesday, February 26, 2003 6:42 PM
> To: Gansser, Martin
> Cc: gnucash-devel at gnucash.org; mevanecek at yahoo.com
> Subject: Re: libtool: link: only absolute run-paths are allowed
>
>
> "Gansser, Martin" <MGansser at rand.de> writes:
>
> > > What fails, "gmake" or "gmake install"? Based on your
> errors, I would
> > > say "gmake install" is failing....
> >
> > No, gmake fails.
>
> Hmm... Ok...
>
> > > > > p-utils.a
> > > /opt/mgansser/GNU/gnucash-1.8.1/src/engine/.libs/libgncmod-eng
> > > ine.a /opt/mgansser/GNU/gnuc
> > >
> > > It has "libgncmod-engine.a", whereas it should have
> > > "libgncmod-engine.sl".
> >
> > yes, because libgncmod-engine.sl isn't available or wasn't build
>
> Basically, Gnucash 1.8 _requires_ shared library objects. So, this is
> certainly a major part of the problem. You'll need to figure out
> _why_ the shared library wasn't built.
>
> > If I configure with the option --disable-shared --disable-static
> > then gnucash compiles and installs fine, but fails at startup
> > with:
> >
> > ERROR: In procedure dynamic-link:
> > ERROR: file: "libgw-gnc", message: "file not found"
>
> This is completely normal. Gnucash-1.8 cannot be compiled statically.
> If you --disable-shared then it is 100% guaranteed to fail. The real
> question is why it's not building proper shared libraries. I suspect
> it could be a libtool problem, or it could be a configure problem. I
> don't know which offhand.
>
> However, you will have to solve that problem. Until you solve that
> problem, all other issues are irrelevant. Once you figure out _why_
> it's not building shared libraries, then we can move on to actually
> fixing the code.
>
> > sorry Iam not subscribed at the moment to the list.
>
> No worries. We can keep you in the CC. Just be sure to CC the list
> on your replies.
>
> > thanks Martin
>
> -derek
Hi Derek,
I reconfigred now the whole sofware components
g-wrap-1.3.4 and guile-1.6.0
#!/bin/csh -f
#
setenv LDFLAGS "-L/opt/gnome/lib"
setenv LD_LIBRARY_PATH "/opt/gnome/lib"
gmake distclean
rm config.cache
rm libtool
./configure --prefix=/opt/gnucash --with-glib-prefix=/opt/gnome \
--with-gnome-includes=/opt/gnome/include \
--with-gnome-libs=/opt/gnome/lib \
--with-g-wrap-prefix=/usr/local \
--disable-error-on-warning \
--disable-openhbcitest \
--enable-opt-style-install \
--enable-shared \
--disable-static \
--disable-guppi
gmake && gmake install
gnucash-1.8.1 compiles and installs now fine with shared library, but fails
at startup with the following error messages:
prounix_root:/opt/gnucash/bin # ./gnucash
<unnamed port>: In procedure scm-error in expression (scm-error (quote misc-error) #f ...):
<unnamed port>: Loaded gnucash srfi-2.scm in unknown Guile version:1.6.0.
If you're running a Guile newer than 1.4, then this file should
not have been installed. Please report the bug.
any suggestion ?
thanks Martin
PS: there is a Problem with the Mailinglist, not reachable !
More information about the gnucash-devel
mailing list