View Issue Details

IDProjectCategoryView StatusLast Update
0005722GNUnetbuild processpublic2019-05-13 18:27
ReporterFlorian DoldAssigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0005722: --with-libgcrypt-prefix does not work properly
DescriptionWhen configuring GNUnet with --with-libgcrypt-prefix=$HOME/local, the configure step fails, even though libgcrypt is installed into that prefix properly. The supposed problem is a mismatch between the header version and library version of libgcrypt.

It turns out that this is because the conftest program is *not* executed with the correct LD_LIBRARY_PATH. When executing, ldd picks up the distributions libgcrypt.

Thus when compiling with --with-libgcrypt-prefix=$PREFIX, you also have to manually put $PREFIX into LD_LIBRARY_PATH, or otherwise ./configure fails with an obscure error message.

Instead, the configure script should execute the conftest in the right environment, respecting the prefix.
TagsNo tags attached.

Activities

ng0

2019-05-13 18:27

developer   ~0014386

Is --with-libgcrypt the only affected switch here?
I have no system wide ldd config, but I can assume that this is not exclusive to gcrypt and we might want to double check the other lines where we use it.

Issue History

Date Modified Username Field Change
2019-05-13 16:11 Florian Dold New Issue
2019-05-13 18:27 ng0 Note Added: 0014386