Robin Jackson wrote:
> Here is ldd on libphp3.so:
>
> libgd.so.1 => /usr/lib/libgd.so.1 (0x4016e000)
> libmysqlclient.so.10 =>
> /usr/local/mysql/lib/mysql/libmysqlclient.so.10
> (0x401a5000)
> libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x401c0000)
> libmidgard.so.2 => /usr/local/lib/libmidgard.so.2 (0x401c6000)
> libpam.so.0 => /lib/libpam.so.0 (0x401cb000)
> libm.so.6 => /lib/libm.so.6 (0x401d3000)
> libdl.so.2 => /lib/libdl.so.2 (0x401ef000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x401f3000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x40220000)
> libglib-1.2.so.0 => /usr/local/lib/libglib-1.2.so.0 (0x4022f000)
> libc.so.6 => /lib/libc.so.6 (0x40250000)
> libz.so.1 => /usr/lib/libz.so.1 (0x40343000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x40352000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> libmysqlclient.so.6 => not found
>
> BTW, thanks for the tip....I was not aware of the ldd command.
>
> As you can see, libmysqlclient.s0.10 is cool, so why do I get the
> libmysqlclient.so.6 at the bottom?
Don't know 100% sure, but it could be that you've used both
--with-midgard and --with-mysql and they managed to pick up different
client libs. An ldd on mod_midgard.so or libmidgard.so will tell you
what libmysqlclient is used by midgard.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]