Results 1 to 2 of 2

Thread: libdl.so not found

  1. #1
    Join Date
    Jul 2012
    Beans
    1

    Angry libdl.so not found

    I am using a Ubuntu Amazon EC2 cloud instance and cannot build anything on it because libdl.so is missing.

    Code:
    g++ -g -O2 -o .libs/DllPlugInTester DllPlugInTester.o CommandLineParser.o  -ldl ../../src/cppunit/.libs/libcppunit.so -lm  -Wl,--rpath -Wl,/home/ubuntu/cppunit/lib
    ../../src/cppunit/.libs/libcppunit.so: undefined reference to `dlsym'
    ../../src/cppunit/.libs/libcppunit.so: undefined reference to `dlopen'
    ../../src/cppunit/.libs/libcppunit.so: undefined reference to `dlclose'
    Code:
    ubuntu@ip-10-196-63-1:~/junit/source$ whereis libdl
    libdl:
    And I have libc6 installed

    Code:
    ubuntu@ip-10-196-63-1:~/junit/source$ sudo apt-get install libc6
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    libc6 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    I'm more of a Fedora/Red Hat guy so this is quite confusing - why isn't there /lib(32|64)/libdl.so available?

    What do I need to install to start compiling?

    This is what I installed as a start on the instance:
    Code:
    sudo apt-get install python python3 subversion openjdk-7-jdk wget tar unzip gcc g++

  2. #2
    Join Date
    Nov 2004
    Location
    Maine
    Beans
    1,427
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: libdl.so not found

    you may have to install the ia32 libs also if your building in a 64 bit environment.
    Dave
    Registered Linux User #462608
    Ubuntu 14.04.1 /Xubuntu 14.04.1

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •