View Issue Details

IDProjectCategoryView StatusLast Update
0009928GNUnetgnunet-setuppublic2025-05-10 11:59
ReporterEric E Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformLinux 
Product Version0.24.1 
Summary0009928: ERROR `lt_dlopenext' failed for library `libgnunet_plugin_datacache_heap' with error: file not found
DescriptionI'm having problems running gnunet 0.24.1, below is how I setup and install it.

After installing gnunet, it starts without complaining:

$ gnunet-arm -s

But only finds a single peer, but the problem appears in the logs.

$ gnunet-statistics | grep peer
          rps # peers in push map at end of round: 0
          rps # peers in pull map at end of round: 0
          rps # peers in view at end of round: 0
          nse # peers connected: 1

Exit gnunet to stop filling the logs...

$ gnunet-arm -e


Logs show a problem with the peerstore and datacache library.

util-plugin-10317 ERROR `lt_dlopenext' failed for library `libgnunet_plugin_datacache_heap' with error: file not found
datacache-10317 ERROR Failed to load datacache plugin for `heap'
util-plugin-10322 ERROR `lt_dlopenext' failed for library `libgnunet_plugin_peerstore_sqlite' with error: file not found
peerstore-10322 ERROR Could not load database backend `libgnunet_plugin_peerstore_sqlite'
transport-10328 INFO Bound to `0.0.0.0:2086' sock 0x5624dc5e11e0
transport-10328 INFO Bound to `[::]:2086' sock 0x5624dc5e1180
rest-10323 WARNING No basic auth secret found... generating

Subsequently, the logs are filled with the error:

...
util-plugin-16551 ERROR `lt_dlopenext' failed for library `libgnunet_plugin_peerstore_sqlite' with error: file not found
peerstore-16551 ERROR Could not load database backend `libgnunet_plugin_peerstore_sqlite'
util-plugin-16552 ERROR `lt_dlopenext' failed for library `libgnunet_plugin_datastore_sqlite' with error: file not found
datastore-16552 ERROR Failed to load datastore plugin for `sqlite'
util-plugin-16553 ERROR `lt_dlopenext' failed for library `libgnunet_plugin_peerstore_sqlite' with error: file not found
peerstore-16553 ERROR Could not load database backend `libgnunet_plugin_peerstore_sqlite'
util-plugin-16555 ERROR `lt_dlopenext' failed for library `libgnunet_plugin_peerstore_sqlite' with error: file not found
peerstore-16555 ERROR Could not load database backend `libgnunet_plugin_peerstore_sqlite'
...

Am I missing libraries?
Steps To ReproduceHaving installed gnunet previously, the below steps are for upgrading an existing installation:

$ export GNUNET_VERSION_CURRENT=`gnunet-arm --version | gawk -F " " '{ print $2}' | cut -c 2-`
$ export GNUNET_VERSION_UPGRADE='0.24.1'

Uninstall old version.
$ cd ${HOME}/usr/src/gnunet
$ sudo make uninstall
$ cd ..

Download new version.
$ wget https://ftpmirror.gnu.org/gnunet/gnunet-${GNUNET_VERSION_UPGRADE}.tar.gz.sig
$ wget https://ftpmirror.gnu.org/gnunet/gnunet-${GNUNET_VERSION_UPGRADE}.tar.gz

Unzip.
$ tar zxfp gnunet-${GNUNET_VERSION_UPGRADE}.tar.gz

Remove old simlink to source.
$ rm gnunet
$ ln -s gnunet-${GNUNET_VERSION_UPGRADE}/ gnunet
$ cd gnunet

Configure and build.
$ export GNUNET_PREFIX=/usr/local/lib
$ export DATESTAMP=`date +"%Y-%m-%d_%H%M%S"`

# I used ./configure ... as meson setup cannot accept the enable-logging option.
# meson setup --wipe -Dprefix=/usr/local -Denable-logging=verbose build 2>&1 | tee -a ../build_gnunet-${GNUNET_VERSION_UPGRADE}_20_configure_${DATESTAMP}.log
# usage: meson [-h]
# {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,help}
# ...
# meson: error: unrecognized arguments: --enable-logging=verbose

$ ./configure --prefix=$GNUNET_PREFIX/.. --enable-logging=verbose 2>&1 | tee -a ../build_gnunet-${GNUNET_VERSION_UPGRADE}_20_configure_${DATESTAMP}.log

$ meson compile -C build 2>&1 | tee -a ../build_gnunet-${GNUNET_VERSION_UPGRADE}_${DATESTAMP}.log
$ sudo meson install -C build 2>&1 | tee -a ../build_gnunet-${GNUNET_VERSION_UPGRADE}_40_makeinstall_${DATESTAMP}.log

Update dynamic run time bindings, others I'll get the following errors when running commands
e.g. gnunet-arm: error while loading shared libraries: libgnunetarm.so.2: cannot open shared object file: No such file or director

No errors during configuration and build steps that I could see.

$ sudo ldconfig

Clear settings before starting gnunet (make sure the old settings don't interfere):

$ rm -rf ~/.local/share/gnunet


Start gnunet.

$ gnunet-arm -s
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-05-10 11:59 Eric E New Issue