SSHRD_Script icon indicating copy to clipboard operation
SSHRD_Script copied to clipboard

Glibc errors

Open TheIceCubeDude opened this issue 2 years ago • 2 comments

I keep on getting the following errors when trying to create a ramdisk:

../Linux/PlistBuddy: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by ../Linux/PlistBuddy)
../Linux/PlistBuddy: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by ../Linux/PlistBuddy)
../Linux/PlistBuddy: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by ../Linux/PlistBuddy)
../Linux/pzb: /usr/lib/libcurl.so.4: no version information available (required by ../Linux/pzb)
Version: 3fc8c093f4660f6c6e07c0c9214618733da01ffc - 36
libfragmentzip version: 0.60-120447d0f410dffb49948fa155467fc5d91ca3c8
init pzb: https://updates.cdn-apple.com/2021FallFCS/fullrestores/002-02953/B1EB01B7-DE28-4975-B294-49BAE9599E72/iPhone_4.7_P3_15.0_19A346_Restore.ipsw
init done
Error: file Firmware/.trustcache does not exist, or is a directory
[-] An error occurred

I ran strings /usr/lib/libstdc++.so.6 | grep GLIBCXX and I indeed do not have the correct glibc versions, only these:

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBCXX_3.4.26
GLIBCXX_3.4.27
GLIBCXX_3.4.28

I have tried updating my libc and libstdc++ versions, but they're up to date. I am on Void Linux. I have also tried this on Linux Mint, but get the same errors. I assume I need to use the script on another distro, or somehow install the correct libc version on void/mint. What do I do?

TheIceCubeDude avatar Sep 24 '22 10:09 TheIceCubeDude

I have yet to figure out how to statically compile this https://github.com/facebookarchive/xcbuild/blob/master/Libraries/plist/Tools/PlistBuddy.cpp

verygenericname avatar Sep 24 '22 13:09 verygenericname

(NEVERMIND Arch Linux works fine and has all the up to date libraries)

Oh ok. If you don't mind, could you give me your libc.so.6 and libstdc++.so.6 and any other dynamic libraries i might need (i think that is it tho)? Would that fix the error?

TheIceCubeDude avatar Sep 25 '22 06:09 TheIceCubeDude