Coder Social home page Coder Social logo

Comments (1)

mburr avatar mburr commented on June 1, 2024

I think that what's happening is that ldd is a script that ultimately runs /lib64/ld-linux-x86-64.so.2 to produce the output about the library dependencies. The line of output that mentions ld-linux will always report the /lib64/ld-linux-x86-64.so.2 as the target because it's the loader that is actually loaded and running when you invoke ldd.

See http://unix.stackexchange.com/a/76514/7084 for some more details.

Use

readelf -l  myexe  | grep interpreter

to reliably see what's in the executable file, and use ls -l on what's displayed there if you want to know if and what the name is ultimately linked to.

from patchelf.

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.