pkgsrc-Users archive

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

Re: CVS commit: pkgsrc/lang



n Tue, May 19, 2020 at 08:59:26PM +0200, Thomas Klausner wrote:
> => Checking for missing run-time search paths in rust-1.42.0
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-ar: missing library: libstdc++.so.8
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-nm: missing library: libstdc++.so.8
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-objcopy: missing library: libstdc++.so.8
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-objdump: missing library: libstdc++.so.8
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-profdata: missing library: libstdc++.so.8
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-readobj: missing library: libstdc++.so.8
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-size: missing library: libstdc++.so.8
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-strip: missing library: libstdc++.so.8
> *** Error code 1

There libraries are also missing on 9 (my machine is a 9.0 userland
with a -current kernel, I built it with PKG_DEVELOPER=yes). libstdc++.so.8
is provided by emulators/compat80, which is in DEPENDS. Installing compat80
creates symlinks:

$ ls -l /usr/lib/libstdc++.so.8
lrwxr-xr-x  1 root  wheel  43 May 19 21:52 /usr/lib/libstdc++.so.8 -> /usr/pkg/emul/netbsd/usr/lib/libstdc++.so.8

Is there some reason this would fail (unprivileged pkgsrc?)

We could add the emulation path to the libraries with patchelf. 


Home | Main Index | Thread Index | Old Index