calvin@xxxxxxxxxxxxxx wrote:
Paul Howarth
On Mon, 2005-03-07 at 20:16 -0800, calvin@xxxxxxxxxxxxxx wrote:
These files are in the chroot directory meaning:
/chroot/www/etc/httpd/conf.d/auth_mysql.conf
/chroot/www/etc/httpd/modules/mod_auth_mysql.so
/chroot/www/usr/lib/mysql/libmysqlclient.so.10
Why does it complain that it wan not there ? Any idea ?
/chroot/www/usr/lib/mysql/libmysqlclient.so.10 should be a symlink to
libmysqlclient.so.10.0.0
/chroot/www/usr/lib/mysql/libmysqlclient.so.10.0.0 should be a regular
file.
Are they?
Yes.
"ldd /usr/lib/mysql/libmysqlclient.so.10.0.0" shows that the following
libraries should also be present in the chroot:
libz.so.1 => /usr/lib/libz.so.1 (0x00912000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00d8b000)
libnsl.so.1 => /lib/libnsl.so.1 (0x003b8000)
libm.so.6 => /lib/tls/libm.so.6 (0x0080e000)
libc.so.6 => /lib/tls/libc.so.6 (0x006e2000)
/lib/ld-linux.so.2 (0x006c9000)
Are they?
Yes. they are all in the /chroot/www/xxx/xxx/ directories.
Wait, wait. Are you chrooting to "/chroot" or "/chroot/www"? If you're
just doing it to "/chroot", those libraries and such should be in
/chroot/usr/lib and /chroot/lib.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- IGNORE that man behind the keyboard! -
- - The Wizard of OS -
----------------------------------------------------------------------