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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to