>Description: Your tar binary distribution mysql-3.23.37-pc-linux-gnu-i686.tar.gz does not work for compiling proftpd (unless and -lz is added in proftpd's Make.rules) because of references to 'compress' and 'uncompress' in mysqlclient where those functions aren't found. The same failure happens trying to compile Apache/PHP4 with MySQL support. This is a problem that many have noted for some time in various mailing lists. >How-To-Repeat: Install from binary tar, tell programs to be compiled against it to look in /usr/local/mysql/include and /usr/local/mysql/lib, watch compiles fail with complaints they can't find 'compress' and 'uncompress'. >Fix: For Proftpd, alter Make.rules. For Apache - well, I grabbed the MySQL source, compiled the whole damn thing, and then refered Apache to that, and it was fine - so it's something about how you're compiling the binary distro that's odd here. If you're not going to do a static include of zlib, then please set it up so it can find it on the system in the standard way. >Submitter-Id: >Originator: root >Organization: Transpect >MySQL support: none >Synopsis: library missing from static compile >Severity: critical >Priority: >Category: mysql >Class: sw-bug >Release: mysql-3.23.37 (Source distribution) >Server: lt-mysqladmin Ver 8.19 Distrib 3.23.37, for pc-linux-gnu on i686 Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license Server version 3.23.37 Protocol version 10 Connection Localhost via UNIX socket UNIX socket /tmp/mysql.sock Uptime: 17 min 11 sec Threads: 1 Questions: 13 Slow queries: 0 Opens: 0 Flush tables: 2 Open tables: 0 Queries per second avg: 0.013 >Environment: System: Linux debian 2.2.19 #1 Wed Apr 18 12:05:33 EDT 2001 i686 unknown Architecture: i686 Some paths: /usr/local/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs gcc version 2.95.2 20000220 (Debian GNU/Linux) Compilation info: CC='gcc' CFLAGS='-O3' CXX='gcc' CXXFLAGS='-O3 -felide-constructors -fno-exceptions -fno-rtti' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 Apr 18 11:30 /lib/libc.so.6 -> libc-2.1.3.so -rwxr-xr-x 1 root root 887712 Mar 25 17:35 /lib/libc-2.1.3.so -rw-r--r-- 1 root root 2089576 Mar 25 17:36 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Mar 25 17:36 /usr/lib/libc.so Configure command: ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php