From owner-freebsd-questions@FreeBSD.ORG Wed Nov 21 03:40:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59EBF16A417 for ; Wed, 21 Nov 2007 03:40:03 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id F084513C45A for ; Wed, 21 Nov 2007 03:40:02 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id lAL3e1Gx008806; Tue, 20 Nov 2007 21:40:01 -0600 (CST) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1qtlZ67-4hBn; Tue, 20 Nov 2007 21:39:57 -0600 (CST) Received: from archangel.daleco.biz (dsl.daleco.biz [209.125.108.70]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id lAL3dqbk008792; Tue, 20 Nov 2007 21:39:53 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <4743A883.3010103@daleco.biz> Date: Tue, 20 Nov 2007 21:39:47 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070418 SeaMonkey/1.1.1 MIME-Version: 1.0 To: jekillen References: <72cfc44de9bbe639c72e6d81759324fd@prodigy.net> In-Reply-To: <72cfc44de9bbe639c72e6d81759324fd@prodigy.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: mysql install Q X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 03:40:03 -0000 jekillen wrote: > Hello; > The following is what I get when I do mysql_install_db. > /libexec/ld-elf.so.1: Shared object "libcrypt.so.2" not found, required > by "my_print_defaults" > /libexec/ld-elf.so.1: Shared object "libcrypt.so.2" not found, required > by "my_print_defaults" > (yes, the same message twice) > I looked in ports for crypt but I do not know what exactly to look for > to satisfy this complaint. > In addition I got the following complaint: > Neither host '' nor 'localhost' could be looked up > with > ./bin/resolveip > Please configure the 'hostname' command to return a correct hostname. > If you want to solve this at a later stage, restart this script with > the --force option > This is strange because this is also secondary dns server for the domain. > > I looked in ports at what is available for mysql and there are a number of > listings for various versions. For a particular version there appear to be > three separate directories, client, server, and scripts. I am a little > confused > as to what all to build and install. Now that I have gotten a handle on > using > ports, I am doing it that way instead of my initial approach, get the > tarballs > unzip, configure, make and make install (and hope for the best). This > happens > to be one of those, accept it is a prebuilt binary package. > mysql-max-5.0.18-freebsd5.3-i386 (hmmm...5.3....?...) > I will try to remove every thing it installed and got to ports if I can > not solve > the immediate problems. Sounds a good idea. If you have an up-to-date ports tree and then install /usr/ports/databases/mysql50-server, you should get a current version of MySQL 5.0 (although 5.1 is out now), and you you will also get the client as a dependency, so you can run your server and talk to it as well. As for the problem above, the current libcrypt.so is linked to libcrypt.so.3, so your tarball is too old for your current system. Use ports instead ;-) And, finally, what does `hostname` return on your system? Kevin Kinsey -- I refuse to consign the whole male sex to the nursery. I insist on believing that some men are my equals. -- Brigid Brophy