Coder Social home page Coder Social logo

rust build fails about libmem HOT 8 CLOSED

sk337 avatar sk337 commented on September 26, 2024
rust build fails

from libmem.

Comments (8)

sk337 avatar sk337 commented on September 26, 2024 1

thanks that did the trick

from libmem.

sk337 avatar sk337 commented on September 26, 2024

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

from libmem.

rdbo avatar rdbo commented on September 26, 2024

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

from libmem.

sk337 avatar sk337 commented on September 26, 2024

should i set it to have special perms

from libmem.

rdbo avatar rdbo commented on September 26, 2024

@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

from libmem.

sk337 avatar sk337 commented on September 26, 2024

now it is sayin it cant be found

from libmem.

sk337 avatar sk337 commented on September 26, 2024
    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

from libmem.

rdbo avatar rdbo commented on September 26, 2024
    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

from libmem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.