-
Notifications
You must be signed in to change notification settings - Fork 148
Description
Describe the bug
How to Resolve This Issue
🔧 Root Cause of the Problem
The core issue indicated by the error message is as follows:
/usr/bin/ld: warning: libicuuc.so.66, needed by third_party/maplibre-native-qt/x86_64/lib/libQMapLibre.so, not found: This indicates that the linker (ld) is unable to locate the dynamic library file libicuuc.so.66. This library is required by libQMapLibre.so but is either not installed on the system or not accessible in the library search path.
Subsequent "undefined reference to..." errors are symbolic linking errors. Since the required library (libicuuc.so.66) could not be located, the functions it provides (such as ubidi_writeReverse_66) cannot be linked into the final executable.
In Ubuntu 22.04 LTS and earlier versions, the libicu66 package was available by default. However, starting from Ubuntu 23.10, the system now ships with a newer version of the ICU library (e.g., libicu74 or higher), and libicu66 is no longer included. Therefore, manual installation of this specific library version is required.
Method Two: Manually Download and Install the .deb Package
If Method One encounters issues (such as dependency conflicts), or if you prefer not to add an outdated software repository, you can manually download and install the required package.
- Download the libicu66 .deb Package
Visit the official Ubuntu Packages website to locate and download the appropriate version for your CPU architecture (typically amd64). Alternatively, you can use the wget command to download it directly:
wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu66_66.1-2ubuntu2_amd64.deb- Install the Downloaded .deb Package
Use the dpkg command to install the package:
sudo dpkg -i libicu66_66.1-2ubuntu2_amd64.debIf dependency issues are encountered during installation, you can resolve them by running:
#sudo apt --fix-broken install scons -u -j$(nproc)📌 Post-Installation Steps
Regardless of the installation method used, after successfully installing libicu66, it is recommended to re-run your build command (e.g., scons...) or follow the specific compilation instructions provided by the project. If libicuuc.so.66 was the only missing dependency, the build process should now proceed without issues.
Provide a route where the issue occurs
0
openpilot version
carrot2-v9
Additional info
No response