Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 591334

Summary: net-misc/i2pd-2.9.0[static]: /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup': (.text+0x11): undefined reference to `dlopen'
Product: Gentoo Linux Reporter: Yanestra <Yanestra>
Component: Current packagesAssignee: Alexey Korepanov <kaikaikai>
Status: RESOLVED FIXED    
Severity: normal CC: blueness, klondike, tomboy64
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
output of emerge --info net-misc/i2pd
patch to fix static build

Description Yanestra 2016-08-15 17:21:03 UTC
Created attachment 443404 [details]
build.log

i2pd-2.9.0 fails to compile
Comment 1 Yanestra 2016-08-15 17:22:21 UTC
Created attachment 443406 [details]
output of emerge --info net-misc/i2pd
Comment 2 Alexey Korepanov 2016-08-16 14:08:05 UTC
Thanks for the bug report. I confirm it for i2pd 2.7.0,2.8.0 and 2.9.0.

I stared at it for a while, and reported it upstream:
https://github.com/PurpleI2P/i2pd/issues/612
Comment 3 Alexey Korepanov 2016-08-16 14:47:09 UTC
Created attachment 443478 [details, diff]
patch to fix static build

I attach the patch from majestrate. It seems to fix the issue.
Comment 4 Alexey Korepanov 2016-08-16 15:34:49 UTC
Patch has been merged upstream. Seems harmless. I created a pull request
https://github.com/gentoo/gentoo/pull/2093

The patch in question does not help i2pd-2.8.0 and older. They still fail with USE=static, but we should probably ignore that, and remove older versions with time.
Comment 5 Alexey Korepanov 2016-08-17 08:11:02 UTC
Fixed in i2pd-2.9.0-r1