armv7 targeting via poudriere-devel: devel/R-cran-rJava failed for lack of linker finding the library for -ljvm

From: Mark Millard <>
Date: Sun, 05 Jun 2022 20:57:16 UTC
Note: This was using an armv7 poudriere jail on a aarch64 machine able to
run armv7 code.

work/rJava/config.log reports:

configure:3852: checking whether JNI programs can be compiled
configure:3865: cc -o conftest -O2 -pipe -DLIBICONV_PLUG -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/openjdk8/jre/../include -I/usr/local/openjdk8/jre/../
include/freebsd  -Wl,-rpath=/usr/local/openjdk8/jre/lib/armv7/server conftest.c  -Wl,-rpath=/usr/local/openjdk8/jre/lib/armv7/server -L/usr/local/openjdk8/jre/lib/armv7/server -ljvm -lpthread >&5
ld: error: unable to find library -ljvm
cc: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3865: $? = 1

Mark Millard
marklmi at