• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

libfreetype.so.6: wrong ELF class: ELFCLASS32

  • Thread starter Stéphane Lix
  • Start date
S

Stéphane Lix

Guest
I cannot start sw-engine-cgi on my debian lenny. I get this error message:

:~# /usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
/usr/bin/sw-engine-cgi: error while loading shared libraries: libfreetype.so.6: wrong ELF class: ELFCLASS32


libfreetype.so.6 should be installed:

~# ldconfig -p | grep libfreetype.so.6
libfreetype.so.6 (libc6) => /usr/lib/libfreetype.so.6

What can I do?

Regards

Stéphane
 
I have requested details about this problem from development team. I will update this post when I receive any results of investigation.
 
I have plesk pn Debian Lenny x64, and checks

~# ldconfig -p | grep libfreetype.so.6
libfreetype.so.6 (libc6,x86-64) => /usr/lib/libfreetype.so.6
libfreetype.so.6 (libc6) => /usr/lib32/libfreetype.so.6
~#

Probably, your "libfreetype.so.6" is 32-bit version.
 
Right. Developers have informed that you should install 64bit version of library there instead existing 32bit version.
 
Back
Top