Projekt

Allgemein

Profil

Aktionen

Bug #252

geschlossen

/usr/lib64/gwenhywfar/plugins/79/configmgr/dir: cannot open shared object file: No such file or directory

Von rhabacker vor mehr als 3 Jahren hinzugefügt. Vor mehr als 3 Jahren aktualisiert.

Status:
Closed
Priorität:
Normal
Kategorie:
AqBanking
Beginn:
30.12.2021
Abgabedatum:
Betriebssystem:
Linux
AqBanking-Version:
AqBanking-CLI: 6.4.0 Gwenhywfar : 5.8.1.0 AqBanking : 6.4.0.0
Anwendung:
aqbanking-cli
Version der Anwendung:
6.4.0

Beschreibung

On trying to get the balance from a paypal account with

AQBANKING_LOGLEVEL=Debug GWEN_LOGLEVEL=Debug aqbanking-cli request --aid=16 --balance

I get

...
7:2021/12/30 13-26-23:gwen(9907):../../gwenhywfar/src/gwenhywfar.c:  280: Initializing ConfigMgr module
6:2021/12/30 13-26-23:gwen(9907):../../../gwenhywfar/src/base/plugin.c:  589: Plugin type "configmgr" registered
6:2021/12/30 13-26-23:gwen(9907):../../../gwenhywfar/src/parser/configmgr.c:   81: Adding plugin path [/usr/lib64/gwenhywfar/plugins/79/configmgr]
7:2021/12/30 13-26-23:gwen(9907):../../gwenhywfar/src/gwenhywfar.c:  284: Initializing CryptToken2 module
6:2021/12/30 13-26-23:gwen(9907):../../../gwenhywfar/src/base/plugin.c:  589: Plugin type "ct" registered
6:2021/12/30 13-26-23:gwen(9907):../../../gwenhywfar/src/crypttoken/ctplugin.c:   70: Adding plugin path [/usr/lib64/gwenhywfar/plugins/79/ct]
7:2021/12/30 13-26-23:gwen(9907):../../gwenhywfar/src/gwenhywfar.c:  288: Initializing GUI module
7:2021/12/30 13-26-23:gwen(9907):../../../gwenhywfar/src/parser/urlfns.c:  176: Path: [/home/ralf/.aqbanking/settings6]
7:2021/12/30 13-26-23:gwen(9907):../../../../gwenhywfar/src/os/posix/libloader.c:   86: Loading library "/usr/lib64/gwenhywfar/plugins/79/configmgr/dir" 
6:2021/12/30 13-26-23:gwen(9907):../../../../gwenhywfar/src/os/posix/libloader.c:  107: dlopen(/usr/lib64/gwenhywfar/plugins/79/configmgr/dir): /usr/lib64/gwenhywfar/plugins/79/configmgr/dir: cannot open shared object file: No such file or directory
7:2021/12/30 13-26-23:gwen(9907):../../../../gwenhywfar/src/os/posix/libloader.c:   86: Loading library "/usr/lib64/gwenhywfar/plugins/79/configmgr/dir.so" 
6:2021/12/30 13-26-23:gwen(9907):../../../../gwenhywfar/src/os/posix/libloader.c:  127: Loaded library "/usr/lib64/gwenhywfar/plugins/79/configmgr/dir.so" 
6:2021/12/30 13-26-23:gwen(9907):../../../../gwenhywfar/src/os/posix/libloader.c:  243: Library "/usr/lib64/gwenhywfar/plugins/79/configmgr/dir.so" loaded
...

It looks that the first call trying to load the `dir` plugin without the '.so' extension did not find anything and could be removed.

Aktionen #1

Von martin vor mehr als 3 Jahren aktualisiert

  • Status wurde von New zu Closed geändert

You are right, the first try is not really necessary in the way we use the library loader.

However, the function GWEN_LibLoader_OpenLibraryWithPath() first tries to load the lib with the exact given name, because the caller could have given the complete file name.
If it can determine that this is not the case (and the plugin code which calls this function only presents the module name without ".so" because it is platform independent and doesn't know about .so or ,dll) then ".so" is added.
If it still doesn't work "lib" is prepended.
The final try will then be to prepend "lib" and add ".so", only if that also fails the function gives up.

The log messages above are only "info" level messages, so they shouldn't bother the end user.

Aktionen

Auch abrufbar als: Atom PDF