Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 41312 invoked from network); 1 Feb 2005 19:12:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Feb 2005 19:12:17 -0000 Received: (qmail 4250 invoked by uid 500); 1 Feb 2005 19:11:59 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 4233 invoked by uid 500); 1 Feb 2005 19:11:59 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 4219 invoked by uid 99); 1 Feb 2005 19:11:59 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from av3-1-sn1.fre.skanova.net (HELO av3-1-sn1.fre.skanova.net) (81.228.11.109) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 11:11:58 -0800 Received: by av3-1-sn1.fre.skanova.net (Postfix, from userid 502) id 5D61337E4B; Tue, 1 Feb 2005 20:11:55 +0100 (CET) Received: from smtp2-2-sn2.hy.skanova.net (smtp2-2-sn2.hy.skanova.net [81.228.8.178]) by av3-1-sn1.fre.skanova.net (Postfix) with ESMTP id 4DF9A37E4B for ; Tue, 1 Feb 2005 20:11:55 +0100 (CET) Received: from [192.168.0.103] (c83-249-194-12.bredband.comhem.se [83.249.194.12]) by smtp2-2-sn2.hy.skanova.net (Postfix) with ESMTP id 1DBA237E4E for ; Tue, 1 Feb 2005 20:11:55 +0100 (CET) Message-ID: <41FFD4B8.6080003@travelstart.se> Date: Tue, 01 Feb 2005 20:12:56 +0100 From: Andreas Andersson User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Using native and ld_library_path References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Caldarale, Charles R wrote: > Take a look at: > http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/step1.html Hi again. I did take a look but nothing helped me there and I still need help. My guess is that tomcat has some restrictions when it comes to loading native code. I have several native libraries. One of them is loaded and executed from my code, the rest is used by the first one. What confuses me is that this works on my tomcat on windows but not linux. It also works on a standalone program on that same linux machine. But not my tomcat on linux. I've tried putting the libraries in /usr/lib. That works for my standalone but not tomcat. I've tried setting -Djava.library.path in catalina.sh, that doesn't work. When printing System.getProperties().get("java.library.path") I get the right paths but still I get the "unsatisfied link error". Is there more debug information available in some way? This is really frustrating since it shouldn't be this hard :) I appreciate any help. -- Andreas Andersson IT Dept. Travelstart Nordic andreas@travelstart.se http://www.travelstart.se --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org