Does anyone know how to solve this problem?

this error occurs when I deploy my code :

  • java.lang.UnsatisfiedLinkError: /usr/local/frc/third-party/lib/libCTRE_PhoenixCCI.so: libFRC_NetworkCommunication.so.20: cannot open shared object file: No such file or directory

  • at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)

  • at java.base/java.lang.ClassLoader$NativeLibrary.load(Unknown Source)

  • at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(Unknown Source)

  • at java.base/java.lang.ClassLoader.loadLibrary0(Unknown Source)

  • at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)

  • at java.base/java.lang.Runtime.loadLibrary0(Unknown Source)

  • at java.base/java.lang.System.loadLibrary(Unknown Source)

  • at com.ctre.phoenix.CTREJNIWrapper.(CTREJNIWrapper.java:10)

  • at com.ctre.phoenix.motorcontrol.can.BaseMotorController.(BaseMotorController.java:63)

  • at com.ctre.phoenix.motorcontrol.can.BaseTalon.(BaseTalon.java:36)

  • at com.ctre.phoenix.motorcontrol.can.TalonFX.(TalonFX.java:27)

  • at com.swervedrivespecialties.swervelib.ctre.Falcon500DriveControllerFactoryBuilder$FactoryImplementation.create(Falcon500DriveControllerFactoryBuilder.java:61)

  • at com.swervedrivespecialties.swervelib.ctre.Falcon500DriveControllerFactoryBuilder$FactoryImplementation.create(Falcon500DriveControllerFactoryBuilder.java:44)

  • at com.swervedrivespecialties.swervelib.DriveControllerFactory.create(DriveControllerFactory.java:19)

  • at com.swervedrivespecialties.swervelib.SwerveModuleFactory.create(SwerveModuleFactory.java:27)

  • at com.swervedrivespecialties.swervelib.Mk3SwerveModuleHelper.createFalcon500(Mk3SwerveModuleHelper.java:73)

  • at com.swervedrivespecialties.swervelib.Mk3SwerveModuleHelper.createFalcon500(Mk3SwerveModuleHelper.java:103)

  • at frc.robot.subsystems.DrivetrainSubsystem.(DrivetrainSubsystem.java:103)

  • at frc.robot.RobotContainer.(RobotContainer.java:25)

  • at frc.robot.Robot.robotInit(Robot.java:30)

  • at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:107)

  • at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:373)

  • at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:463)

  • at frc.robot.Main.main(Main.java:23)

///////
it builds successfully but the robot code doesn’t turn into the color green.
image

In many cases this can be an issues with your vendordeps. Here’s some things you can try:

Specifically in this case the CTRE vendordep is from 2020.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.