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

Fails to compile with newer versions of ICU library #3

Open
pebbe opened this issue Jun 14, 2023 · 2 comments
Open

Fails to compile with newer versions of ICU library #3

pebbe opened this issue Jun 14, 2023 · 2 comments

Comments

@pebbe
Copy link
Member

pebbe commented Jun 14, 2023

Dbxml fails to compile with newer versions of the ICU libary, such as available on Debian 11.
These newer libraries require a compiler newer than c++03, but other parts of dbxml require c++03.

I solved this at home by installing an older ICU library from this source:
https://github.com/unicode-org/icu/releases/tag/release-57-2

I installed it in /my/opt/icu-57.2, and compiled dbxml like this:

./buildall.sh -x "g++ -I/my/opt/icu-57.2/include -L/my/opt/icu-57.2/lib"

This may not be the optimal way to do it.

There may be newer versions of the ICU library that also work. I didn't test that. I chose version 57 because I still had an older version of dbxml that links with version 57.

@pebbe
Copy link
Member Author

pebbe commented Jun 14, 2023

By the way, dbxml 6 doesn't have this problem.

I still have an old build, and it links with ICU library version 57.
When I rebuild dbxml 6 with the same commands, now on Debian 11, it compiles just fine, but is doesn't link with the ICU library.

The old build of dbxml 6 links to these library, but the new build doesn't:

  • libicudata.so.57
  • libicui18n.so.57
  • libicuuc.so.57
  • libnsl.so.1

@pebbe
Copy link
Member Author

pebbe commented Jun 14, 2023

Maar als ik bij het compileren van dbxml 6 dit toevoeg:

-x "g++ -I/my/opt/icu-57.2/include -L/my/opt/icu-57.2/lib"

dan linkt ie wel met ICU.

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

1 participant