libmemcachedinternal missing -ldl

Bug #1079997 reported by Remi Collet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
Fix Released
Medium
Brian Aker

Bug Description

When trying to build with recent gcc (4.7.2)

  CXXLD tests/libmemcached-1.0/testapp
/usr/bin/ld: libmemcachedinternal/.libs/libmemcachedinternal.a(libmemcachedinternal_libmemcachedinternal_la-backtrace.o): undefined reference to symbol 'dladdr@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dladdr@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
/lib64/libdl.so.2: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [tests/libmemcached-1.0/internals] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/dev/shm/extras/BUILD/libmemcached-1.0.14'
make: *** [all] Error 2

Workaround
LIBS="-ldl"

Related branches

Revision history for this message
Brian Aker (brianaker) wrote :

Thanks!

This will be fixed in trunk shortly.

Changed in libmemcached:
assignee: nobody → Brian Aker (brianaker)
importance: Undecided → Medium
status: New → In Progress
milestone: none → 1.0.15
Brian Aker (brianaker)
summary: - libmemcached 1.0.14 missing library
+ libmemcachedinternal missing -ldl
Brian Aker (brianaker)
Changed in libmemcached:
status: In Progress → Fix Committed
Brian Aker (brianaker)
Changed in libmemcached:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.