From owner-freebsd-questions Tue Dec 31 4:38:46 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 2F85537B401 for ; Tue, 31 Dec 2002 04:38:45 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 907E243EC2 for ; Tue, 31 Dec 2002 04:38:43 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gBVCcW9Y014182 for ; Tue, 31 Dec 2002 12:38:32 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gBVCcRMK014177 for freebsd-questions@FreeBSD.ORG; Tue, 31 Dec 2002 12:38:27 GMT Date: Tue, 31 Dec 2002 12:38:27 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: LPRng pkg issue Message-ID: <20021231123827.GB73141@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <20021230175942.D3862@asu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021230175942.D3862@asu.edu> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03, SUPERLONG_LINE,USER_AGENT,USER_AGENT_MUTT version=2.43 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 On Mon, Dec 30, 2002 at 05:59:42PM -0700, David Bear wrote: > I just installed Freebsd 4.6.2 and used /stand/sysinstall to install various packages. One of them was LPRng -- It seems the package is broken or I've overlooked something that I haven't need to do in the past. When I try to use any lprng programs I get a message: > > /usr/libexec/ld-efl.so.1: Shared object "liblpr.so.0" not found. > > Seems this should have been installed. Is it not or do I need to modify and LD-Path? liblpr.so.0 should have been installed in /usr/local/lib by the LPRng package. If it isn't there, or file(1) doesn't recognise it as an "ELF 32-bit LSB shared object" or 'pkg_info -g LPRng\*' says that the checksum on the file is incorrect then I'd recommend deleting (use pkg_delete(1)) and reinstalling the LPRng port --- preferably by using cvsup(1) to grab an up-to-date copy of the ports tree, and then doing a 'make install' in /usr/ports/sysutils/LPRng If the liblpr.so.0 file is there and seems to be OK, then don't go fiddling with the LD_LIBRARY_PATH or other environment variables. All you need to do is run: ldconfig -m /usr/local/lib *once* and that shared library should then be found forever after. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message