Date: Tue, 19 Jul 2016 12:08:28 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211223] net-p2p/libtorrent: Make sure to explicitly link with libcrypto Message-ID: <bug-211223-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211223 Bug ID: 211223 Summary: net-p2p/libtorrent: Make sure to explicitly link with libcrypto Product: Ports & Packages Version: Latest Hardware: Any URL: https://forums.freebsd.org/threads/56970/ OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: t@tobik.me Attachment #172717 maintainer-approval+ Flags: Created attachment 172717 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172717&action= =3Dedit libtorrent.diff On some system compiling net-p2p/rtorrent fails with e.g. > /usr/local/lib/libtorrent.so: undefined reference to `SHA1_Update' > /usr/local/lib/libtorrent.so: undefined reference to `SHA1_Final' > /usr/local/lib/libtorrent.so: undefined reference to `RC4' > /usr/local/lib/libtorrent.so: undefined reference to `DH_compute_key' Currently net-p2p/libtorrent itself doesn't link with libcrypto but should.= =20 With default options rtorrent likely picks up libcrypto implicitly through = one of its dependencies. This fails when non-default options are chosen. The attached patch makes sure that net-p2p/libtorrent links with libcrypto. Pl= ease see the linked forum thread for more details. Builds fine in Poudriere in a FreeBSD/i386 9.3 jail. Setting maintainer-approval to + since the port has no maintainer. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211223-13>