From owner-freebsd-questions Thu Dec 12 7:46: 6 2002 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 98C9737B401 for ; Thu, 12 Dec 2002 07:46:05 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E542343EC5 for ; Thu, 12 Dec 2002 07:46:04 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id gBCFjwCp078747; Thu, 12 Dec 2002 09:45:58 -0600 (CST) (envelope-from dan) Date: Thu, 12 Dec 2002 09:45:58 -0600 From: Dan Nelson To: Stephen Hoover Cc: freebsd-questions@FreeBSD.ORG Subject: Re: SOLVED - RE: /usr/libexec/elf/ld: cannot find -lmysqlclient while compiling maildrop Message-ID: <20021212154557.GD7232@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.0-RC X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Dec 12), Stephen Hoover said: > Thought I would post this information to the list in case anyone else > had a similar problem. > > Following a suggestion I found on a web page under a google search, I > created the following symlink: > > /usr/lib/libmysqlclient.so -> /usr/local/lib/mysql/libmysqlclient.so.10 A better solution would be to add -L/usr/local/lib/mysql to your link line. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message