NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Rust with 9 Beta



I did a fresh install for 9.0 BETA. Built pkgin from source, /usr/pkg/etc/pkgin/repositories.conf points me to http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/8.0_2019Q2/All. So far almost everything I need installs. I did have to softlink a few expected libraries in /usr/lib to a later version. i.e. one package wanted libcrypto.so.12, but that was not present, so I linked it to so.14.

$ ls -l /usr/lib/libcrypto.so.*
lrwxr-xr-x  1 root  wheel  17 Jul 31 15:42 /usr/lib/libcrypto.so.12 -> libcrypto.so.14.0
lrwxr-xr-x  1 root  wheel  27 Jul 30 12:52 /usr/lib/libcrypto.so.14 -> ../../lib/libcrypto.so.14.0
lrwxr-xr-x  1 root  wheel  27 Jul 30 12:52 /usr/lib/libcrypto.so.14.0 -> ../../lib/libcrypto.so.14.0

When I try to install Rustup I get the following error:

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
/usr/pkg/lib/libcurl.so.4: Undefined PLT symbol "SSL_load_error_strings" (symnum = 77)

Installing Rust with pkgin installs without an error but I get this when I try to use cargo:

$ cargo --version
cargo: Undefined symbol "SSLeay" (symnum = 99)

$ cargo run
cargo: Undefined symbol "SSLeay" (symnum = 99)

$ cargo build
cargo: Undefined symbol "SSLeay" (symnum = 99)

I have not tried to build from source yet. The pkgsrc version pulled in by the install is stable and that has rust version 1.34.

Any suggestions?

$ uname -a
NetBSD clement 9.0_BETA NetBSD 9.0_BETA (GENERIC) #0: Tue Jul 30 16:52:10 UTC 2019  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64


Ron Georgia
“90% of my problems are due to ignorance, the other 10% is because I just don’t know any better.”






Home | Main Index | Thread Index | Old Index