Re: Image::Imlib2 error
Ian B <[email protected]> Fri, 28 Mar 2025 22:44:52 +0000
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <CANAUX_ReRETv7vnDJq4UrQLQxt-XhM2g04H2=89qZuKf02y0Tw@mail.gmail.com> |
--00000000000045b80606316ed2d0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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_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)
Let's pick jpeg.so, so if you do..
strings /usr/lib/imlib2/loaders/jpeg.so | grep -i progress
I'm guessing it doesn't show __imlib_LoadProgressRows
Out of interest (but not sure if important)
If you 'locate Imlib2.so' (be wary, it's possible there are 2, one in a
Perl directory, one in a Linux lib, so check both)
and do 'strings <whatever folder>/libImlib2.so | grep -i progress', does it
show it __imlib_LoadProgressRows) there either ?
I'm not very good with this stuff, but it feels like the compiled version
of Imlib2 and header .h files somehow aren't matched up...I'm also
wondering if your Perl has got a bit confused, it's not possible you have 2
different directories for Perl somehow...or 2 installs or something funky ?
if you do 'locate bin/perldoc' is there just one ?
and does /usr/bin/perl -V looks sensible (if there were more than one
perldoc, check the other as well, eg /usr/local/bin/perl -V )
Especially looking at stuff like ldflags/libpth/@INC
On Fri, Mar 28, 2025 at 8:17=E2=80=AFPM Ruben Safir <[email protected]> wr=
ote:
> 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 [installed]
>
> [www3 ~]# find / -mount -iname "libim*" -print
> /usr/lib/libImlib2.so.1.12.4
> /usr/lib/libImath-3_1.so.29.11.0
> /usr/lib/libImath.so
> /usr/lib/libImath-3_1.so.29
> /usr/lib/libImlib2.so.1
> /usr/lib/libImlib2.so
> /usr/lib/libImath-3_1.so
>
>
> there is also - FWIW
> find / -mount -iname "imlib*" -print
> ....
>
> /usr/bin/imlib2_test
> /usr/bin/imlib2_bumpmap
> /usr/bin/imlib2_conv
> /usr/bin/imlib2_view
> /usr/bin/imlib2_grab
> /usr/bin/imlib2_colorspace
> /usr/bin/imlib2_poly
> /usr/bin/imlib2_load
> /usr/bin/imlib2_show
> /usr/lib/pkgconfig/imlib2.pc
> /usr/lib/imlib2
> /usr/share/imlib2
> /usr/share/imlib2/data/images/imlib2.png
> /usr/share/licenses/imlib2
>
>
> and here is the image trnaslators that are used in load
> ls -al /usr/lib/imlib2
> [www3 ~]# ls -al /usr/lib/imlib2/loaders/
> total 432
> drwxr-xr-x 2 root root 4096 Mar 28 08:19 .
> drwxr-xr-x 4 root root 4096 Oct 9 2017 ..
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 ani.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 argb.so
> -rwxr-xr-x 1 root root 18328 Mar 17 20:36 bmp.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 bz2.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 ff.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 gif.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 heif.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 ico.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 id3.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 j2k.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 jpeg.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 jxl.so
> -rwxr-xr-x 1 root root 18328 Mar 17 20:36 lbm.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 lzma.so
> -rwxr-xr-x 1 root root 18328 Mar 17 20:36 png.so
> -rwxr-xr-x 1 root root 18328 Mar 17 20:36 pnm.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 ps.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 qoi.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 svg.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 tga.so
> -rwxr-xr-x 1 root root 18328 Mar 17 20:36 tiff.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 webp.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 xbm.so
> -rwxr-xr-x 1 root root 18328 Mar 17 20:36 xpm.so
> -rwxr-xr-x 1 root root 14232 Mar 17 20:36 zlib.so
>
> >
> > locate loaders | grep imlib2
> >
> > Does it show the jpeg.so file ? Eg /usr/lib64/imlib2/loaders/jpeg.so
> >
>
> See above
>
> > If you do ldd /usr/lib64/imlib2/loaders/jpeg.so (or whatever from
> previous
> > output) any errors ?
>
> [www3 ~]# ldd /usr/lib/imlib2/loaders/jpeg.so
> linux-vdso.so.1 (0x00007bef70eb4000)
> libjpeg.so.8 =3D> /usr/lib/libjpeg.so.8 (0x00007bef70def000)
> libc.so.6 =3D> /usr/lib/libc.so.6 (0x00007bef70c01000)
> /usr/lib64/ld-linux-x86-64.so.2 (0x00007bef70eb6000)
> [www3 ~]#
>
> don't look like an error
>
>
> [www3 ~]# ls -al /usr/lib/libjpeg.so.8
> lrwxrwxrwx 1 root root 16 Dec 28 11:39 /usr/lib/libjpeg.so.8 ->
> libjpeg.so.8.3.2
>
> Don't know what this is
>
> [www3 ~]# ldd /usr/lib/imlib2/loaders/jpeg.so
> linux-vdso.so.1 (0x00007bef70eb4000)
>
> find / -mount -iname "linux-vdso.so.1" -print comes blank
>
>
> >
> > Does it show a lib for jpeg, eg
> >
> > libjpeg.so.62 =3D> /lib64/libjpeg.so.62 (0x00007f47fc6e2000)
> >
> > On Fri, Mar 28, 2025 at 3:55=E2=80=AFPM Ruben Safir <[email protected]=
> wrote:
> >
> >> 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 o=
n
> >>> Linux)
> >>>
> >> yes
> >>
> >>
> >> --
> >> 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
> >>
> >
>
>
> --
> 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
>
--00000000000045b80606316ed2d0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Sorry, had missed some of those errors earlier...so lookin=
g at these...<div><br></div><div>4304:=C2=A0 =C2=A0/usr/lib/imlib2/loaders/=
jpeg.so: error: symbol lookup<br>error: undefined symbol: __imlib_LoadProgr=
essRows (fatal)<br>=C2=A0 =C2=A0 =C2=A0 4304:=C2=A0 =C2=A0/usr/lib/imlib2/l=
oaders/zlib.so: error: symbol lookup<br>error: undefined symbol: __imlib_Fi=
ndBestLoader (fatal)<br>=C2=A0 =C2=A0 =C2=A0 4304:=C2=A0 =C2=A0/usr/lib/iml=
ib2/loaders/xpm.so: error: symbol lookup<br>error: undefined symbol: __imli=
b_perror (fatal)<br>=C2=A0 =C2=A0 =C2=A0 4304:=C2=A0 =C2=A0/usr/lib/imlib2/=
loaders/xbm.so: error: symbol lookup<br>error: undefined symbol: __imlib_Lo=
adProgressRows (fatal)<br></div><div><br></div><div>Let's pick jpeg.so,=
so if you do..</div><div><br></div><div>strings /usr/lib/imlib2/loaders/jp=
eg.so | grep -i progress=C2=A0 =C2=A0=C2=A0</div><div>I'm guessing it d=
oesn't show=C2=A0 =C2=A0=C2=A0__imlib_LoadProgressRows</div><div>Out of=
interest (but not sure if important)</div><div>If you 'locate=C2=A0Iml=
ib2.so'=C2=A0 =C2=A0(be wary, it's possible there are 2, one in a P=
erl directory, one in a Linux lib, so check both)</div><div>and do 'str=
ings <whatever folder>/libImlib2.so | grep -i progress', does it =
show it __imlib_LoadProgressRows) there either ?</div><div><br></div><div>I=
'm not very good with this stuff, but it feels like the compiled versio=
n of Imlib2 and header .h files somehow aren't matched up...I'm als=
o wondering if your Perl has got a bit confused, it's not possible you =
have 2 different directories for Perl somehow...or 2 installs or something =
funky ?</div><div><br></div><div>if you do=C2=A0 =C2=A0'locate bin/perl=
doc' is there just one ?</div><div>and does=C2=A0 =C2=A0 =C2=A0/usr/bin=
/perl -V=C2=A0 =C2=A0looks sensible (if there were more than one perldoc, c=
heck the other as well, eg=C2=A0 =C2=A0/usr/local/bin/perl -V )</div><div>E=
specially looking at stuff like ldflags/libpth/@INC</div><div><br></div><di=
v><br></div><div><br></div><div><br></div></div><br><div class=3D"gmail_quo=
te gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Mar=
28, 2025 at 8:17=E2=80=AFPM Ruben Safir <<a href=3D"mailto:ruben@mrbrkl=
yn.com">[email protected]</a>> wrote:<br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex">On 3/28/25 1:01 PM, Ian B wrote:<br>
> So, a few bits to check....(what distro is this on?)<br>
> <br>
<br>
it is on artix<br>
<br>
> do an 'updatedb' as root/sudo, to rebuild your file search db<=
br>
<br>
find?<br>
pacman -Ss imlib2<br>
world/feh 3.10.3-1 [installed]<br>
=C2=A0 =C2=A0 Fast and light imlib2-based image viewer<br>
world/imlib2 1.12.4-1 [installed]<br>
<br>
[www3 ~]# find / -mount -iname "libim*" -print<br>
/usr/lib/libImlib2.so.1.12.4<br>
/usr/lib/libImath-3_1.so.29.11.0<br>
/usr/lib/libImath.so<br>
/usr/lib/libImath-3_1.so.29<br>
/usr/lib/libImlib2.so.1<br>
/usr/lib/libImlib2.so<br>
/usr/lib/libImath-3_1.so<br>
<br>
<br>
there is also - FWIW<br>
find / -mount -iname "imlib*" -print<br>
....<br>
<br>
/usr/bin/imlib2_test<br>
/usr/bin/imlib2_bumpmap<br>
/usr/bin/imlib2_conv<br>
/usr/bin/imlib2_view<br>
/usr/bin/imlib2_grab<br>
/usr/bin/imlib2_colorspace<br>
/usr/bin/imlib2_poly<br>
/usr/bin/imlib2_load<br>
/usr/bin/imlib2_show<br>
/usr/lib/pkgconfig/imlib2.pc<br>
/usr/lib/imlib2<br>
/usr/share/imlib2<br>
/usr/share/imlib2/data/images/imlib2.png<br>
/usr/share/licenses/imlib2<br>
<br>
<br>
and here is the image trnaslators that are used in load<br>
ls -al /usr/lib/imlib2<br>
[www3 ~]# ls -al /usr/lib/imlib2/loaders/<br>
total 432<br>
drwxr-xr-x 2 root root=C2=A0 4096 Mar 28 08:19 .<br>
drwxr-xr-x 4 root root=C2=A0 4096 Oct=C2=A0 9=C2=A0 2017 ..<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 ani.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 argb.so<br>
-rwxr-xr-x 1 root root 18328 Mar 17 20:36 bmp.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 bz2.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 ff.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 gif.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 heif.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 ico.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 id3.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 j2k.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 jpeg.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 jxl.so<br>
-rwxr-xr-x 1 root root 18328 Mar 17 20:36 lbm.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 lzma.so<br>
-rwxr-xr-x 1 root root 18328 Mar 17 20:36 png.so<br>
-rwxr-xr-x 1 root root 18328 Mar 17 20:36 pnm.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 ps.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 qoi.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 svg.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 tga.so<br>
-rwxr-xr-x 1 root root 18328 Mar 17 20:36 tiff.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 webp.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 xbm.so<br>
-rwxr-xr-x 1 root root 18328 Mar 17 20:36 xpm.so<br>
-rwxr-xr-x 1 root root 14232 Mar 17 20:36 zlib.so<br>
<br>
> <br>
> locate loaders | grep imlib2<br>
> <br>
> Does it show the jpeg.so file ? Eg /usr/lib64/imlib2/loaders/jpeg.so<b=
r>
> <br>
<br>
See above<br>
<br>
> If you do ldd /usr/lib64/imlib2/loaders/jpeg.so (or whatever from prev=
ious<br>
> output)=C2=A0 =C2=A0any errors ?<br>
<br>
[www3 ~]# ldd /usr/lib/imlib2/loaders/jpeg.so<br>
=C2=A0linux-vdso.so.1 (0x00007bef70eb4000)<br>
=C2=A0libjpeg.so.8 =3D> /usr/lib/libjpeg.so.8 (0x00007bef70def000)<br>
=C2=A0libc.so.6 =3D> /usr/lib/libc.so.6 (0x00007bef70c01000)<br>
=C2=A0/usr/lib64/ld-linux-x86-64.so.2 (0x00007bef70eb6000)<br>
[www3 ~]#<br>
<br>
don't look like an error<br>
<br>
<br>
[www3 ~]# ls -al /usr/lib/libjpeg.so.8<br>
lrwxrwxrwx 1 root root 16 Dec 28 11:39 /usr/lib/libjpeg.so.8 -><br>
libjpeg.so.8.3.2<br>
<br>
Don't know what this is<br>
<br>
[www3 ~]# ldd /usr/lib/imlib2/loaders/jpeg.so<br>
=C2=A0linux-vdso.so.1 (0x00007bef70eb4000)<br>
<br>
find / -mount -iname "linux-vdso.so.1" -print comes blank<br>
<br>
<br>
> <br>
> Does it show a lib for jpeg, eg<br>
> <br>
> libjpeg.so.62 =3D> /lib64/libjpeg.so.62 (0x00007f47fc6e2000)<br>
> <br>
> On Fri, Mar 28, 2025 at 3:55=E2=80=AFPM Ruben Safir <<a href=3D"mai=
lto:[email protected]" target=3D"_blank">[email protected]</a>> wrote:=
<br>
> <br>
>> On 3/28/25 10:46 AM, Ian B wrote:<br>
>>> and maybe just check the obvious, if you do "file<br>
>>> /home/ruben/20130303_133505.jpg" does it say its a JPEG ?=
(assuming on<br>
>>> Linux)<br>
>>><br>
>> yes<br>
>><br>
>><br>
>> --<br>
>> So many immigrant groups have swept through our town<br>
>> that Brooklyn, like Atlantis, reaches mythological<br>
>> proportions in the mind of the world - RI Safir 1998<br>
>> <a href=3D"http://www.mrbrklyn.com" rel=3D"noreferrer" target=3D"_=
blank">http://www.mrbrklyn.com</a><br>
>> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002<br>
>><br>
>> <a href=3D"http://www.nylxs.com" rel=3D"noreferrer" target=3D"_bla=
nk">http://www.nylxs.com</a> - Leadership Development in Free Software<br>
>> <a href=3D"http://www.brooklyn-living.com" rel=3D"noreferrer" targ=
et=3D"_blank">http://www.brooklyn-living.com</a><br>
>><br>
>> Being so tracked is for FARM ANIMALS and extermination camps,<br>
>> but incompatible with living as a free human being. -RI Safir 2013=
<br>
>><br>
> <br>
<br>
<br>
-- <br>
So many immigrant groups have swept through our town<br>
that Brooklyn, like Atlantis, reaches mythological<br>
proportions in the mind of the world - RI Safir 1998<br>
<a href=3D"http://www.mrbrklyn.com" rel=3D"noreferrer" target=3D"_blank">ht=
tp://www.mrbrklyn.com</a><br>
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002<br>
<br>
<a href=3D"http://www.nylxs.com" rel=3D"noreferrer" target=3D"_blank">http:=
//www.nylxs.com</a> - Leadership Development in Free Software<br>
<a href=3D"http://www.brooklyn-living.com" rel=3D"noreferrer" target=3D"_bl=
ank">http://www.brooklyn-living.com</a><br>
<br>
Being so tracked is for FARM ANIMALS and extermination camps,<br>
but incompatible with living as a free human being. -RI Safir 2013<br>
</blockquote></div>
--00000000000045b80606316ed2d0--