View Issue Details

IDProjectCategoryView StatusLast Update
0005722GNUnetbuild processpublic2026-08-26 13:08
ReporterFlorian Dold Assigned ToFlorian Dold Due Date
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionwon't fix 
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 closedFlorian Dold linker/compiler AM_ flags during header checks aren't working really well 

Activities

nikita

2019-05-13 16:27

reporter   ~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 17:52

reporter   ~0014760

unassigning, pick up if you have a proposed fix.

Florian Dold

2026-08-22 10:58

developer   ~0029534

Not applicable anymore since GNUnet is using meson as build system now.

Issue History

Date ModifiedUsernameFieldChange
2019-05-13 14:11Florian DoldNew Issue
2019-05-13 16:27nikitaNote Added: 0014386
2019-05-26 18:19nikitaAssigned To => nikita
2019-05-26 18:19nikitaStatusnew => assigned
2019-05-26 18:19nikitaRelationship addedhas duplicate 0005736
2019-07-30 17:52nikitaNote Added: 0014760
2019-07-30 17:52nikitaAssigned Tonikita =>
2026-08-22 10:58Florian DoldAssigned To => Florian Dold
2026-08-22 10:58Florian DoldStatusassigned => resolved
2026-08-22 10:58Florian DoldResolutionopen => won't fix
2026-08-22 10:58Florian DoldNote Added: 0029534
2026-08-26 13:08schanzenStatusresolved => closed