Giter VIP home page Giter VIP logo

Comments (12)

knopkem avatar knopkem commented on July 18, 2024 2

Hi @ruben-cruz, it's done. Let me know if it works now. Cheers

from dicomweb-proxy.

knopkem avatar knopkem commented on July 18, 2024

Hi,
this is because the latest linux version was build with ubuntu 22.04 LTS and glibc runtime is newer. Will setup an older ubuntu VM and rebuild to make it more backward compatible (again). Will let you know once done. Cheers

from dicomweb-proxy.

ruben-cruz avatar ruben-cruz commented on July 18, 2024

Hi @knopkem,

I'm getting the same error when doing 'npm start'. Do you know how can I fix this?

Also, my RedHat machine has GLIBC_2.28. Below follows the log info:

[email protected] start
ts-node src/app.ts

Error: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /opt/dicomweb-proxy/node_modules/dicom-dimse-native/build/Release/dcmtk.node)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at bindings (/opt/dicomweb-proxy/node_modules/bindings/bindings.js:112:48)
at Object. (/opt/dicomweb-proxy/node_modules/dicom-dimse-native/index.js:4:32)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Object.require.extensions. [as .js] (/opt/dicomweb-proxy/node_modules/ts-node/src/index.ts:1608:43)

from dicomweb-proxy.

knopkem avatar knopkem commented on July 18, 2024

@ruben-cruz see my previous answer, it's the same for you (didn't yet have the time to do it, but it's on the agenda)

from dicomweb-proxy.

ruben-cruz avatar ruben-cruz commented on July 18, 2024

@knopkem do you have any guide or instructions on how to do that? Something that I can read and follow to make it compatible with GLIBC_2.28. And if I succeed I'm glad to publish so others can use.

from dicomweb-proxy.

knopkem avatar knopkem commented on July 18, 2024

@ruben-cruz thanks for asking to help, but I guess this wouldn't be easy as only I can upload the precompiled binaries to my github repo (and I would not trust any binaries from third party). Anyway, the issue comes from the native bindings to dcmtk, see this project: https://github.com/knopkem/dicom-dimse-native. The issue is that when I published the latest version (as a prebuild) I used a recent (current 22.04 LTS) version of ubuntu, so the c runtime needs to be same or newer. When trying to install dicomweb-proxy or pacs to an older ubuntu (or similar) linux than you will get the error you have.
In principal, one can always compile the dicom-dimse-native on any target system, which should not be too complicated (see readme on that repo) however, this does not include support for unicode characters and jpeg2000. For this you need more dependencies (and this is not documented).
So, I already prepared an old (ubuntu 14) system and setup the build chain. Will publish a new version soon, so than hopefully it should start working for you again.

from dicomweb-proxy.

ruben-cruz avatar ruben-cruz commented on July 18, 2024

thank you @knopkem. Will you generate a new release v2.4.2 for dicom-dimse-native? Sorry to bother you with this, but I'm trying to implement that on a client and I'm stuck on this problem...

from dicomweb-proxy.

knopkem avatar knopkem commented on July 18, 2024

@ruben-cruz , will publish a new version soon. What OS and version do you intend of installing it to?

from dicomweb-proxy.

ruben-cruz avatar ruben-cruz commented on July 18, 2024

@knopkem thank you again. The OS is: Red Hat Enterprise Linux release 8.6 (Ootpa).

from dicomweb-proxy.

ruben-cruz avatar ruben-cruz commented on July 18, 2024

hi @knopkem, sorry to bother you with this, but did you manage to build and publish a new version of dicom-dimse-native? Thanks.

from dicomweb-proxy.

ruben-cruz avatar ruben-cruz commented on July 18, 2024

Hi @knopkem, it worked like a charm. Thank you very much for your time and help! I'm very grateful for your help. Cheers.

from dicomweb-proxy.

knopkem avatar knopkem commented on July 18, 2024

@frsdxr closing as it should now be fixed with the latest version. Reopen in case of issues.

from dicomweb-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.