View Issue Details

IDProjectCategoryView StatusLast Update
0007794Talerexchangepublic2023-09-23 13:09
ReporterMS Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2023-04-06 20: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 09: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 ModifiedUsernameFieldChange
2023-04-06 15:46MSNew Issue
2023-04-06 15:46MSStatusnew => assigned
2023-04-06 15:46MSAssigned To => Christian Grothoff
2023-04-06 20:28Christian GrothoffNote Added: 0020034
2023-04-08 06:03Christian GrothoffAssigned ToChristian Grothoff => MS
2023-04-08 06:03Christian GrothoffStatusassigned => feedback
2023-04-17 09:40Florian DoldNote Added: 0020101
2023-04-17 09:40Florian DoldTarget Version => 0.9.3
2023-04-18 21:11Christian GrothoffAssigned ToMS => Christian Grothoff
2023-04-18 21:11Christian GrothoffStatusfeedback => informing
2023-04-18 21:11Christian GrothoffResolutionopen => fixed
2023-04-18 21:11Christian GrothoffFixed in Version => 0.9.3
2023-09-23 13:09Christian GrothoffStatusinforming => closed