Bug #258
offenlibaqbanking.so: undefined reference to `AN_Provider_new'
Beschreibung
When trying to update aqbanking for Arch Linux
the v6.5.0 build fails with the following error:
...
libtool: link: ( cd ".libs" && rm -f "libaqbanking.la" && ln -s "../libaqbanking.la" "libaqbanking.la" )
/bin/sh ../../libtool --tag=CC --mode=link gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -g -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -g -o testlib testlib.o libaqbanking.la -lgwenhywfar
libtool: link: gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -g -Wall -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto=auto -g -o .libs/testlib testlib.o ./.libs/libaqbanking.so -lgwenhywfar
/usr/bin/ld: ./.libs/libaqbanking.so: undefined reference to `AN_Provider_new'
collect2: error: ld returned 1 exit status
make4: * [Makefile:785: testlib] Error 1
make4: Leaving directory '/build/aqbanking/src/aqbanking-6.5.0/src/libs'
make3: [Makefile:837: all-recursive] Error 1
make3: Leaving directory '/build/aqbanking/src/aqbanking-6.5.0/src/libs'
make2: [Makefile:470: all-recursive] Error 1
make2: Leaving directory '/build/aqbanking/src/aqbanking-6.5.0/src'
make1: [Makefile:758: all-recursive] Error 1
make1: Leaving directory '/build/aqbanking/src/aqbanking-6.5.0'
make: ** [Makefile:555: all] Error 2
==> ERROR: A failure occurred in build().
I am using the same PKGBUILD as for the previous version, with the update version number:
https://github.com/archlinux/svntogit-community/blob/packages/aqbanking/trunk/PKGBUILD
Cheers!
Jaroslav
Von martin vor mehr als 3 Jahren aktualisiert
- Status wurde von New zu In Progress geändert
Short solution would be to add "aqnone" to "configure --with-backends=".
It seems there is an inconsistency when "aqnone" is not given...
Von martin vor mehr als 3 Jahren aktualisiert
BTW: AqBanking no longer depends on libofx and ktoblzcheck.