pkgsrc-Users archive

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

Building rust on netbsd-9/i386



I'm trying to build rust (for firefox) on netbsd-9/i386

To get the cargo binary to run I just needed to copy some libs from netbsd-8
    cp -a lib/libcrypto.so.12* /lib
    cp -a usr/lib/libcrypto.so.12* /usr/lib
    cp -a usr/lib/libssl.so.12* /usr/lib
    cp -a usr/lib/libstdc++.so.8* /usr/lib
    cp -a usr/lib/libgomp.so.1* /usr/lib

but then later I hit rust-bootstrap/bin/rustc failing with "Shared
object \"libLLVM-7.so\" not found" (full error below).

There is a .buildlink/lib/libLLVM-8.so present. Am I missing something
obvious here? :)

Thanks

David

(That rust-bootstrap/bin/rustc error)
error: process didn't exit successfully:
`/var/obj/pkg/lang/rust/work/rust-bootstrap/bin/rustc -vV` (exit code:
1)
--- stdout
rustc 1.37.0
binary: rustc
commit-hash: unknown
commit-date: unknown
host: i686-unknown-netbsd
release: 1.37.0

--- stderr
error: couldn't load codegen backend
"/var/obj/pkg/lang/rust/work/rust-bootstrap/lib/rustlib/i686-unknown-netbsd/codegen-backends/librustc_codegen_llvm-llvm.so":
"/var/obj/pkg/lang/rust/work/rust-bootstrap/lib/rustlib/i686-unknown-netbsd/codegen-backends/librustc_codegen_llvm-llvm.so:
Shared object \"libLLVM-7.so\" not found"


Home | Main Index | Thread Index | Old Index