Neil Stickels | 14 Sep 21:14

problems compiling checkpassword

I downloaded checkpassword 0.9 and I am trying to setup it up on my Fedora Core 4 box.  When I run make, I get the following error:

./load checkpassword prot.o unix.a byte.a  `cat \
shadow.lib` `cat crypt.lib` `cat s.lib`
/usr/bin/ld: errno: TLS definition in /lib64/libc.so.6 section .tbss mismatches non-TLS reference in checkpassword.o
/lib64/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [checkpassword] Error 1

Sascha Silbe | 14 Sep 22:03

Re: problems compiling checkpassword

On Thu, Sep 14, 2006 at 02:15:48PM -0500, Neil Stickels wrote:

> /usr/bin/ld: errno: TLS definition in /lib64/libc.so.6 section .tbss
> mismatches non-TLS reference in checkpassword.o
Probably the well-known errno issue. Try this patch[1].

[1] 
http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/checkpassword-0.90.errno.patch

CU Sascha

--

-- 
http://sascha.silbe.org/

Paul Jarc | 14 Sep 22:10

Re: problems compiling checkpassword

"Neil Stickels" <nstickels <at> gmail.com> wrote:
> ./load checkpassword prot.o unix.a byte.a  `cat \
> shadow.lib` `cat crypt.lib` `cat s.lib`
> /usr/bin/ld: errno: TLS definition in /lib64/libc.so.6 section .tbss mismatches non-TLS reference in checkpassword.o

There's a patch to fix this here:
http://djbware.csi.hu/patches/

paul


Gmane