Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolchain build for osx fails on ubuntu 24 #38

Open
docb opened this issue Jan 1, 2025 · 7 comments
Open

Toolchain build for osx fails on ubuntu 24 #38

docb opened this issue Jan 1, 2025 · 7 comments

Comments

@docb
Copy link

docb commented Jan 1, 2025

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
Copy link
Author

docb commented Jan 1, 2025

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

@cschol
Copy link
Collaborator

cschol commented Jan 11, 2025

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

@cschol
Copy link
Collaborator

cschol commented Jan 12, 2025

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.

@docb
Copy link
Author

docb commented Jan 12, 2025

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

@cschol
Copy link
Collaborator

cschol commented Jan 12, 2025

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
Copy link
Collaborator

cschol commented Jan 12, 2025

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?

@docb
Copy link
Author

docb commented Jan 14, 2025

Yes. The build was made on a fresh checkout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants