spread 4.3.0 misses linking against libdl
libspread.so is not found by autotools mechanisms, because it uses dl_addr but doesn't link to -dl
Of course this is a bug in spread itself, but we should come up with a patch ourselves.
#2 Updated by R. Haschke almost 9 years ago
I have done the simple requested patch. Please add the patch to the packaging system now.
As I suggested, when building libspread.so the option '-ldl' was missing. I fixed that in libspread/Makefile.in (libspread-dl.patch).
Better of course, is to look for the correct dynamic loader in the configure process. This is done by configure-dl.patch. However, this also requires to run autoconf before packaging!
If you have any questions, don't hesitate to contact me.
#3 Updated by J. Moringen almost 9 years ago
- We only have to patch 4.3.0, not 4.1.0
- We have to apply
spread.projectrecipe has to be extended to run autoconf
- If we have manually maintained Spread build jobs, these have to be extended to run autotools as well
Is this correct?
#5 Updated by R. Haschke almost 9 years ago
This is correct. If you have contacts to the spread team, you should file an appropriate bug there as well.
The configure scripts correctly look for libdl for building libspread-util. However, this is a static lib only.
Hence, when building libspread.so, -ldl needs to be added again.