### ImageMagick version

 7.1.1-29

### Operating system

Linux

### Operating system, version and so on

Docker Ubuntu 23.10

### Description

I use ImageMagic as part of my Image management app, Damselfly. I've got a base image which should install all the deps, and build a version of ImageMagick `convert` that'll support HEIC, Raw and any other formats I need. However, I can't for the life of me get it to convert CR3s successfully. 

### Steps to Reproduce

Here's my dockerfile (I'm working on the `develop` branch): https://github.com/Webreaper/Damselfly-Base-Image/blob/develop/Dockerfile - it's installing all the right (I think) tools and deps and delegates, including libraw-dev and libraw-bin.

The dockerfile does the IM build using this script: https://github.com/Webreaper/Damselfly-Base-Image/blob/develop/make_imagemagick.sh - is there anything I'm missing for CR3 support? It works for everything else, including HEIC. 

Running the version from inside the base image gives: 

```
root@1dd3b429b87a:/app# convert -version
Version: ImageMagick 7.1.1-29 Q16-HDRI x86_64 21991 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(4.5) 
Delegates (built-in): bzlib djvu fontconfig freetype jbig jng jp2 jpeg lcms lqr lzma openexr pangocairo png raw tiff webp x xml zlib
Compiler: gcc (9.4)
```
You can try this yourself if you pull `webreaper/damselfly-base:dev` and bash into the image, and poke about. 

Any clues what might be missing? 

The sample Image I've been testing with is linked here: https://github.com/Webreaper/Damselfly/issues/520#issuecomment-1997749820 - and it converts fine when using the ImageMagick that distributes with MacOS. 

Any help you can give to identify what's missing from my build would be much appreciated!!

Edit: I've also just noticed that in my latest build, since I added `--with-raw=yes` and `libraw-dev` that seems to have broken HEIC now: 
```
#10 133.3 Delegate library configuration:
#10 133.3   BZLIB             --with-bzlib=yes			yes
#10 133.3   Autotrace         --with-autotrace=no			no
#10 133.3   DJVU              --with-djvu=yes			yes
#10 133.3   DPS               --with-dps=no			no
#10 133.3   FFTW              --with-fftw=no			no
#10 133.3   FLIF              --with-flif=no			no
#10 133.3   FlashPIX          --with-fpx=no			no
#10 133.3   FontConfig        --with-fontconfig=yes		yes
#10 133.3   FreeType          --with-freetype=yes			yes
#10 133.3   Ghostscript lib   --with-gslib=no			no
#10 133.3   Graphviz          --with-gvc=yes			no
#10 133.3   HEIC              --with-heic=yes			no
#10 133.3   JBIG              --with-jbig=yes			yes
#10 133.3   JPEG v1           --with-jpeg=yes			yes
#10 133.3   JPEG XL           --with-jxl=yes			no
#10 133.3   DMR               --with-dmr=yes			no
#10 133.3   LCMS              --with-lcms=yes			yes
#10 133.3   LQR               --with-lqr=yes			yes
#10 133.3   LTDL              --with-ltdl=no			no
#10 133.3   LZMA              --with-lzma=yes			yes
#10 133.3   Magick++          --with-magick-plus-plus=yes		yes
#10 133.3   OpenEXR           --with-openexr=yes			yes
#10 133.3   OpenJP2           --with-openjp2=yes			yes
#10 133.3   PANGO             --with-pango=yes			yes
#10 133.3   PERL              --with-perl=no			no
#10 133.3   PNG               --with-png=yes			yes
#10 133.3   RAQM              --with-raqm=yes			no
#10 133.3   RAW               --with-raw=yes			yes
#10 133.3   RSVG              --with-rsvg=no			no
#10 133.3   TIFF              --with-tiff=yes			yes
```
Any idea why?!?
Sony Raw CR3 on Ubuntu/docker - can't get it to work
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Sony Raw CR3 on Ubuntu/docker - can't get it to work
Issue date:

--- start body ---
### ImageMagick version

 7.1.1-29

### Operating system

Linux

### Operating system, version and so on

Docker Ubuntu 23.10

### Description

I use ImageMagic as part of my Image management app, Damselfly. I've got a base image which should install all the deps, and build a version of ImageMagick `convert` that'll support HEIC, Raw and any other formats I need. However, I can't for the life of me get it to convert CR3s successfully. 

### Steps to Reproduce

Here's my dockerfile (I'm working on the `develop` branch): https://github.com/Webreaper/Damselfly-Base-Image/blob/develop/Dockerfile - it's installing all the right (I think) tools and deps and delegates, including libraw-dev and libraw-bin.

The dockerfile does the IM build using this script: https://github.com/Webreaper/Damselfly-Base-Image/blob/develop/make_imagemagick.sh - is there anything I'm missing for CR3 support? It works for everything else, including HEIC. 

Running the version from inside the base image gives: 

```
root@1dd3b429b87a:/app# convert -version
Version: ImageMagick 7.1.1-29 Q16-HDRI x86_64 21991 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(4.5) 
Delegates (built-in): bzlib djvu fontconfig freetype jbig jng jp2 jpeg lcms lqr lzma openexr pangocairo png raw tiff webp x xml zlib
Compiler: gcc (9.4)
```
You can try this yourself if you pull `webreaper/damselfly-base:dev` and bash into the image, and poke about. 

Any clues what might be missing? 

The sample Image I've been testing with is linked here: https://github.com/Webreaper/Damselfly/issues/520#issuecomment-1997749820 - and it converts fine when using the ImageMagick that distributes with MacOS. 

Any help you can give to identify what's missing from my build would be much appreciated!!

Edit: I've also just noticed that in my latest build, since I added `--with-raw=yes` and `libraw-dev` that seems to have broken HEIC now: 
```
#10 133.3 Delegate library configuration:
#10 133.3   BZLIB             --with-bzlib=yes			yes
#10 133.3   Autotrace         --with-autotrace=no			no
#10 133.3   DJVU              --with-djvu=yes			yes
#10 133.3   DPS               --with-dps=no			no
#10 133.3   FFTW              --with-fftw=no			no
#10 133.3   FLIF              --with-flif=no			no
#10 133.3   FlashPIX          --with-fpx=no			no
#10 133.3   FontConfig        --with-fontconfig=yes		yes
#10 133.3   FreeType          --with-freetype=yes			yes
#10 133.3   Ghostscript lib   --with-gslib=no			no
#10 133.3   Graphviz          --with-gvc=yes			no
#10 133.3   HEIC              --with-heic=yes			no
#10 133.3   JBIG              --with-jbig=yes			yes
#10 133.3   JPEG v1           --with-jpeg=yes			yes
#10 133.3   JPEG XL           --with-jxl=yes			no
#10 133.3   DMR               --with-dmr=yes			no
#10 133.3   LCMS              --with-lcms=yes			yes
#10 133.3   LQR               --with-lqr=yes			yes
#10 133.3   LTDL              --with-ltdl=no			no
#10 133.3   LZMA              --with-lzma=yes			yes
#10 133.3   Magick++          --with-magick-plus-plus=yes		yes
#10 133.3   OpenEXR           --with-openexr=yes			yes
#10 133.3   OpenJP2           --with-openjp2=yes			yes
#10 133.3   PANGO             --with-pango=yes			yes
#10 133.3   PERL              --with-perl=no			no
#10 133.3   PNG               --with-png=yes			yes
#10 133.3   RAQM              --with-raqm=yes			no
#10 133.3   RAW               --with-raw=yes			yes
#10 133.3   RSVG              --with-rsvg=no			no
#10 133.3   TIFF              --with-tiff=yes			yes
```
Any idea why?!?
--- end body ---
