For what it's worth, we got a bit tired with interfacing Perl with ImageMagik as it was always precarious, and just ended up calling the command line via Perl to save/convert files.
On Fri, Mar 28, 2025 at 3:10 PM Ruben Safir <ru...@mrbrklyn.com> wrote: > On 3/28/25 10:42 AM, Ian B wrote: > > Now, was Imlib2 custom compiled or installed as part of your o.s > packages ? > > I'm guessing it's definitely installed, but worth checking... > > > It might have been either.. :( > > I instaled a custom apache set up on top of a normal Artix (Arch without > systemd) build that I keep current. Anytime Image Magic gets upgraded, > it makes me worry and it has a history of breaking things. > > It definetely goes down that rabbit hole > > [ruben@www3 Image]$ LD_DEBUG=libs perl -MImage::Imlib2 -e > > 'Image::Imlib2->load("/usr/local/apache2/htdocs/images/2025_purim_amsterdam/DSC03652.JPG")' > 4304: find library=libpthread.so.0 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libpthread.so.0 > 4304: > 4304: find library=libnsl.so.1 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libnsl.so.1 > 4304: > 4304: find library=libdl.so.2 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libdl.so.2 > 4304: > 4304: find library=libm.so.6 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libm.so.6 > 4304: > 4304: find library=libcrypt.so.1 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libcrypt.so.1 > 4304: > 4304: find library=libutil.so.1 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libutil.so.1 > 4304: > 4304: find library=libc.so.6 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libc.so.6 > > 4304: find library=libc.so.6 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libc.so.6 > 4304: > 4304: > 4304: calling init: /lib64/ld-linux-x86-64.so.2 > 4304: > 4304: > 4304: calling init: /usr/lib/libc.so.6 > 4304: > 4304: > 4304: calling init: /usr/lib/libutil.so.1 > 4304: > 4304: > 4304: calling init: /usr/lib/libcrypt.so.1 > 4304: > 4304: > 4304: calling init: /usr/lib/libm.so.6 > 4304: > 4304: > 4304: calling init: /usr/lib/libdl.so.2 > 4304: > 4304: > 4304: calling init: /usr/lib/libnsl.so.1 > 4304: > 4304: > 4304: calling init: /usr/lib/libpthread.so.0 > 4304: > 4304: > 4304: initialize program: perl > 4304: > 4304: > 4304: transferring control: perl > 4304: > 4304: find library=libImlib2.so.1 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libImlib2.so.1 > 4304: > 4304: find library=libfreetype.so.6 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libfreetype.so.6 > 4304: > 4304: find library=libXext.so.6 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libXext.so.6 > 4304: > 4304: find library=libX11-xcb.so.1 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libX11-xcb.so.1 > 4304: > 4304: find library=libX11.so.6 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libX11.so.6 > 4304: > 4304: find library=libxcb.so.1 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libxcb.so.1 > 4304: > 4304: find library=libxcb-shm.so.0 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libxcb-shm.so.0 > 4304: > 4304: find library=libz.so.1 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libz.so.1 > 4304: > 4304: find library=libbz2.so.1.0 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libbz2.so.1.0 > 4304: > 4304: find library=libpng16.so.16 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libpng16.so.16 > 4304: > 4304: find library=libharfbuzz.so.0 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libharfbuzz.so.0 > 4304: > 4304: find library=libbrotlidec.so.1 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libbrotlidec.so.1 > 4304: > 4304: find library=libXau.so.6 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libXau.so.6 > 4304: > 4304: find library=libXdmcp.so.6 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libXdmcp.so.6 > 4304: > 4304: find library=libglib-2.0.so.0 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libglib-2.0.so.0 > 4304: > 4304: find library=libgraphite2.so.3 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libgraphite2.so.3 > 4304: > 4304: find library=libbrotlicommon.so.1 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libbrotlicommon.so.1 > 4304: > 4304: find library=libpcre2-8.so.0 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libpcre2-8.so.0 > 4304: > 4304: 4304: > 4304: calling init: /usr/lib/libgraphite2.so.3 > 4304: > 4304: > 4304: calling init: /usr/lib/libglib-2.0.so.0 > 4304: > 4304: > 4304: calling init: /usr/lib/libXdmcp.so.6 > 4304: > 4304: > 4304: calling init: /usr/lib/libXau.so.6 > 4304: > 4304: > 4304: calling init: /usr/lib/libbrotlidec.so.1 > 4304: > 4304: > 4304: calling init: /usr/lib/libz.so.1 > 4304: > 4304: > 4304: calling init: /usr/lib/libbz2.so.1.0 > 4304: > 4304: > 4304: calling init: /usr/lib/libpng16.so.16 > 4304: > 4304: > 4304: calling init: /usr/lib/libfreetype.so.6 > 4304: > 4304: > 4304: calling init: /usr/lib/libharfbuzz.so.0 > 4304: > 4304: > 4304: calling init: /usr/lib/libxcb.so.1 > 4304: > 4304: 4304: calling init: /usr/lib/libxcb-shm.so.0 > 4304: > 4304: > 4304: calling init: /usr/lib/libX11.so.6 > 4304: > 4304: > 4304: calling init: /usr/lib/libX11-xcb.so.1 > 4304: > 4304: > 4304: calling init: /usr/lib/libXext.so.6 > 4304: > 4304: > 4304: calling init: /usr/lib/libImlib2.so.1 > 4304: > 4304: > 4304: calling init: > > /usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi/auto/Image/Imlib2/Imlib2.so > 4304: > 4304: find library=libjpeg.so.8 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libjpeg.so.8 > 4304: > 4304: /usr/lib/imlib2/loaders/jpeg.so: error: symbol lookup > error: undefined symbol: __imlib_LoadProgressRows (fatal) > 4304: /usr/lib/imlib2/loaders/zlib.so: error: symbol lookup > error: undefined symbol: __imlib_FindBestLoader (fatal) > 4304: /usr/lib/imlib2/loaders/xpm.so: error: symbol lookup > error: undefined symbol: __imlib_perror (fatal) > 4304: /usr/lib/imlib2/loaders/xbm.so: error: symbol lookup > error: undefined symbol: __imlib_LoadProgressRows (fatal) > 4304: find library=libwebpdemux.so.2 [0]; searching > 4304: search cache=/etc/ld.so.cache > 4304: trying file=/usr/lib/libwebpdemux.so.2 > > Boom > > > I started x on the server and the program fah can see the files - it is > program that uses Imbib > > I think something needs to be rebuilt. > > > > > -- > So many immigrant groups have swept through our town > that Brooklyn, like Atlantis, reaches mythological > proportions in the mind of the world - RI Safir 1998 > http://www.mrbrklyn.com > DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 > > http://www.nylxs.com - Leadership Development in Free Software > http://www.brooklyn-living.com > > Being so tracked is for FARM ANIMALS and extermination camps, > but incompatible with living as a free human being. -RI Safir 2013 >