Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591334 - net-misc/i2pd-2.9.0[static]: /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup': (.text+0x11): undefined reference to `dlopen'
Summary: net-misc/i2pd-2.9.0[static]: /usr/lib64/libcrypto.a(dso_dlfcn.o): In function...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Korepanov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-15 17:21 UTC by Yanestra
Modified: 2016-08-17 08:11 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,79.93 KB, text/plain)
2016-08-15 17:21 UTC, Yanestra
Details
output of emerge --info net-misc/i2pd (emerge-info,6.40 KB, text/plain)
2016-08-15 17:22 UTC, Yanestra
Details
patch to fix static build (i2pd-2.9.0-static-fix.patch,1.15 KB, patch)
2016-08-16 14:47 UTC, Alexey Korepanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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