* Build fails on Fedora 14 on linking librados-config
@ 2011-12-07 15:19 Guido Winkelmann
2011-12-09 15:17 ` Guido Winkelmann
0 siblings, 1 reply; 2+ messages in thread
From: Guido Winkelmann @ 2011-12-07 15:19 UTC (permalink / raw)
To: ceph-devel
Hi,
When building ceph 0.39 on Fedora 14, the build process fails with the
following messages:
CXXLD librados-config
/usr/bin/ld: ./.libs/libglobal.a(libcommon_la-HeartbeatMap.o): undefined
reference to symbol 'pthread_rwlock_wrlock@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_rwlock_wrlock@@GLIBC_2.2.5' is defined in DSO
/lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [librados-config] Error 1
Guido
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Build fails on Fedora 14 on linking librados-config
2011-12-07 15:19 Build fails on Fedora 14 on linking librados-config Guido Winkelmann
@ 2011-12-09 15:17 ` Guido Winkelmann
0 siblings, 0 replies; 2+ messages in thread
From: Guido Winkelmann @ 2011-12-09 15:17 UTC (permalink / raw)
To: ceph-devel
Am Mittwoch, 7. Dezember 2011, 16:19:24 schrieben Sie:
> Hi,
>
> When building ceph 0.39 on Fedora 14, the build process fails with the
> following messages:
>
> CXXLD librados-config
> /usr/bin/ld: ./.libs/libglobal.a(libcommon_la-HeartbeatMap.o): undefined
> reference to symbol 'pthread_rwlock_wrlock@@GLIBC_2.2.5'
> /usr/bin/ld: note: 'pthread_rwlock_wrlock@@GLIBC_2.2.5' is defined in DSO
> /lib64/libpthread.so.0 so try adding it to the linker command line
> /lib64/libpthread.so.0: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[3]: *** [librados-config] Error 1
I filed a bug under http://tracker.newdream.net/issues/1797
It turns out compiling works if you call configure with
LIBS="-lpthread" ./configure
Guido
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-09 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-07 15:19 Build fails on Fedora 14 on linking librados-config Guido Winkelmann
2011-12-09 15:17 ` Guido Winkelmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.