-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnsatisfiedLinkError libpi4j-pigpio.so #411
Comments
It would be very suspicious if the Java update breaks Pi4J. Can you provide the full output of |
I also forgot to mention that I tried running an earlier version of my code to no avail. Here's my evidence :-) TUNER>java -version My command file My library directory The exception printout This is why I think I got a recent version of java when I did a system upgrade two days ago after which I get the exception What ever version was present before that was working. I can't remember when I upgraded last.. probably a couple months ago Hope this helps |
Just an idea... can you try sdkman and install an earlier 11 version? |
I’m not familiar with sdkman..
How do I determine what earlier versions are available?
… On Nov 16, 2024, at 11:26 AM, Frank Delporte ***@***.***> wrote:
Just an idea... can you try sdkman and install an earlier 11 version?
—
Reply to this email directly, view it on GitHub <#411 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALR7NUFB6UE3CYO7275ZK6D2A5W2HAVCNFSM6AAAAABR33JNQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGY2DENBVGQ>.
You are receiving this because you authored the thread.
|
On my mac it shows:
Another solution could be to follow these guidelines https://docs.azul.com/core/install/debian with an earlier version from https://www.azul.com/downloads/?version=java-11-lts&os=debian&package=jdk&show-old-builds=true#zulu |
I tried the azul thing but.... What am I missing? |
Are you running on a 32- or 64-bit system? On which type of board did you try this? |
Pi3B+I think it will do both. Sent from my iPhoneOn Nov 18, 2024, at 12:02, Frank Delporte ***@***.***> wrote:
Are you running on a 32- or 64-bit system? On which type of board did you try this?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
It is several years old. Sent from my iPhoneOn Nov 18, 2024, at 12:02, Frank Delporte ***@***.***> wrote:
Are you running on a 32- or 64-bit system? On which type of board did you try this?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sorry for the ongoing questions... ;-) |
TUNER>./scp
Checking the Raspian version
Debian version: 11.11
Kernel version: 6.1.21-v7+
Full version info:
Linux tuner 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
Even more version info:
Linux version 6.1.21-v7+ ***@***.***) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1642 SMP Mon Apr 3 17:20:52 BST 2023
TUNER>
… On Nov 18, 2024, at 12:54 PM, Frank Delporte ***@***.***> wrote:
Sorry for the ongoing questions... ;-)
What is the output from this script?
https://github.com/FDelporte/PiJava/blob/master/scripts/pi_checks/check_raspian_version.sh
—
Reply to this email directly, view it on GitHub <#411 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALR7NUBJMIU2G45L66H245L2BISWPAVCNFSM6AAAAABR33JNQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBTG4ZTMNJWHE>.
You are receiving this because you authored the thread.
|
Did the additional version info give any clues? I'm up against a wall. What worked before doesn't anymore and every variable points to the lib and the file is in the lib. |
Just tried pi4j-2.71-SNAPSHOT.. no change |
Yeah, I know. This is a beginners problem except I've been using pi4j for several years now.. I have two java apps running on separate Pi's. (pi4b and pi3b) two days ago everything was running fine then all at once I get the old UnsatisfiedLinkError for libpi4j-pigpio. Both apps are developed on MacOS using NetBeans 12.6 so my first suspicion was the common jar files that both use. Not knowing if a file was corrupted, I upgraded to pi4j- 2.7 in NetBeans. That didn't work.. I triple checked my script files that set up the environment to make sure the parameters "-Dpi4j.library.path=$CLASSPATH -Djava.lib.path=$CLASSPATH" are in the command line.That checked.. The only other thing that I did was system upgrades on both Pi's.. I see the java I'm running with now is dated Oct 2024... since it's been a while since I did an upgrade I'm wondering if there is something fishy the latest version. QUESTION:is there a way to get an older version of java and how do I remove the newer and replace with the older version?
The text was updated successfully, but these errors were encountered: