• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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