From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 15 06:32:15 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 5F21A1065675 for ; Mon, 15 Sep 2008 06:32:15 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (mail.e-soul.co.za [196.211.117.44]) by mx1.freebsd.org (Postfix) with ESMTP id D9A668FC1D for ; Mon, 15 Sep 2008 06:32:14 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (localhost [127.0.0.1]) by thavinci.za.net (Postfix) with ESMTP id 911F09B4AA; Mon, 15 Sep 2008 08:32:11 +0200 (SAST) Received: by thavinci.za.net (Postfix, from userid 1002) id 769179B4A8; Mon, 15 Sep 2008 08:32:11 +0200 (SAST) Received: from thavinciPC (unknown [192.168.12.110]) by thavinci.za.net (Postfix) with ESMTP id 6A9B99B486; Mon, 15 Sep 2008 08:32:11 +0200 (SAST) From: "Marcel Grandemange" To: "'Carlos A. M. dos Santos'" References: <015101c9164a$f3f12d30$dbd38790$@za.net> In-Reply-To: Date: Mon, 15 Sep 2008 08:31:36 +0200 Message-ID: <003e01c916fc$b4507070$1cf15150$@za.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckW4timuTMI8jQfQvyNsezwaTM8jgAGVt0A Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Mon, 15 Sep 2008 11:24:54 +0000 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 06:32:15 -0000 > 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 Yes >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 Worked!!! >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: Yeh I know, but don't have a choice but to try as NUT doesn't support this UPS. :/ It actually installed successfully, but canot start it because of same error: ./agent start LAX_VM "/usr/local/Diablo-jre1.6.0/bin/java" Starting agent: Error: Can't find libjava.so Done >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 Realize im taking a chance.... But Thank You ! -- cd /usr/ports/sysutils/life make clean __________ NOD32 3441 (20080915) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com