libtool: link: only absolute run-paths are allowed
Gansser, Martin
MGansser at rand.de
Wed Feb 26 17:41:40 CST 2003
> -----Original Message-----
> From: Derek Atkins [mailto:warlord at MIT.EDU]
> Sent: Tuesday, February 25, 2003 10:35 PM
> To: Matthew Vanecek
> Cc: Gansser, Martin; Gnucash Devel
> Subject: Re: libtool: link: only absolute run-paths are allowed
>
>
> Matthew Vanecek <mevanecek at yahoo.com> writes:
>
> > > I tried once again with following configure options:
> > >
> > > #!/bin/csh -f
> > > #
> > > #setenv LINGUAS de
> > > setenv LDFLAGS "-L/opt/gnome/lib"
> > > setenv LD_LIBRARY_PATH "/usr/local/lib"
> > > setenv LIBS "-L/usr/local/lib -lgcc"
> > > 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 \
> > > --disable-guppi
> > > gmake
> > > gmake install
> > >
> > > but it fails with the following error message:
>
> What fails, "gmake" or "gmake install"? Based on your errors, I would
> say "gmake install" is failing....
No, gmake fails.
>
> > > libtool: link: warning: this platform does not like
> uninstalled shared libraries
> > > libtool: link: `test-link-module' will be relinked during
> installation
> [snip]
>
> Is /opt/gnome/lib in your library path?
/opt/gnome/lib is in the path
>
> Another problem is that it looks like libtool does not know
> how to build
> a shared library on your system. I can tell because in this line:
>
> > > 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
> So, you need to figure out why configure/libtool doesn't know
> how to build shared libraries.
>
> -derek
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"
sorry Iam not subscribed at the moment to the list.
thanks Martin
More information about the gnucash-devel
mailing list