Opened 2 years ago
Last modified 2 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 |
Description
Tested on arm64 Rpi3 so far — have not tested amd64.
After installing the libiconv
package:
% ./i2prouter start **Failed to load the wrapper**
Subtickets
Change History (4)
comment:1 Changed 2 years ago by
comment:2 Changed 2 years ago by
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 2 years ago by
Component: | router/general → wrapper |
---|
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/postinstall.sh 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 2 years ago by
Requirements to get I2P to run on FreeBSD 12.0-RELEASE aarch64
Tanuki Wrapper
- Wrapper has to be built,
wrapper
renamed toi2psvc
and dropped into I2P installation directory (~/i2p
by default).libwrapper.so
andwrapper.jar
dropped into~/i2p/lib
libjbigi
- Located at
i2p.i2p/core/c/jbigi
in the I2P source repository, runbuild.sh
to build alibjbigi.so
for the system then place in~/i2p/lib
NOTE!
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.
Works fine when the Tanuki Wrapper software is manually compiled for FreeBSD12 arm64.