Libelf version 0.8.10 - How to Download and Install on Mac OS X
Friday the 19th of March, 2010

    version 0.8.10

      View the most recent changes for the libelf port at: libelf.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for libelf.
      The raw portfile for libelf 0.8.10 is located here:
      http://libelf.darwinports.com/dports/devel/libelf/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/libelf


      The libelf Portfile 50984 2009-05-14 21:08:43Z and.damore macports.org $

      PortSystem 1.0

      Name: libelf
      Version: 0.8.10
      Revision: 1
      Category: devel
      Maintainers: vexate.net:jstrine
      Description: ELF object file access library
      Homepage: http://www.mr511.de/software/english.html
      Platform: darwin

      Long Description: 'Libelf' lets you read, modify or create ELF files in an architecture-independent way. The library takes care of size and endian issues, e.g. you can process a file for SPARC processors on an Intel-based system.

      Master Sites: http://www.mr511.de/software
      distname libelf-${version}
      Checksums: md5 9db4d36c283d9790d8fa7df1f4d7b4d9 sha1 5f6fb666b0cf604243110383ba55ef37df1c8ece

      depends_lib port:gettext

      configure.args --enable-compat
      build.pre_args-append instroot=${destroot}
      destroot.pre_args-append instroot=${destroot}

      post-destroot {
      file delete ${destroot}${prefix}/include/nlist.h
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/libelf
      % sudo port install libelf
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching libelf
      ---> Verifying checksum for libelf
      ---> Extracting libelf
      ---> Configuring libelf
      ---> Building libelf with target all
      ---> Staging libelf into destroot
      ---> Installing libelf
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using libelf with these commands:
      %  man libelf
      % apropos libelf
      % which libelf
      % locate libelf

     Where to find more information:

    Darwin Ports



    Lightbox this page.