On Tue, Sep 24, 2013 at 02:57:38PM -0700, leuchtkaefer wrote:
> I checked permissions, none of the *universal libs are executable. is it a 
> problem?
> 11525272 -rwxr--r--   1 myuser  admin  15400 Jun  3 22:04 
> libwrapper-macosx-ppc-32.jnilib
> 18490985 -rw-r--r--   1 myuser  admin  82900 Sep 18 19:17 
> libwrapper-macosx-universal-32.jnilib
> 18490984 -rw-r--r--   1 myuser  admin  82900 Sep 18 19:17 
> libwrapper-macosx-universal-64.jnilib

Libs aren't supposed to be executable. Or are they on Mac? We can make them 
executable if we need to.
> 
> more logs:
> 
> .//wrapper.log-STATUS | wrapper  | 2013/09/24 22:10:53 | Launching a JVM...
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:56 | BouncyCastle: BC 
> version 1.49
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:56 | SunPKCS11-NSS: null
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:56 | SUN: SUN version 1.6
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:56 | SunJCE: SunJCE 
> version 1.6
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:56 | WrapperManager: 
> Initializing...
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager: 
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager: 
> WARNING - Unable to load the Wrapper's native library 
> 'libwrapper-macosx-universal-64.jnilib'.
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      The file is located on the path at the following location but
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      could not be loaded:
> .//wrapper.log:INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>        /Applications/Freenet/lib/libwrapper-macosx-universal-64.jnilib
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      Please verify that the file is both readable and executable by the
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      current user and that the file has not been corrupted in any way.
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      One common cause of this problem is running a 32-bit version
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      of the Wrapper with a 64-bit version of Java, or vica versa.
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      This is a 64-bit JVM.
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      Reported cause:
> --
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      Please verify that the file is both readable and executable by the
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      current user and that the file has not been corrupted in any way.
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      One common cause of this problem is running a 32-bit version
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      of the Wrapper with a 64-bit version of Java, or vica versa.
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      This is a 64-bit JVM.
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      Reported cause:
> .//wrapper.log:INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>        /Applications/Freenet/lib/libwrapper-macosx-universal-64.jnilib:  no 
> suitable image found.  Did find:  
> /Applications/Freenet/lib/libwrapper-macosx-universal-64.jnilib: no matching 
> architecture in universal wrapper
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager:      
>      System signals will not be handled correctly.
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | WrapperManager: 
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | freenet.jar built 
> with freenet-ext.jar Build #29 rv29 running with ext build 29 rv29
> .//wrapper.log-INFO   | jvm 1    | 2013/09/24 22:10:57 | Creating config from 
> freenet.ini
> 
> 
> 
> ----- Original Message -----
> > From: Matthew Toseland <[email protected]>
> > To: leuchtkaefer <[email protected]>; Discussion of development issues 
> > <[email protected]>
> > Cc: 
> > Sent: Tuesday, September 24, 2013 11:08 PM
> > Subject: Re: [freenet-dev] wrapper on mac
> > 
> > On Tue, Sep 24, 2013 at 01:27:37PM -0700, leuchtkaefer wrote:
> >> 
> >>  Hi, I am using the wrapper for 32 bits instead of 64. 
> >>  Messages of the log:
> >> 
> >>   Anchor file deleted.  Shutting down.
> >> 
> >>  .//wrapper.log:STATUS | wrapper  | 2013/09/24 21:17:44 | <-- Wrapper 
> > Stopped
> >>  .//wrapper.log:STATUS | wrapper  | 2013/09/24 21:19:10 | --> Wrapper 
> > Started as Daemon
> >>  .//wrapper.log:STATUS | wrapper  | 2013/09/24 21:19:10 | Java Service 
> > Wrapper Community Edition 32-bit 3.5.20
> >>  .//wrapper.log:STATUS | wrapper  | 2013/09/24 21:19:10 |   Copyright (C) 
> > 1999-2013 Tanuki Software, Ltd. All Rights Reserved.
> >>  .//wrapper.log:STATUS | wrapper  | 2013/09/24 21:19:10 |     
> > http://wrapper.tanukisoftware.com
> >>  .//wrapper.log:STATUS | wrapper  | 2013/09/24 21:19:10 | 
> >>  .//wrapper.log:STATUS | wrapper  | 2013/09/24 21:19:11 | Launching a 
> >> JVM...
> >>  .//wrapper.log:INFO   | jvm 1    | 2013/09/24 21:19:14 | WrapperManager: 
> > WARNING - Unable to load the Wrapper's native library 
> > 'libwrapper-macosx-universal-64.jnilib'.
> >>  .//wrapper.log:INFO   | jvm 1    | 2013/09/24 21:19:14 | WrapperManager:  
> >>  
> >           /Applications/Freenet/lib/libwrapper-macosx-universal-64.jnilib
> >>  .//wrapper.log:INFO   | jvm 1    | 2013/09/24 21:19:14 | WrapperManager:  
> >>  
> >           /Applications/Freenet/lib/libwrapper-macosx-universal-64.jnilib:  
> > no 
> > suitable image found.  Did find: 
> >  /Applications/Freenet/lib/libwrapper-macosx-universal-64.jnilib: no 
> > matching 
> > architecture in universal wrapper
> >>  .//wrapper.log:INFO   | jvm 1    | 2013/09/24 21:19:18 | Using wrapper 
> > correctly: freenet.node.NodeStarter@22b3ea59
> >>  .//wrapper.log:INFO   | jvm 1    | 2013/09/24 21:19:18 | Not running 
> > multi-file replace wrapper-update-unix : File does not exist: 
> > lib/libwrapper-linux-x86-32.so
> >>  .//wrapper.log:INFO   | jvm 1    | 2013/09/24 21:19:18 | Multi-file 
> > replace: Nothing to do for wrapper-update-mac.
> >>  .//wrapper.log:INFO   | jvm 1    | 2013/09/24 21:19:21 | Assuming 
> > non-updated dependency file is current: wrapper.jar
> >> 
> >>  I have Freenet 0.7.5 Build #1457 build01457
> >>  Mac OS 10.8.4
> >> 
> >>  Any ideas?
> >>  L
> > 
> > The above is not complete - there were lots of lines between them, this is 
> > just 
> > what looks most relevant?
> > 
> > "Multi-file replace: Nothing to do for wrapper-update-mac."
> > => the files should exist.
> > 
> > Are there any other lines that mention 
> > lib/libwrapper-macosx-universal-64.jnilib 
> > ?
> >
> 

Okay, I have identified the problem. It looks like the 32-bit wrapper is 
actually a universal binary between 32-bit and ppc, not between 32-bit and 
64-bit. I am uploading the 64-bit binaries and will fix the wrapper updating 
code, so I will be able to send you a test build shortly (probably 1458-pre2).

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
[email protected]
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to