当前位置:网站首页>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)
- IP home online query platform
- Split small interface
- 【已解决】Unknown error 1146
- How can I split a string at the first occurrence of “-” (minus sign) into two $vars with PHP?
- Jmeter+influxdb+grafana of performance tools to create visual real-time monitoring of pressure measurement -- problem record
- Inno setup production and installation package
- 【已解决】SQLException: Invalid value for getInt() - ‘田鹏‘
- SecureCRT password to cancel session recording
- 2022-06-23 VGMP-OSPF-域間安全策略-NAT策略(更新中)
猜你喜欢
IC_ EDA_ All virtual machine (rich Edition): questasim, vivado, VCs, Verdi, DC, Pt, spyglass, icc2, synthesize, innovative, ic617, mmsim, process library
【已解决】Unknown error 1146
【已解决】SQLException: Invalid value for getInt() - ‘田鹏‘
JMeter test result output
3311. 最长算术
Selenium key knowledge explanation
JMeter JSON extractor extracts two parameters at the same time
VMware virtual machine C disk expansion
[HCAI] learning summary OSI model
2022 East China Normal University postgraduate entrance examination machine test questions - detailed solution
随机推荐
MySQL mistakenly deleted the root account and failed to log in
Liang Ning: 30 lectures on brain map notes for growth thinking
instanceof
[LeetCode]404. Sum of left leaves
2022-06-23 vgmp OSPF inter domain security policy NAT policy (under update)
Software testing assignment - the next day
691. Cube IV
php artisan
Book recommendation~
Use of framework
Sorting out the core ideas of the pyramid principle
LeetCode
Advanced API (multithreading 02)
dataworks自定义函数开发环境搭建
Inno setup production and installation package
Advanced API (character stream & net for beginners)
4EVERLAND:IPFS 上的 Web3 开发者中心,部署了超过 30,000 个 Dapp!
10 000 volumes - Guide de l'investisseur en valeur [l'éducation d'un investisseur en valeur]
RestHighLevelClient获取某个索引的mapping
[Fiddler actual operation] how to use Fiddler to capture packets on Apple Mobile Phones