Hello gentelmen, can anybody guide or point me how to compile mysql (4.0) with specific zlib library?
I've precompiled zlib which came with OS (FreeBSD 4.5) in /usr/lib: libz.a libz.so libz.so.1 libz.so.1.1.3 libz.so.2 and have installed myself libz 1.1.4 to /opt/zlib (with usual structure /opt/zlib/include, /opt/zlib/lib). Added path to $ldconfig_paths FreeBSD's rc.conf variable, saw this library with # ldconfig -r ... 78:-lmm.13 => /opt/mm/lib/libmm.so.13 79:-lz.1 => /opt/zlib/lib/libz.so.1 80:-lcrypto.0 => /opt/openssl/lib/libcrypto.so.0 81:-lssl.0 => /opt/openssl/lib/libssl.so.0 So now I want to compile mysql with this library, but it always compiled to /usr/lib Even I've used various ways like: --with-named-z-libs=/opt/zlib and --with-named-z-libs=/opt/zlib/lib and other variants like pointing: LDFLAGS="-L/opt/zlib/lib -R/opt/zlib/lib" LIBS="-L/opt/zlib/lib" (after took a look to configure script) CFLAGS="-L/opt/zlib/lib" an so on it or not compiled with zlib or still used from /usr/lib # ldd mysqld mysqld: libssl.so.0.9.7 => /opt/openssl/lib/libssl.so.0.9.7 (0x2834b000) libcrypto.so.0.9.7 => /opt/openssl/lib/libcrypto.so.0.9.7 (0x28379000) libz.so.2 => /usr/lib/libz.so.2 (0x28465000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28472000) libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x2848b000) libm.so.2 => /usr/lib/libm.so.2 (0x284d0000) libc_r.so.4 => /usr/lib/libc_r.so.4 (0x284ec000) libc.so.4 => /usr/lib/libc.so.4 (0x285a1000) # ldd mysql mysql: libncurses.so.5 => /usr/lib/libncurses.so.5 (0x28085000) libmysqlclient.so.12 => /opt/mysql/lib/mysql/libmysqlclient.so.12 (0x280c7000) libz.so.2 => /usr/lib/libz.so.2 (0x280eb000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280f8000) libssl.so.0.9.7 => /opt/openssl/lib/libssl.so.0.9.7 (0x28111000) libcrypto.so.0.9.7 => /opt/openssl/lib/libcrypto.so.0.9.7 (0x2813f000) libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x2822b000) libm.so.2 => /usr/lib/libm.so.2 (0x28270000) libc.so.4 => /usr/lib/libc.so.4 (0x2828c000) -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]