[GNC-dev] Runtime issue with gwenhywfar and aqbanking libraries

john jralls at ceridwen.us
Sun Sep 12 12:02:38 EDT 2021

> On Sep 12, 2021, at 7:04 AM, Lothar Paltins via gnucash-devel <gnucash-devel at gnucash.org> wrote:
> Hi,
> I'm compiling gnucash 4.6 with the following commands:
> export PKG_CONFIG_PATH=/opt/gwenhywfar/lib64/pkgconfig:/opt/aqbanking/lib64/pkgconfig
> mkdir build
> cd build
> cmake -DCMAKE_INSTALL_PREFIX=/opt/gnucash ..
> make
> sudo make install
> It succeeds, /opt/gnucash/bin/gnucash is installed and it works, but there are no online banking functions available. I found out, that gnucash can't find the gwenhywfar and aqbanking libraries. It seems, that setting PKG_CONFIG_PATH isn't sufficient. If I copy all shared libraries from /opt/aqbanking/lib64 and /opt/gwenhywfar/lib64 to /opt/gnucash/lib64/gnucash, then everything works as expected. Is there a way to specify the aqbanking and gwenhywfar library paths and to avoid the copying of the libraries?

Did you forget to add /opt/gwenhywfar/lib64 and /opt/aqbanking/lib64 to LD_LIBRARY_PATH so that the dynamic linker can find the libraries at runtime?

John Ralls

More information about the gnucash-devel mailing list