From owner-freebsd-questions@FreeBSD.ORG Thu Jun 22 21:08:05 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 719F216A47B for ; Thu, 22 Jun 2006 21:08:05 +0000 (UTC) (envelope-from swygue@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F12B43D6D for ; Thu, 22 Jun 2006 21:08:04 +0000 (GMT) (envelope-from swygue@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so742976uge for ; Thu, 22 Jun 2006 14:08:03 -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=J+HIVMUBNEWu9qUUkZZ2eOOKxLg0tQ1skaKRMKegQnNRwqfBDXKL2NANYNIywxrfaKzXJ8YlZnSRO7rOD8og8+v2OvU+ukMFf14mzl/mnDyaUINmqQSAg/K8xiASXnM+Fcz5zM51tSvQPDJwr0koDfEy20OF2oKEieXrC1Q2c0c= Received: by 10.78.185.7 with SMTP id i7mr897192huf; Thu, 22 Jun 2006 14:01:50 -0700 (PDT) Received: by 10.78.20.7 with HTTP; Thu, 22 Jun 2006 14:01:50 -0700 (PDT) Message-ID: Date: Thu, 22 Jun 2006 17:01:50 -0400 From: swygue To: "Corey Brune" In-Reply-To: <562705370606221151g6efa05b3m6fcfaa6d828eb42d@mail.gmail.com> MIME-Version: 1.0 References: <562705370606221151g6efa05b3m6fcfaa6d828eb42d@mail.gmail.com> 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 21:08:05 -0000 Corey, Thanks for your response, I did set the LD_LIBRARY_PATH but ldd still can't find it. pgsql@server1=>ldd /usr/local/postgresql-7.4.2/bin/psql /usr/local/pgsql/bin/psql: libpq.so.3 => not found (0x0) libpam.so.1 => /usr/lib/libpam.so.1 (0x28086000) libz.so.2 => /usr/lib/libz.so.2 (0x28090000) libreadline.so.4 => /usr/lib/libreadline.so.4 (0x2809d000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280c2000) libm.so.2 => /usr/lib/libm.so.2 (0x280db000) libutil.so.3 => /usr/lib/libutil.so.3 (0x280f7000) libc.so.4 => /usr/lib/libc.so.4 (0x28100000) libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2819a000) -Rod On 6/22/06, Corey Brune wrote: > > 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" > > -- swygue neron --->>