From owner-freebsd-questions Thu Jun 28 23:12:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id BA8D737B401 for ; Thu, 28 Jun 2001 23:12:11 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 48027 invoked by uid 100); 29 Jun 2001 06:12:11 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15164.7227.73360.433513@guru.mired.org> Date: Fri, 29 Jun 2001 01:12:11 -0500 To: kent sin Cc: questions@freebsd.org Subject: Re: can not start firebird : ld-elf.so.1 In-Reply-To: <12704484@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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 kent sin types: > Where should the libgds.so moved so that it can be > found by ld-elf.so.1? > > /usr/libexec/ld-elf.so.1: Shared object "libgds.so" > not found. > > The file is in /usr/local/firebird/ > and the binaries were in > /usr/local/firebird/bin/ Don't move firebird, fix your ld search. You can do it for the system by setting ldconfig_paths in /etc/rc.conf. Check /etc/defaults/rc.conf if it isn't there already, and make sure you extend it with the firebird directory instead of just setting it to the firebird directory. If you don't want everyone checking that library, you can modify - or create - a firebird startup script that sets LD_RUN_PATH and try that. According to the docs, it won't work if firebird is built with a wired-in path. If that's the case, you should simply rebuild firebird with -rpath set properly when ldconfig is invoked. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message