apache/glibc problems

justadollar

Verified User
Joined
Dec 8, 2004
Messages
21
Well this is a long long story, so I'll try and make it as short as possible. I am using CentOS 3.4 as my operating system.

I dediced that it was time to update one of my spare machines so I went to /usr/local/directadmin/customapache and did:

rm -rf configure.*
./build clean
./build update
./build all -y

Everything went through without any errors or problems until I went to restart apache. I am getting the error:

Cannot load /etc/httpd/modules/libphp4.so into server: /usr/lib/libmysqlclient.so.10: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

I have done hours of searching on google as well as many forums and I still have not come up with any answers. I have tried exporting the LD_ASSUME_KERNEL=2.4.1 but this only allows me to use /etc/init.d/httpd and apachectl. It seems directadmin uses the service command:

service httpd restart

which still gives me that error. Upon investigation of other systems I noticed this difference.

On the updated system that doesn't work:

ldd /usr/lib/libmysqlclient.so.10 shows:

libc.so.6 => /lib/i686/libc.so.6

On a system that does work:

libc.so.6 => /lib/tls/libc.so.6

any ideas?
 
Back
Top