Skip to content

Unable to load shared library 'Dicom.Native-linux-x64.so' or one of its dependencies. #2499

@ashutosh1211

Description

@ashutosh1211

Describe the bug
Getting following error on Azure App Service Ubuntu Instance.

When I view files on OHIF Viewer then getting following error and not able to view images in viewer.

2023-03-25T18:17:43.265347920Z: [INFO]  fail: Microsoft.Health.Dicom.Core.Features.Retrieve.Transcoder[0]

2023-03-25T18:17:43.265420121Z: [INFO]        Failed to transcode frame 0 from 1.2.840.10008.1.2.4.70 to 1.2.840.10008.1.2.1

2023-03-25T18:17:43.266371339Z: [INFO]        System.DllNotFoundException: Unable to load shared library 'Dicom.Native-linux-x64.so' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: 

2023-03-25T18:17:43.266404740Z: [INFO]        /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/site/wwwroot/runtimes/linux-x64/native/Dicom.Native-linux-x64.so.so)

2023-03-25T18:17:43.266409840Z: [INFO]        /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.2/Dicom.Native-linux-x64.so.so: cannot open shared object file: No such file or directory

2023-03-25T18:17:43.275408110Z: [INFO]        /home/site/wwwroot/Dicom.Native-linux-x64.so.so: cannot open shared object file: No such file or directory

2023-03-25T18:17:43.275448110Z: [INFO]        /home/site/wwwroot/runtimes/linux-x64/native/libDicom.Native-linux-x64.so.so: cannot open shared object file: No such file or directory

2023-03-25T18:17:43.275453710Z: [INFO]        /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.2/libDicom.Native-linux-x64.so.so: cannot open shared object file: No such file or directory

2023-03-25T18:17:43.275458010Z: [INFO]        /home/site/wwwroot/libDicom.Native-linux-x64.so.so: cannot open shared object file: No such file or directory

2023-03-25T18:17:43.275462011Z: [INFO]        /home/site/wwwroot/runtimes/linux-x64/native/Dicom.Native-linux-x64.so: cannot open shared object file: No such file or directory

2023-03-25T18:17:43.275465911Z: [INFO]        /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.2/Dicom.Native-linux-x64.so: cannot open shared object file: No such file or directory

2023-03-25T18:17:43.275470211Z: [INFO]        /home/site/wwwroot/Dicom.Native-linux-x64.so: cannot open shared object file: No such file or directory

2023-03-25T18:17:43.275473811Z: [INFO]        /home/site/wwwroot/runtimes/linux-x64/native/libDicom.Native-linux-x64.so: cannot open shared object file: No such file or directory

2023-03-25T18:17:43.275477511Z: [INFO]        /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.2/libDicom.Native-linux-x64.so: cannot open shared object file: No such file or directory

2023-03-25T18:17:43.275481411Z: [INFO]        /home/site/wwwroot/libDicom.Native-linux-x64.so: cannot open shared object file: No such file or directory

2023-03-25T18:17:43.275485311Z: [INFO]        

2023-03-25T18:17:43.275488611Z: [INFO]           at FellowOakDicom.Imaging.NativeCodec.Jpeg.JpegCodec.jpeg_std_error_16_Linux_x64(jpeg_error_mgr& err)

2023-03-25T18:17:43.275492811Z: [INFO]           at FellowOakDicom.Imaging.NativeCodec.Jpeg.JpegCodec.Decode(DicomPixelData oldPixelData, DicomPixelData newPixelData, DicomJpegParams jpegParams, Int32 frame)

2023-03-25T18:17:43.275496611Z: [INFO]           at FellowOakDicom.Imaging.NativeCodec.DicomJpegNativeCodec.Decode(DicomPixelData oldPixelData, DicomPixelData newPixelData, DicomCodecParams parameters)

2023-03-25T18:17:43.275500311Z: [INFO]           at FellowOakDicom.Imaging.Codec.DicomTranscoder.Decode(DicomDataset oldDataset, DicomTransferSyntax outSyntax, IDicomCodec codec, DicomCodecParams parameters)

2023-03-25T18:17:43.275504011Z: [INFO]           at FellowOakDicom.Imaging.Codec.DicomTranscoder.Transcode(DicomDataset dataset)

2023-03-25T18:17:43.275508111Z: [INFO]           at Microsoft.Health.Dicom.Core.Features.Retrieve.Transcoder.TranscodeFrame(DicomDataset dataset, Int32 frameIndex, DicomTransferSyntax targetSyntax) in /home/vsts/work/1/s/src/Microsoft.Health.Dicom.Core/Features/Retrieve/Transcoder.cs:line 90

2023-03-25T18:17:43.294187664Z: [INFO]  warn: Microsoft.Health.Dicom.Api.Features.Exceptions.ExceptionHandlingMiddleware[0]

2023-03-25T18:17:43.294279465Z: [INFO]        Unhandled exception

2023-03-25T18:17:43.294286766Z: [INFO]        Microsoft.Health.Dicom.Core.Exceptions.TranscodingException: The specified transcoding is not supported.

2023-03-25T18:17:43.294549071Z: [INFO]           at Microsoft.Health.Dicom.Core.Features.Retrieve.Transcoder.TranscodeFrame(DicomDataset dataset, Int32 frameIndex, DicomTransferSyntax targetSyntax) in /home/vsts/work/1/s/src/Microsoft.Health.Dicom.Core/Features/Retrieve/Transcoder.cs:line 90

2023-03-25T18:17:43.294560271Z: [INFO]           at Microsoft.Health.Dicom.Core.Features.Retrieve.Transcoder.TranscodeFrame(DicomFile dicomFile, Int32 frameIndex, String requestedTransferSyntax) in /home/vsts/work/1/s/src/Microsoft.Health.Dicom.Core/Features/Retrieve/Transcoder.cs:line 64

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions