[Dovecot] running postlogin script result in libgcc_s.so.1 must be installed for pthread_cancel to work

Kim Johansen maia at weiser.dk
Sun Mar 2 19:09:47 UTC 2014


On 03/02/2014 03:46 PM, Steffen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kim Johansen wrote:
>> On 03/02/2014 01:24 AM, Peter Chiochetti wrote:
>>> Am 2014-03-01 21:53, schrieb Kim Johansen:
>>>> Hey,
>>>>
>>>> In my popafter.sh I call a php script, and that result in:
>>>> dovecot: postlogin: Error: libgcc_s.so.1 must be installed for
>>>> pthread_cancel to work dovecot: postlogin: Error: Aborted (core
>>>> dumped)
>>>>
>>>> I have tried google it, but cannot find a solution there works
>>>> for me, anybody who can help me?
>>> The first thing I would try in your place is to look if
>>> libgcc_s.so.1 is available on your system, and if not, then use
>>> the package manager of choice to install it. Did you do that
>>> already?
>>>
>> I should have put that into my email also.
>>
>> yes, it is on my system:
>>
>> /lib/x86_64-linux-gnu/libgcc_s.so.1 /usr/lib32/libgcc_s.so.1
> Check out https://bugzilla.redhat.com/show_bug.cgi?id=767094
> I'm not sure why VSZ would trigger that error, but who knows?
>
> - -- 
> Steffen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
> Comment: Using GnuPG with undefined - http://www.enigmail.net/
>
> iQEVAwUBUxNEO3D1/YhP6VMHAQKEqQgA0YYamyGvVjiG/C8tq74l+vZrKXlZU0VM
> LSWi4+x/c0D+S6AqCnT1E6lnTfb+KFTRcxAOQW72iSNYMp7EQ/ivEiuAdtjaTG5N
> rhQCHrH31Q39dIITiEV+eJyakWx5xf5lQoHRB2CZkDe8Qa1zXRvyadxZdRPFW4/y
> Std3CIrdj6ej9wFbpz01ZJfTg17yKWtfX1A7J2WEgaC1QuXtmJn/HFBZ/U6skF/O
> P1gq8Pv/nesvd1dgM6aW9VX7hpUrBxf2Hw9kgExiv1D7s6V9bw4AQsnqpWxTyiM7
> 9MetROloIbNtDkYaQkpYGfid0f/YYnXHe+bxwAGehsO0BLV1cLJbsw==
> =fh3S
> -----END PGP SIGNATURE-----
>
Thanks for all the suggestions.

Here is a try to follow up on all of them:

- the VSZ mem limit did not make any change on my system, I tried to 
raise it to 1024M, with no luck.

- the linker sees the files fine:
         mail1 dovecot $ ldconfig -p | grep libgcc_s
         libgcc_s.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libgcc_s.so.1
         libgcc_s.so.1 (libc6) => /usr/lib32/libgcc_s.so.1
         mail1 dovecot $

- but I have had success with using a bash script instead of a PHP 
script, with a smaller foodprint as Jeroen suggested.
So I think that is the solution is to rewrite the script to bash script. 
What I try to do it to convert password scheme to get et more secure, so 
I follow the guide from the wiki sites: 
http://wiki2.dovecot.org/HowTo/ConvertPasswordSchemes and here they have 
a PHP script.

But thanks for the help.
Kim



More information about the dovecot mailing list