libmemcachedinternal missing -ldl

Bug #1079997 reported by Remi Collet on 2012-11-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
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

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) on 2012-11-19
summary: - libmemcached 1.0.14 missing library
+ libmemcachedinternal missing -ldl
Brian Aker (brianaker) on 2012-11-20
Changed in libmemcached:
status: In Progress → Fix Committed
Brian Aker (brianaker) on 2012-12-23
Changed in libmemcached:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers