当前位置:网站首页>Raspberry pie update tool chain
Raspberry pie update tool chain
2022-07-03 07:12:00 【_ seaside_】
In other environments Compilation of bin file , It doesn't work on my raspberry pie , It turned out to be due to glibc The library of is too old , So I can only upgrade raspberry pie glibc 了 .
Check the raspberry pie libc Version of :
strings /lib/aarch64-linux-gnu/libc.so.6 |grep GLIBC_
Upgrade steps :
1. get 2.34 glibc from internet
wget http://ftp.gnu.org/gnu/glibc/glibc-2.34.tar.gz
2. tar -zxvf glibc-2.34.tar.gz
3. cd glibc-2.34
4. mkdir build
5. cd build
6. sudo apt-get install bison (if you haven't never install bison, bison --version to look version )
6. ../configure --prefix=/opt/glibc-2.34
7. sudo make install
8. Delete libc.so.6 Then it may cause the system command to be unavailable , The following methods can be used to solve :
LD_PRELOAD=/opt/glibc-2.29/lib/libc-2.29.so ln -s /opt/glibc-2.29/lib/libc-2.29.so /lib/aarch64-linux-gnu/libc.so.6
If the above update fails, you can use the following command to restore :
LD_PRELOAD=/lib/aarch64-linux-gnu/libc-2.31.so ln -s /lib/aarch64-linux-gnu/libc-2.31.so /lib/aarch64-linux-gnu/libc.so.6 // libc-2.31.so This item is the version before the system upgrade
stay configure and make Stage , It will take a long time , Later, it was unbearable , Upgrade the operating system , Upgrade to 22.04 edition ,glibc It's relatively new , Then run programs compiled in other environments , Run as expected OK.
边栏推荐
- [most detailed] latest and complete redis interview book (50)
- The essence of interview
- Architecture notes
- Win 10 find the port and close the port
- Inno setup production and installation package
- [set theory] partition (partition | partition example | partition and equivalence relationship)
- [Fiddler actual operation] how to use Fiddler to capture packets on Apple Mobile Phones
- Integration test practice (1) theoretical basis
- PAT甲级真题1166
- Advanced API (UDP connection & map set & collection set)
猜你喜欢

Software testing learning - day 3
![[set theory] equivalence classes (concept of equivalence classes | examples of equivalence classes | properties of equivalence classes | quotient sets | examples of quotient sets)*](/img/1f/f579110a408c5b5a094733be57ed90.jpg)
[set theory] equivalence classes (concept of equivalence classes | examples of equivalence classes | properties of equivalence classes | quotient sets | examples of quotient sets)*

Selenium key knowledge explanation

4279. Cartesian tree

dataworks自定義函數開發環境搭建

Pits encountered in the use of El checkbox group

Reading notes of "learn to ask questions"

“百度杯”CTF比赛 2017 二月场,Web:爆破-1

JMeter test result output

Mise en place d'un environnement de développement de fonctions personnalisées
随机推荐
VMware virtual machine C disk expansion
萬卷書 - 價值投資者指南 [The Education of a Value Investor]
C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization:
Pat grade a real problem 1166
JMeter test result output
Jenkins
File operation serialization recursive copy
crontab定时任务
Crontab scheduled task
[LeetCode]404. Sum of left leaves
mysql误删root账户导致无法登录
SharePoint modification usage analysis report is more than 30 days
Recursion, Fibonacci sequence
When MySQL inserts Chinese into the database, there is a diamond question mark garbled code
php安装composer
Software testing learning - day one
Software testing learning - day 3
Architecture notes
Win 10 find the port and close the port
Jmeter+influxdb+grafana of performance tools to create visual real-time monitoring of pressure measurement -- problem record