Red Hat Bugzilla – Bug 64257
libpthread.so: undefined reference to '-dl_cpuclock_offset'
Last modified: 2016-11-24 10:18:25 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)
Description of problem:
Undefined reference to '_dl_cpuclock_offset' from libpthread.so
I had similar problem with original distribution of glibc. The problem went
away when I upgraded to glibc-2.2.4-19 level. This problem re-appears on latest
Version-Release number of selected component (if applicable):
1. objdump -T libpthread.so
2. you should see the entry (_dl_cpuclock_offset)
Steps to Reproduce:
1.objdump -T /usr/lib/libpthread.so > tst.txt
2.There is an entry '_dl_cpuclock_offset' marks as undefined in tst.txt
problem occurs on glibc-2.2.4-24.i686.rpm only. problem goes away after
This looks like you have a mixture of i386 and i686 libraries, particularly
that your /lib/ld-linux.so.2 comes from some .i386.rpm and /lib/i686/libpthread.so.0
or /lib/libpthread.so.0 comes from .i686.rpm.
_dl_cpuclock_offset is only defined in i686 /lib/ld-linux.so.2.
Before glibc 2.2.5 rpms due to some rpm bugs /lib/i686 was not always wiped
out when "upgrading" an older .i686.rpm with a newer .i386.rpm glibc.