rack-plugin-toolchain icon indicating copy to clipboard operation
rack-plugin-toolchain copied to clipboard

Toolchain build for osx fails on ubuntu 24

Open docb opened this issue 1 year ago • 7 comments

hi, i get the following error on ubuntu 24: testing x86_64-apple-darwin20.2-clang ... /home/docb/git/rack-plugin-toolchain/local/osxcross/bin/x86_64-apple-darwin20.2-ld: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directory clang-15: error: unable to execute command: No such file or directory clang-15: error: linker command failed due to signal (use -v to see invocation)

exiting with abnormal exit code (1)

may be because on my ubuntu system there is a newer version (...so.74) ?

docb avatar Jan 01 '25 17:01 docb

seems to work with a hack (create symlinks to 74...)

docb avatar Jan 01 '25 18:01 docb

I will test this. I have a new Docker image based on Ubuntu 24.04.

cschol avatar Jan 11 '25 16:01 cschol

Are you building the toolchain natively or in a Docker image? The Docker image uses 24.04. I just rebuilt the toolchain and it works for me.

cschol avatar Jan 12 '25 03:01 cschol

natively. so may be i have a newer version natively with ....so.74 ?

docb avatar Jan 12 '25 03:01 docb

Both of my Ubuntu 24.04 systems (native and Docker image) have so.74. I am not quite sure why the toolchain is looking for so.73. There will be an update for the toolchain soon, which pulls in a newer version of the toolchain foundational libraries. I am running a test version of that and it works fine.

cschol avatar Jan 12 '25 19:01 cschol

Did you ensure that you removed all of the build artifacts from a previous build of the toolchain? Perhaps there are config files that still point to the so.73 version from a previous build?

cschol avatar Jan 12 '25 19:01 cschol

Yes. The build was made on a fresh checkout.

docb avatar Jan 14 '25 07:01 docb

This has been fixed in 3d3b89c4e5f96054dd5e8829e4707e87297b5fe7.

cschol avatar May 03 '25 21:05 cschol