Re:Firefox Send: Free encrypted file transfer service
by alxlaz on Tuesday March 12, 2019 @10:56AM
(#19368727)
It's a BSD world thing :). Local (i.e. non-system) executables and libraries go under /usr/local around here (i.e. libraries under /usr/local/lib, binaries under /usr/local/bin and so on, the hierarchy under /usr/local has the same structure as that under /usr).
[ Parent
| on HN ]
Re:Firefox Send: Free encrypted file transfer service
by drewg123 on Tuesday March 12, 2019 @11:25AM
(#19369032)
You can work around it by creating a cargo config with a wrapper. Eg:
cat ~/.cargo/config
[target.x86_64-unknown-freebsd]
linker = "/home/drewg123/bin/cargo-ld"
Where cargo-ld is just a wrapper: #!/bin/sh
exec /usr/bin/ld -L/usr/local/lib $*