php: error while loading shared libraries: libintl.so.2: ELF load command

nwilkens

Well-Known Member
May 4, 2006
59
0
156
Monroe MI
cPanel Access Level
DataCenter Provider
recieving error message:

php: error while loading shared libraries: libintl.so.2: ELF load command
alignment not page-aligned

This happens when trying to run:

# /usr/local/cpanel/3rdparty/bin/php -v
/usr/local/cpanel/3rdparty/bin/php: error while loading shared libraries:
libintl.so.2: ELF load command alignment not page-aligned

# ldd/usr/local/cpanel/3rdparty/bin/php
/usr/local/cpanel/3rdparty/bin/php: error while loading shared libraries:
libintl.so.2: ELF load command alignment not page-aligned


and when horde or squirrelmail are trying to run. This has just started.

# ls -l /usr/local/cpanel/lib/libintl.so.2
-rwxr-xr-x 1 root root 92953 Sep 3 2005 /usr/local/cpanel/lib/libintl.so.2*

Anythoughts?
 

nwilkens

Well-Known Member
May 4, 2006
59
0
156
Monroe MI
cPanel Access Level
DataCenter Provider
sorta resolved..

downloaded libintl2-0.11.5-8sls.i586.rpm and copied libintl.so.2.2.0 to /usr/local/cpanel/lib/ and renamed to libintl.so.2 (after backing up original).

But why all of a sudden did this start happening?
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
nwilkens said:
downloaded libintl2-0.11.5-8sls.i586.rpm and copied libintl.so.2.2.0 to /usr/local/cpanel/lib/ and renamed to libintl.so.2 (after backing up original).
What is your OS? Did you install or modify or upgrade/downgrade any application on your server earlier and then started having this problem? Now, are you sure that libintl2-0.11.5-8sls.i586 is compatible with your system?