From owner-freebsd-questions@FreeBSD.ORG Thu Jun 22 18:51:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B066516A4A6 for ; Thu, 22 Jun 2006 18:51:23 +0000 (UTC) (envelope-from mcbrune@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA1AB449C6 for ; Thu, 22 Jun 2006 18:51:22 +0000 (GMT) (envelope-from mcbrune@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so681623uge for ; Thu, 22 Jun 2006 11:51:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=DWUxFuFDAOSJfn8/Vy5gubaVGYuHagi8TKTYh+E8pXskmdaYk1mvlwtsTWYITwaH3BwZe/A1IJTG86n0NDbzoJhvbok46Sjq17fzcrz6iZOWt7tdqGiO4QkY7za/an0BzYDKa94QlFyLTC4ISTPpfB/EuwZe9Y8EMSQ0aJUXzaA= Received: by 10.67.28.9 with SMTP id f9mr1336247ugj; Thu, 22 Jun 2006 11:51:21 -0700 (PDT) Received: by 10.66.221.2 with HTTP; Thu, 22 Jun 2006 11:51:20 -0700 (PDT) Message-ID: <562705370606221151g6efa05b3m6fcfaa6d828eb42d@mail.gmail.com> Date: Thu, 22 Jun 2006 13:51:20 -0500 From: "Corey Brune" To: swygue In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Learn more about ld-elf and FreeBSD 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: Thu, 22 Jun 2006 18:51:23 -0000 Have you tried setting LD_LIBRARY_PATH to include the directory where libpq is? Are you getting this error after psql or something like it? If you haven't, then set LD_LIBRARY_PATH, then type 'ldd '. This will tell you which libs are found and which are not. Hope this helps. Corey On 6/22/06, swygue wrote: > > Once in a while I get some error, looking like this: > > /usr/libexec/ld-elf.so.1: Shared object "libpq.so.3" not found > > This specific error was a result of trying to connect to a > postgresql-7.4.2 database running on FreeBSD, 4.6.2. And yes the > server is in the process of being decommissioned. > > I was wondering how have others resolve problems related to ld-elf and > shared objects ? And where can I find more information about ld-elf > and FreeBSD ? > > Thanks > > -- > swygue neron --->> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >