Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2022 13:57:16 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        freebsd-ports@freebsd.org
Subject:   armv7 targeting via poudriere-devel: devel/R-cran-rJava failed for lack of linker finding the library for -ljvm
Message-ID:  <1889F29F-73D4-4F28-8537-7470B2155051@yahoo.com>
References:  <1889F29F-73D4-4F28-8537-7470B2155051.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D/usr/local/openjdk8/jre/lib/armv7/server =
conftest.c  -Wl,-rpath=3D/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: $? =3D 1

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1889F29F-73D4-4F28-8537-7470B2155051>