Re: undefined symbol: __stack_chk_fail_local

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> http://sundaram.fedorapeople.org/packages/pam_sotp-0.3.3-1.fc9.src.rpm
>>
>>  PAM unable to dlopen(/lib/security/pam_sotp.so): \
>>   /lib/security/pam_sotp.so: undefined symbol: __stack_chk_fail_local
>>
>>   Some googling suggested linking with gcc rather than ld, but I
>> can't work out how to make the rpm do that.

Jakub Jelinek wrote:

> Yeah, that's very likely the case.  Linking with ld -shared as opposed
> to gcc -shared is (almost always) a bug.
> Guess you need to modify this package's Makefiles to do the right thing...

OK, thanks. I found the right Makefile.in, fixed it, and it works.


and Andrew Haley wrote:

>> (This is all Fedora 9, gcc-4.3.0-8.i386).
>
>This symbol hould be in /lib/libc.so.6.  Isn't it?

No.  At least not according to strings or nm.  It is in
/usr/lib/libc.a though (and __stack_chk_fail is in libc.so.6).  That's
with glibc-2.8-8.i686.

thanks to both of you for your help.


Douglas

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux