Opened 3 years ago

Last modified 3 years ago

#2371 new defect

I2P Router Does Not Run on FreeBSD 12 - Raspberry Pi 3

Reported by: slumlord Owned by:
Priority: minor Milestone: undecided
Component: wrapper Version: 0.9.37
Keywords: freebsd12, raspberry pi, pi Cc: zzz
Parent Tickets: Sensitive: no


Tested on arm64 Rpi3 so far — have not tested amd64.

After installing the libiconv package:

% ./i2prouter start
**Failed to load the wrapper**


Change History (4)

comment:1 Changed 3 years ago by slumlord

Works fine when the Tanuki Wrapper software is manually compiled for FreeBSD12 arm64.

comment:2 Changed 3 years ago by jogger

If you are unable to compile the wrapper (and a jbigi) which is a must for exotic platforms, try a standard Linux on amd64.

comment:3 Changed 3 years ago by zzz

Component: router/generalwrapper

As discussed at CCC, changes required to support freebsd arm (32 and/or 64):

  • Build same wrapper version as we have for the others, currently 3.5.34 (or else wrapper will complain of wrapper.jar version mismatch)
  • Add directory in installer/lib/wrapper and put files there
  • Add case in installer/resources/ to pick files from the new directory

Criterion to add new wrapper arches at a cost of several hundred KB to the installer is if you can find somebody else who wants it, maybe post on a forum to look for potential users.

comment:4 Changed 3 years ago by slumlord

Requirements to get I2P to run on FreeBSD 12.0-RELEASE aarch64

Tanuki Wrapper

  • Wrapper has to be built, wrapper renamed to i2psvc and dropped into I2P installation directory (~/i2p by default). and wrapper.jar dropped into ~/i2p/lib


  • Located at i2p.i2p/core/c/jbigi in the I2P source repository, run to build a for the system then place in ~/i2p/lib


The openjdk8-jre package provided by FreeBSD is a "Zero VM" which will severely limit performance

% java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Zero VM (build 25.181-b13, interpreted mode)
Note: See TracTickets for help on using tickets.