Re: Apache server returns early before process is complete

2025-05-13 Thread Ian B
I'm wondering if you were to do an strace -s 2048 -f -p on the dev server where there's less happening if you may be able to spot something going on (-f is follow children -s size of line output before truncated).

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-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 /u

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 Ian B
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 PM Ruben Safir wrote: > 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 > &

Re: Image::Imlib2 error

2025-03-28 Thread Ian B
ous output) any errors ? Does it show a lib for jpeg, eg libjpeg.so.62 => /lib64/libjpeg.so.62 (0x7f47fc6e2000) On Fri, Mar 28, 2025 at 3:55 PM Ruben Safir wrote: > On 3/28/25 10:46 AM, Ian B wrote: > > and maybe just check the obvious, if you do "file > > /home/r

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: > > N

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

Re: stdout from scripts goes to apache logs

2024-05-13 Thread Ian B
Not an expert here, so someone I'm sure will correct me if wrong! Normally I'd expect an actual PerlHandler or similar included, eg PerlHandler ModPerl::Registry or PerlHandler SomeLib::SomePAckage type thing... (this would be as well as the Set/AddHandler line) Kind regards, On Mon, May 13,