Re: Image::Imlib2 error

2025-03-30 Thread Ruben Safir
On 3/30/25 8:04 AM, Ian B wrote: > Couple of things you could try, modify the Image::Imlib2 module, to have > sub dl_load_flags { 0x102 } just before the "boostrap" line... > so it would look like (remember to save original) > .. > $VERSION = '2.03'; > sub dl_load_flags { 0x102 }; > bootstrap

Re: Image::Imlib2 error

2025-03-30 Thread Ian B
Couple of things you could try, modify the Image::Imlib2 module, to have sub dl_load_flags { 0x102 } just before the "boostrap" line... so it would look like (remember to save original) .. $VERSION = '2.03'; sub dl_load_flags { 0x102 }; bootstrap Image::Imlib2 $VERSION; ... or you could try ex

Re: Image::Imlib2 error

2025-03-30 Thread Ruben Safir
On 3/29/25 10:59 PM, Ruben Safir wrote: > I hacked the build file so it will compile but the darn xs > packages are still not working and I have zero idea how to fix this at > this point. > > I have 40 years of photographs and images on that webserver made > inaccessible by fidiggty coders who ha

Re: Image::Imlib2 error

2025-03-29 Thread Ruben Safir
I hacked the build file so it will compile but the darn xs packages are still not working and I have zero idea how to fix this at this point. I have 40 years of photographs and images on that webserver made inaccessible by fidiggty coders who had security issue and no added functionality. They ar

Re: Image::Imlib2 error

2025-03-29 Thread Ruben Safir
I fixed the Images::Imlib2 package so it will at least compile buy hard coding the pkg-config file instead of the removed imlib2-config But it is still not finding the image modules that are used by Image::Imlib2->load() I'm not really sure where that is even being inherited from because I never

Re: Image::Imlib2 error

2025-03-29 Thread Ruben Safir
On 3/29/25 2:45 PM, Ian B wrote: > Make sure you install the Imlib2 headers, something like Imlib2-dev > package. the is no such package :( -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Saf

Re: Image::Imlib2 error

2025-03-29 Thread Ian B
Make sure you install the Imlib2 headers, something like Imlib2-dev package. Perl will probably use that to compile its own .so file. On Sat, Mar 29, 2025 at 6:33 PM Ruben Safir wrote: > On 3/29/25 3:34 AM, Ian B wrote: > > Try nm -D rather than nm > > > > nm -D /usr/lib/imlib2/loaders/jpeg.

Re: Image::Imlib2 error

2025-03-29 Thread Ruben Safir
On 3/29/25 3:34 AM, Ian B wrote: > Try nm -D rather than nm > > nm -D /usr/lib/imlib2/loaders/jpeg.so | grep ProgressRows > > I'd be tempted to ask about this question on StackOverflow, there's some > very knowledgeable folk on there, who may have some better things to > check...a part of me

Re: Image::Imlib2 error

2025-03-29 Thread Ruben Safir
On 3/29/25 3:34 AM, Ian B wrote: > Try nm -D rather than nm > > nm -D /usr/lib/imlib2/loaders/jpeg.so | grep ProgressRows > > I'd be tempted to ask about this question on StackOverflow, there's some > very knowledgeable folk on there, who may have some better things to > check...a part of me

Re: Image::Imlib2 error

2025-03-29 Thread Ian B
Try nm -D rather than nm nm -D /usr/lib/imlib2/loaders/jpeg.so | grep ProgressRows I'd be tempted to ask about this question on StackOverflow, there's some very knowledgeable folk on there, who may have some better things to check...a part of me wants to suggest reinstalling Perls Image::Imli

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
[ruben@www3 ~]$ strings /usr/lib/imlib2/loaders/zlib.so|grep __imlib_FindBestLoader __imlib_FindBestLoader On Fri, Mar 28, 2025 at 10:44:52PM +, Ian B wrote: > Sorry, had missed some of those errors earlier...so looking at these... > > 4304: /usr/lib/imlib2/loaders/jpeg.so: error: symbo

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
On Fri, Mar 28, 2025 at 10:44:52PM +, Ian B wrote: > Sorry, had missed some of those errors earlier...so looking at these... > > 4304: /usr/lib/imlib2/loaders/jpeg.so: error: symbol lookup > error: undefined symbol: __imlib_LoadProgressRows (fatal) > 4304: /usr/lib/imlib2/loaders/zli

Re: Image::Imlib2 error

2025-03-28 Thread Ian B
Sorry, had missed some of those errors earlier...so looking at these... 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_FindB

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
On 3/28/25 1:01 PM, Ian B wrote: > So, a few bits to check(what distro is this on?) > it is on artix > do an 'updatedb' as root/sudo, to rebuild your file search db find? pacman -Ss imlib2 world/feh 3.10.3-1 [installed] Fast and light imlib2-based image viewer world/imlib2 1.12.4-1 [ins

Re: Image::Imlib2 error

2025-03-28 Thread Ian B
So, a few bits to check(what distro is this on?) do an 'updatedb' as root/sudo, to rebuild your file search db locate loaders | grep imlib2 Does it show the jpeg.so file ? Eg /usr/lib64/imlib2/loaders/jpeg.so If you do ldd /usr/lib64/imlib2/loaders/jpeg.so (or whatever from previous output)

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
On 3/28/25 10:46 AM, Ian B wrote: > and maybe just check the obvious, if you do "file > /home/ruben/20130303_133505.jpg" does it say its a JPEG ? (assuming on > Linux) > yes -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
On Fri, Mar 28, 2025 at 03:14:11PM +, Ian B wrote: > 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 wrote

Re: Image::Imlib2 error

2025-03-28 Thread Ian B
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 wrote: > On 3/28/25 10:42 AM, Ian B wrote: > > Now, was Imlib2 custom

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
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 t

Re: Image::Imlib2 error

2025-03-28 Thread Ian B
and maybe just check the obvious, if you do "file /home/ruben/20130303_133505.jpg" does it say its a JPEG ? (assuming on Linux)

Re: Image::Imlib2 error

2025-03-28 Thread Ian B
Not sure of the answer, but just to try and put a couple of pieces together...the require DynaLoader ; @ISA = qw(Exporter DynaLoader); bootstrap Image::Imlib2 $VERSION; lines will probably do this, and hence it will look and find the .xs file you've fo

Image::Imlib2 error

2025-03-28 Thread Ruben Safir
I have an old image gallery that uses this libary in apache2 and modperl I made a small test program is it behaves like the server code #!/usr/bin/perl use warnings; use Image::Imlib2; my $image; #my $pic = qq(/usr/local/apache2/htdocs/images/2025_purim_amsterdam/DSC03652.JPG); my $pic = qq(/hom