Code Monkey home page Code Monkey logo

Comments (5)

ghazel avatar ghazel commented on July 28, 2024

file which ruby

/usr/local/bin/ruby: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

from memprof.

ice799 avatar ice799 commented on July 28, 2024

hi -

can you try to apply this patch, make clean, make, and tell me what happens: http://timetobleed.com/files/memprof-fix.patch

there is a bug/miscommunication issue in libelf with the function that is giving you problems. so let's try a simple fix first, and if this fails we'll do more digging.

from memprof.

anildigital avatar anildigital commented on July 28, 2024

How to apply this patch? (Ubuntu 9.10)

from memprof.

ghazel avatar ghazel commented on July 28, 2024

$ ruby -e "require 'memprof'"
ruby: symbol lookup error: /usr/local/ruby/lib/ruby/gems/1.8/gems/memprof-0.1.2/lib/memprof.so: undefined symbol: elf_getshdrstrndx

from memprof.

tmm1 avatar tmm1 commented on July 28, 2024

this was fixed by bundling our own version of libdwarf and libelf

from memprof.

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.