View Issue Details

IDProjectCategoryView StatusLast Update
0007794Talerexchangepublic2023-09-23 15:09
ReporterMS Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9.3Fixed in Version0.9.3 
Summary0007794: Library not found despite correct LD_LIBRARY_PATH
DescriptionThe following logs shows the execution environment and how the Postgres
database plugin is NOT being found by the taler-exchange-dbinit program.

ms@notebook:~$ ls $HOME/.local/lib/taler/ | grep exchangedb_postgres
libtaler_plugin_exchangedb_postgres.la
libtaler_plugin_exchangedb_postgres.so
ms@notebook:~$ export LD_LIBRARY_PATH=$HOME/.local/lib/taler
ms@notebook:~$ echo $LD_LIBRARY_PATH
/home/ms/.local/lib/taler
ms@notebook:~$ taler-exchange-dbinit
2023-04-06T17:45:15.673649+0200 util-plugin-176000 ERROR `lt_dlopenext' failed for library `libtaler_plugin_exchangedb_postgres' with error: file not found
Failed to initialize database plugin.
TagsNo tags attached.

Activities

Christian Grothoff

2023-04-06 22:28

manager   ~0020034

LD_LIBRARY_PATH is irrelevant for plugins. Did you set TALER_PREFIX correctly to $HOME/.local/? In fact, is you main binary linked correctly? Do you have more than one libtalerutil.so on your disk? Is the plugin actually installed, or was libgnunetpq outdated/not found during configure? Are you using the latest exchange with Joseph's linker issue fixed?

Florian Dold

2023-04-17 11:40

manager   ~0020101

I also had this problem, but didn't see it recently. Likely that it was due to the issue that Joseph has now fixed.

Issue History

Date Modified Username Field Change
2023-04-06 17:46 MS New Issue
2023-04-06 17:46 MS Status new => assigned
2023-04-06 17:46 MS Assigned To => Christian Grothoff
2023-04-06 22:28 Christian Grothoff Note Added: 0020034
2023-04-08 08:03 Christian Grothoff Assigned To Christian Grothoff => MS
2023-04-08 08:03 Christian Grothoff Status assigned => feedback
2023-04-17 11:40 Florian Dold Note Added: 0020101
2023-04-17 11:40 Florian Dold Target Version => 0.9.3
2023-04-18 23:11 Christian Grothoff Assigned To MS => Christian Grothoff
2023-04-18 23:11 Christian Grothoff Status feedback => resolved
2023-04-18 23:11 Christian Grothoff Resolution open => fixed
2023-04-18 23:11 Christian Grothoff Fixed in Version => 0.9.3
2023-09-23 15:09 Christian Grothoff Status resolved => closed