tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.92k stars 329 forks source link

Error while packaging #411

Closed CrossScarDev closed 10 months ago

CrossScarDev commented 10 months ago

osxcross/target/bin/xar: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directory

CrossScarDev commented 10 months ago

Fixed by creating simlinks from all the .so.72 files to the .so.73 files.

HinTak commented 10 months ago

FWIW, since it is a major version, symlinking isn't a good idea (API can change between major versions). I do have both on my system (Fedora 39), from package libicu72 and libicu respectively. Recompiling osxcross is probably better. Your sort of problem only happens either because you got the binary from somebody else (packager?) or if you have upgraded since building osxcross.

CrossScarDev commented 10 months ago

I got the binary from official debian 12 repositories and I couldn't find anyway to install the 73 version