Hello
I updated ports on my home server like I usually do: 1-2 times per year. I sometimes get problems but have so far managed to solve them. But now I have a problem, that net-p2p/rtorrent does not compile:
System is FreeBSD 9.3:
What have I tried so far:
downgrading net-p2p/rtorrent, net-p2p/libtorrent and finally security/openssl to a version over from June 2015 (back then it worked for sure) - still won't compile! I did recompile openssl with all the dependencies. Since that did not work, i did try installing latest binary packages:
rtorrent-0.9.6_1.txz
libtorrent-0.13.6.txz
openssl-1.0.2_14.txz
But it did not work - when I start rtorrent, I get error message:
I am at wits end! What else should I try?
I updated ports on my home server like I usually do: 1-2 times per year. I sometimes get problems but have so far managed to solve them. But now I have a problem, that net-p2p/rtorrent does not compile:
Code:
/bin/sh ../libtool --tag=CXX --mode=link clang++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing
-DNDEBUG -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include -pthread -Wl,-rpath=/usr/lib:/usr/local/lib
-fstack-protector -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a
input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -L/usr/local/lib -lcurl -L/usr/local/lib -ltorrent
libtool: link: clang++ -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -DNDEBUG -D_THREAD_SAFE -I/usr/local/include
-I/usr/local/include -pthread -Wl,-rpath=/usr/lib:/usr/local/lib -fstack-protector -o rtorrent main.o libsub_root.a ui/libsub_ui.a
core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -L/usr/local/lib -lcurl -ltorrent -pthread
/usr/local/lib/libtorrent.so: undefined reference to `DH_generate_key'
/usr/local/lib/libtorrent.so: undefined reference to `DH_free'
/usr/local/lib/libtorrent.so: undefined reference to `DH_size'
/usr/local/lib/libtorrent.so: undefined reference to `BN_bin2bn'
/usr/local/lib/libtorrent.so: undefined reference to `SHA1_Init'
/usr/local/lib/libtorrent.so: undefined reference to `RC4_set_key'
/usr/local/lib/libtorrent.so: undefined reference to `BN_num_bits'
/usr/local/lib/libtorrent.so: undefined reference to `DH_new'
/usr/local/lib/libtorrent.so: undefined reference to `BN_bn2bin'
/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'
/usr/local/lib/libtorrent.so: undefined reference to `BN_free'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [rtorrent] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all] Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /usr/ports/net-p2p/rtorrent.
*** [stage] Error code 1
Stop in /usr/ports/net-p2p/rtorrent.
System is FreeBSD 9.3:
Code:
9.3-RELEASE-p9 FreeBSD 9.3-RELEASE-p9 #0: Tue Jan 27 10:43:40 UTC 2015
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
What have I tried so far:
downgrading net-p2p/rtorrent, net-p2p/libtorrent and finally security/openssl to a version over from June 2015 (back then it worked for sure) - still won't compile! I did recompile openssl with all the dependencies. Since that did not work, i did try installing latest binary packages:
rtorrent-0.9.6_1.txz
libtorrent-0.13.6.txz
openssl-1.0.2_14.txz
But it did not work - when I start rtorrent, I get error message:
Code:
usr/local/lib/libtorrent.so.19: Undefined symbol "SHA1_Init"
I am at wits end! What else should I try?