From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 15 03:26:29 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99E11106567B for ; Mon, 15 Sep 2008 03:26:29 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 4C67D8FC17 for ; Mon, 15 Sep 2008 03:26:29 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so188732ana.13 for ; Sun, 14 Sep 2008 20:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=wq57E8HS7QzfI8n4ZO5VuZwTnGXyhS6a8z92CPCtNkM=; b=EGgYNF6Qj6vAjLSYvc8ThubDhlrYkXBVAUJCkVO/Mau2ZTwdkBXmxsGqJTGTjtGJZa OORCKh0JDXwVAefz43KjwMl9ZGOFqo8U6TtXVBeLI9zlXRXE4Pv+X9OGYZQRUcTZPfJU 3iZIUiQquYeDRk9KJCrfBsya2yIE7f2K038wE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=otXL4pDyXgbIwWbkuAe7puZIxaxc+JNpJ6mmLJGH3ojeKJ4b063bL/y55/6LzwqAmy faBeSe3ZLOQRZlsEgaMxHtBfd8uyWT6iMY1ZphpREq0oHb9ObYqftwKx2dNWcmWyVi5b 7NhdT+oC2N6bM9/s/panx1tSgCvlPdTHX5R/I= Received: by 10.102.253.6 with SMTP id a6mr5055582mui.92.1221449186646; Sun, 14 Sep 2008 20:26:26 -0700 (PDT) Received: by 10.103.231.14 with HTTP; Sun, 14 Sep 2008 20:26:26 -0700 (PDT) Message-ID: Date: Mon, 15 Sep 2008 00:26:26 -0300 From: "Carlos A. M. dos Santos" To: "Marcel Grandemange" In-Reply-To: <015101c9164a$f3f12d30$dbd38790$@za.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <015101c9164a$f3f12d30$dbd38790$@za.net> Cc: freebsd-hackers@freebsd.org Subject: Re: Error: Can't find libjava.so X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 03:26:29 -0000 On Sun, Sep 14, 2008 at 6:19 AM, Marcel Grandemange wrote: > I do realize this is probably better suited for freebsd-questions , however > haven't received any response and was simply hoping someone would be kind > enough. > > I recently obtained a very decent ups, however it is not supported by NUT. > It does however come with winpower software that does run on FreeBSD. > However it required java. So installed from ports > And was presented with following error: > > Error: can't find libjava.so > > This is on system in folder "/usr/local/Diablo-jre1.6.0/lib/amd64/libjava.so Do you mean this software? http://www.ups-software-download.com/winpower.htm I looked at the installation script and found that it fails to find the installes JRE. Try this: ./setup.bin LAX_VM "/usr/local/Diablo-jre1.6.0/jre/bin/java Please notice that this will just run the installer. I did *not * install the software because I don't have a password. Anyway, unless you have a version newer than the one I tested, it will unlikely run on a recent FreeBSD/amd64 because it is for FreeBSD 4.6/i386: FreeBSD/resource/jre/bin/i386/green_threads/java: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 4.6 (460102), dynamically linked (uses shared libs), FreeBSD-style, not stripped -- cd /usr/ports/sysutils/life make clean