[Mesa-dev] [Bug 54431] New: [build errors] (.text+0x324): undefined reference to `dlopen'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 3 04:03:33 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=54431

             Bug #: 54431
           Summary: [build errors] (.text+0x324): undefined reference to
                    `dlopen'
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: low
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: fabio.ped at libero.it


When trying to configure mesa with:
cd /build/buildd/mesa-9.1~git1209031029.a96119~gd~p/build/osmesa && \
    ../../configure --prefix=/usr --mandir=\${prefix}/share/man \
                 --infodir=\${prefix}/share/info --sysconfdir=/etc \
                 --libdir=\${prefix}/lib/i386-linux-gnu \
                 --localstatedir=/var --build=i686-linux-gnu --disable-egl
--enable-osmesa --disable-dri CFLAGS="-Wall -g -O2" CXXFLAGS="-Wall -g -O2"

I get errors like the following:
(.text+0x324): undefined reference to `dlopen'
/usr/lib/llvm-3.1/lib/libLLVMSupport.a(DynamicLibrary.o): In function
`llvm::sys::DynamicLibrary::getPermanentLibrary(char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
(.text+0x3f0): undefined reference to `dlclose'
/usr/lib/llvm-3.1/lib/libLLVMSupport.a(DynamicLibrary.o): In function
`llvm::sys::DynamicLibrary::getPermanentLibrary(char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':

Full log here:
https://launchpadlibrarian.net/114643665/buildlog_ubuntu-precise-i386.mesa_9.1~git1209031029.a96119~gd~p_FAILEDTOBUILD.txt.gz

The errors go away if I also add --with-gallium-drivers= but I supposes it
should not be needed since I already specified --disable-dri.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list