From owner-freebsd-questions@FreeBSD.ORG Sat Nov 15 09:24:13 2003 Return-Path: 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 399F316A4CE for ; Sat, 15 Nov 2003 09:24:13 -0800 (PST) Received: from paiol.terra.com.br (paiol.terra.com.br [200.176.3.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9161443FF2 for ; Sat, 15 Nov 2003 09:24:11 -0800 (PST) (envelope-from goulartpel@terra.com.br) Received: from marova.terra.com.br (marova.terra.com.br [200.176.3.39]) by paiol.terra.com.br (Postfix) with ESMTP id B9237848365; Sat, 15 Nov 2003 15:24:09 -0200 (BRST) Received: from terra.com.br (200-203-103-227.pltce7004.dsl.brasiltelecom.net.br [200.203.103.227]) (authenticated user marcio.goulart) by marova.terra.com.br (Postfix) with ESMTP id B4C5E3DC0AE; Sat, 15 Nov 2003 15:24:08 -0200 (BRST) Message-ID: <3FB6613E.3000700@terra.com.br> Date: Sat, 15 Nov 2003 15:24:14 -0200 From: =?ISO-8859-1?Q?M=E1rcio_Concei=E7=E3o_Goulart?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030927 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Kohn References: <3FB5653A.2070601@terra.com.br> <1068909442.780.1.camel@klamath> In-Reply-To: <1068909442.780.1.camel@klamath> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: questions@freebsd.org Subject: Re: JavaNNS installation issues under FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2003 17:24:13 -0000 X-List-Received-Date: Sat, 15 Nov 2003 17:24:13 -0000 Andreas Kohn wrote: >On Sat, 2003-11-15 at 00:28, Márcio Conceição Goulart wrote: > > >>Hi everybody, >>I'm getting problems to install the JavaNNS 1.1 in FreeBSD 4.9. >>I tried to install via ports and the package JavaNNS-LinuxIntel.tar.gz >>but with both i get the same error, that they could'nt find the >>libSNNS_jkr.so. >>It asks the path to put the library(/usr/home/marcio/jnns) and the >>library is created in the directory, but JavaNNS can't still find the >>library file. Does anyone can help me with some idea? >> >>Below are the output: >>... >>bash-2.05b$ pwd >>/usr/home/marcio/jnns >> >>bash-2.05b$ ls >>JavaNNS.jar libSNNS_jkr.so >> >>bash-2.05b$ javavm -jar JavaNNS.jar >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>Font specified in font.properties not found >>[--symbol-medium-r-normal--*-%d-*-*- >> >>p-*-adobe-fontspecific] >>java.lang.Exception: The system couldn´t find the library SNNS_jkr >>JavaNNS couldn´t start. >> at javanns.Network.(Network.java:48) >> at javanns.Snns.(Snns.java:151) >> at javanns.Snns.appletMain(Snns.java:278) >> at javanns.Snns.main(Snns.java:258) >>*** If I do: javavm -Djava.library.file=/usr/home/marcio/jnns -jar >>JavaNNS.jar I get the same error as well. >>*** even if i login with "root" the problems are the same. >>bash-2.05b$ uname -a >>FreeBSD pluto.pyrolabs.org 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Nov >>10 18:01:16 BRST 2003 >>root@pluto.pyrolabs.org:/usr/obj/usr/src/sys/PLUTO i386 >> >>Thanks in advance and sorry for my bad english, >>Márcio Conceição Goulart. >> >> >> >> >Hi, > >try setting LD_LIBRARY_PATH to the current directory, ie. > >$ export LD_LIBRARY_PATH=$PWD > >HTH, > > Hi, Unfortunately, the problem still persists, i can't realize why the system can't find the file, but probably it is some compatibility problem of the software. Anyway, thanks for the help. Márcio Conceição Goulart :~/jnns $_ echo $LD_LIBRARY_PATH /home/marcio/jnns :~/jnns $_ pwd /home/marcio/jnns :~/jnns $_ la total 1972 drwxr-xr-x 2 marcio wheel - 512 Nov 15 15:16 ./ drwxr-xr-x 15 marcio wheel - 1024 Nov 15 15:12 ../ -rwxr-xr-x 1 marcio wheel - 757220 Nov 13 00:05 JavaNNS.jar* -rw-r--r-- 1 marcio wheel - 1196614 Nov 15 15:17 libSNNS_jkr.so :~/jnns $_