tpoechtrager / osxcross

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

Error while packaging #411

Closed CommanderGL closed 5 months ago

CommanderGL commented 5 months ago

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

CommanderGL commented 5 months ago

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

HinTak commented 5 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.

CommanderGL commented 5 months ago

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