Closed sk337 closed 6 months ago
my etc/os-release
NAME="Fedora Linux"
VERSION="39 (Workstation Edition)"
ID=fedora
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Fedora Linux 39 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:39"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f39/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=39
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=39
SUPPORT_END=2024-11-12
VARIANT="Workstation Edition"
VARIANT_ID=workstation
The current version on crates.io assumes you have libmem already installed in your system
The new bindings from master
will fetch and link libmem automatically for you, but I haven't finished v5.0 yet
If you wanna use the older version while v5.0 doesn't come out, you can download libmem from: https://github.com/rdbo/libmem/releases/tag/4.4.0 and put the liblibmem.so
file in your /usr/local/lib
or /usr/lib
should i set it to have special perms
@sk337 as long as it's readable by any user, should be fine.
Normally it would be chown root:root liblibmem.so && chmod 664 liblibmem.so
now it is sayin it cant be found
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
Running `target/debug/narco`
target/debug/narco: error while loading shared libraries: liblibmem.so: cannot open shared object file: No such file or directory
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s Running `target/debug/narco` target/debug/narco: error while loading shared libraries: liblibmem.so: cannot open shared object file: No such file or directory
Your system is probably not looking at /usr/local/lib
You can do one of the following
export LD_LIBRARY_PATH="/usr/local/bin"
cargo run
or install at /usr/lib
thanks that did the trick
when i try to build using rust i get the following error