View Issue Details

IDProjectCategoryView StatusLast Update
0005722GNUnetbuild processpublic2019-07-30 19:52
ReporterFlorian Dold Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
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.

Relationships

has duplicate 0005736 assigned linker/compiler AM_ flags during header checks aren't working really well 

Activities

nikita

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.

nikita

2019-07-30 19:52

developer   ~0014760

unassigning, pick up if you have a proposed fix.

Issue History

Date Modified Username Field Change
2019-05-13 16:11 Florian Dold New Issue
2019-05-13 18:27 nikita Note Added: 0014386
2019-05-26 20:19 nikita Assigned To => nikita
2019-05-26 20:19 nikita Status new => assigned
2019-05-26 20:19 nikita Relationship added has duplicate 0005736
2019-07-30 19:52 nikita Note Added: 0014760
2019-07-30 19:52 nikita Assigned To nikita =>