Not Working FTP [not-solved]

While trying to connect to FTP, got this:
"libgcc_s.so.1 must be installed for pthread_cancel to work"
Solution:
apt-get install libpam-ldap
It worked after this.

we have still same problem with ubuntu 12.10,

libgcc_s.so.1 must be installed for pthread_cancel to work

this also seems did not solve: apt-get install libpam-ldap

any other suggestion?
I'm working on this.
this is only thing that prevents new vesions from coming up.
vsftpd is problematic after ubuntu 11.10

this seems to happen in 64 bit Ubuntu's.

here are some notes:

apt-get install ia32-libs : not worked
apt-get install libc6-i386 lib32gcc1 : not worked

may be cause: "FC5 is using GLibC v2.4, which is not compatible with most of the EDA tools. So, I'll recommend FC4 instead."

I think the only way to to get pasted this issue, is if EHCP bundle vsftpd 2.3.2 into the install package, and maybe also start a modified version of vsftpd based off 2.3.2 foe ehcp with parts of the newer versions of vsftpd added when needed, and as apart of the ehcp installer after vsftpd is installed, vsftpd should get Pinned to ubuntu so it will not try to upgrade.
example: /etc/apt/preferences.d/vsftpd
in file add:
Package: vsftpd
Pin: release a=oneiric
Pin-Priority: 990

this is what i did on my 12.04

are you using vsftpd with ubuntu 12.04 and 12.10 ?

im using ubuntu 12.04,
the problem with the changes in vsftpd was added in versiom 2.3.5, so i use oneiric's vsftpd 2.3.2 version, which is the last version thats works with EHCP before they added permission change.

this was also tested and works for 12.10 beta.

thanks, this seems a temporary solution. Do you have, or does anybody have any idea how to solve root cause of vsftpd problem ?
what was introduced in vsftpd 2.3.5 which makes problem..

As of vsftpd 2.3.5, the chroot directory that users are locked to must not be writable. This is in order to prevent a security vulnerabilty.

TO FIX Maybe: http://www.benscobie.com/fixing-500-oops-vsftpd-refusing-to-run-with-wri...

@ehcpdeveloper, I think that this could be good solution.

I have ehcp installed for about 3 days. So I don't know it very well yet.
For vsftpd users root directory must not have write rights.
So, ehcp must set proper rights to root directory of any ftp user 'chmod a-w dir'. And change it only when needed (before creating domain directory).

I know that user could not create any dir or file in root directory, but this is not a bug it's feature :) vsftpd demand this.

Could you provide me some hint, where in classapp.php (in which function) i could add 'chmod a-w dir'?