Project

General

Profile

Bug #137

Dependency missing: -l ltdl

Added by enaut over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Low
Category:
-
Start date:
10/15/2019
Due date:
Betriebssystem:
Linux
AqBanking-Version:
5.99.40
Anwendung:
aqbanking-cli
Version der Anwendung:

Description

When building the configure script is missing the ltdl dependency leading to a failing build.

History

#1 Updated by mlenk over 1 year ago

What build failure do you get? Do you mind to share some console output?

#2 Updated by enaut over 1 year ago

It says "/usr/bin/ld: cannot find -lltdl"

$ make
[...]
make[4]: Verzeichnis „/home/dietrich/Downloads/aqbanking-5.99.40beta/src/libs“ wird betreten
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -g -O2 -g -Wall -Wdeclaration-after-statement -no-undefined -version-info 43:40:0 -g -o libaqbanking.la -rpath /usr/lib64 dummy.lo -L/usr/lib -lgwenhywfar -lgmp  -lxmlsec1-gnutls -lxmlsec1-gcrypt -lxmlsec1 -lltdl -lgnutls -lxslt -lm -lxml2  -lxml2  -lxslt -lm -lxml2  aqbanking/libaqbanking_base.la plugins/libabplugins.la 
libtool: link: rm -fr  .libs/libaqbanking.la .libs/libaqbanking.lai .libs/libaqbanking.so .libs/libaqbanking.so.43 .libs/libaqbanking.so.43.0.40
libtool: link: gcc -shared  -fPIC -DPIC  .libs/dummy.o  -Wl,--whole-archive aqbanking/.libs/libaqbanking_base.a plugins/.libs/libabplugins.a -Wl,--no-whole-archive  -L/usr/lib /usr/lib/libgwenhywfar.so -lgmp -lz -lxmlsec1-gnutls -lxmlsec1-gcrypt -lxmlsec1 -lltdl -lgnutls -lxslt -lm -lxml2  -g -O2 -g -g   -pthread -Wl,-soname -Wl,libaqbanking.so.43 -o .libs/libaqbanking.so.43.0.40
/usr/bin/ld: cannot find -lltdl
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:761: libaqbanking.la] Fehler 1
[...]

The error is solved on Fedora by installing: sudo dnf install libtool-ltdl-devel

#3 Updated by mlenk over 1 year ago

Ok, if you solved the issue by installing libtool-ltdl-devel, is the issue solved now, or do you expect something specific to happen before this ticket can be closed?

#4 Updated by enaut over 1 year ago

I expected that the configure script already includes the dependency for ltdl so that it already fails during configure phase and not only during the make phase. At least that is usually how things fail. But if you don't mind that nitpick feel free to close.

#5 Updated by mlenk over 1 year ago

Ok, understood.

Also available in: Atom PDF