From owner-freebsd-questions@FreeBSD.ORG Fri Aug 15 18:18:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DE1C37B401 for ; Fri, 15 Aug 2003 18:18:21 -0700 (PDT) Received: from vfemail.net (node-423a570c.mwc.onnet.us.uu.net [66.58.87.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BA5743FBF for ; Fri, 15 Aug 2003 18:18:20 -0700 (PDT) (envelope-from gcn53@vfemail.net) Received: (qmail 86274 invoked by uid 85); 16 Aug 2003 01:18:18 -0000 Received: from gcn53@vfemail.net by mail.vfemail.net by uid 0 with qmail-scanner-1.16 Clear:SA:0(-3.0/5.0):. Processed in 6.071206 secs); 16 Aug 2003 01:18:18 -0000 X-Spam-Status: No, hits=-3.0 required=5.0 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 16 Aug 2003 01:18:12 -0000 Received: from ACBCD5FB.ipt.aol.com (ACBCD5FB.ipt.aol.com [172.188.213.251]) by www.vfemail.net (Horde) with HTTP for ; Fri, 15 Aug 2003 20:18:11 -0500 Message-ID: <1060996691.b735e84429a4e@www.vfemail.net> X-Priority: 3 (Normal) Date: Fri, 15 Aug 2003 20:18:11 -0500 From: gcn53@vfemail.net To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Mailman-Approved-At: Tue, 19 Aug 2003 13:08:53 -0700 Subject: Shared libraries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2003 01:18:21 -0000 I posted the question below earlier on. Following further research it seems that libmysqlclient needs the functions provided by -lz but I don't know how to get that flag into the make file. So I tried reinstalling mysql323-client and noticed the following warning: *** Warning: This library needs some functionality provided by -lz. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lcrypt. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lm. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. So if I had the shared versions of the libraries would that overcome my exim-mysql upgrade problems? If so how or where do I get the shared library versions? TIA Graeme ----- Forwarded message from gcn53@vfemail.net ----- Date: Fri, 15 Aug 2003 09:42:22 -0500 From: gcn53@vfemail.net Subject: Problem upgrading exim-mysql To: freebsd-questions@freebsd.org I'm running the exim-mysql package on FreeBSD 4.7 and using the deprecated exiscan patch for virus scanning. I am now trying to upgrade my exim installation from exim-mysql-4.20_1 to the latest exim-mysql-4.21_1, so as to use the new exiscan-acl patch and make use of the new exim 4.21 features. I am using the command "portupgrade -v exim-mysql" to perform the upgrade but get the following error: ====== /usr/local/lib/mysql/libmysqlclient.so: undefined reference to `uncompress' /usr/local/lib/mysql/libmysqlclient.so: undefined reference to `compress' *** Error code 1 Stop in /usr/ports/mail/exim-mysql/work/exim-4.21/build-FreeBSD-i386. *** Error code 1 Stop in /usr/ports/mail/exim-mysql/work/exim-4.21. *** Error code 1 Stop in /usr/ports/mail/exim-mysql. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade15850.0 mak e ** Fix the problem and try again. ====== Has anyone any ideas as to how I might "Fix the problem"? TIA Graeme ----- End forwarded message -----