analyze image creation problem on debian

21 views
Skip to first unread message

Drew

unread,
Mar 2, 2010, 3:37:02 PM3/2/10
to dim_STAT
When I run analyze the graph shows up as a broken image.

The web server logs are showing this:
/opt/WebX/bin/pl: error while loading shared libraries: libpng12.so.0:
cannot open shared object file: No such file or directory
mv: cannot stat `/tmp/png_5777.png': No such file or directory
[Tue Mar 2 10:16:10 2010] access to /apps/httpd/home/docs/graphs/
img_5777_1.png failed for XX.XX.XX.XX, reason: File does not exist

I had a similar problem for libz on startup for MySQL but fixed it by
setting LD_LIBRARY_PATH. My libz was in a weird location though.
libpng is in /usr/lib so this seems kind of weird.

My problem may really be caused by using the amd64 install of debian.
I had to install a 32 bit version of libz. I can't find a 32 bit
version of libpng12.

Basically I need to know how to set the LD path for the web server I
guess. I think I can just set it in the httpd.conf file. Has anyone
done this? I think the real problem will be that I don't have a 32bit
libpng. Has anyone run dim_STAT on a 64bit linux distro? debina? I
can reinstall the machine if someone has a recommendation. I have to
read up a bit more but the machine I am testing on I think requires a
64bit distro for some weird reason.

Dimitri

unread,
Mar 3, 2010, 2:54:39 AM3/3/10
to dim...@googlegroups.com
Hi Drew,

are you using v.8.3 or older?..

If I remember well since v.8.3 I've removed libpng dependency due
similar reasons (some Linux server-oriented distros are not shipping
libpng by default and it's always painful when things are not working
out of the box)..

Regarding env setting via apache, there is an option you may use
within a Directory section for cgi-bin within your access.conf file:

<Directory ".../cgi-bin">
...
SetEnv LD_LIBRARY_PATH "/opt/lib:..."
...
</Directory>

BTW, did others meet any similar problems? - probably for Linux I
should ship libz also? ;-)

Rgds,
-Dimitri

> --
> You received this message because you are subscribed to the Google Groups
> "dim_STAT" group.
> To post to this group, send email to dim...@googlegroups.com.
> To unsubscribe from this group, send email to
> dimstat+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/dimstat?hl=en.
>
>

Drew Weirshousky

unread,
Mar 3, 2010, 10:21:11 AM3/3/10
to dim...@googlegroups.com
I used dim_STAT-v83-lux86.tar for the install.  That should be
8.3.  

I am planning on moving this to a solaris machine eventually.  Would
I be better off doing that now??  Maybe I'll try compiling libpng myself
first.

Thanks
Drew

(dim)

unread,
Mar 3, 2010, 11:56:00 AM3/3/10
to dim_STAT
I've checked a fresh install from the tarball and indeed - there is an
old version of "pl" !!
Sorry for that - it has libpng dependency.. I'm preparing to ship v.
8.5 -it'll fix all this stuff.

Yes, on Solaris you'll not have such kind of problems (well, at least
we never meet :-))
and you don't need libpng on Solaris - it has no dependency..

Rgds,
-Dimitri


On Mar 3, 4:21 pm, Drew Weirshousky <drew.weirshou...@gmail.com>
wrote:


> I used dim_STAT-v83-lux86.tar for the install. That should be
> 8.3.
>
> I am planning on moving this to a solaris machine eventually. Would
> I be better off doing that now?? Maybe I'll try compiling libpng myself
> first.
>
> Thanks
> Drew
>

> On Wed, Mar 3, 2010 at 2:54 AM, Dimitri <dimitrik...@gmail.com> wrote:
> > Hi Drew,
>
> > are you using v.8.3 or older?..
>
> > If I remember well since v.8.3 I've removed libpng dependency due
> > similar reasons (some Linux server-oriented distros are not shipping
> > libpng by default and it's always painful when things are not working
> > out of the box)..
>
> > Regarding env setting via apache, there is an option you may use
> > within a Directory section for cgi-bin within your access.conf file:
>
> > <Directory ".../cgi-bin">
> > ...
> > SetEnv LD_LIBRARY_PATH "/opt/lib:..."
> > ...
> > </Directory>
>
> > BTW, did others meet any similar problems? - probably for Linux I
> > should ship libz also? ;-)
>
> > Rgds,
> > -Dimitri
>

> > > dimstat+u...@googlegroups.com<dimstat%2Bunsu...@googlegroups.com>


> > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/dimstat?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "dim_STAT" group.
> > To post to this group, send email to dim...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > dimstat+u...@googlegroups.com<dimstat%2Bunsu...@googlegroups.com>

Reply all
Reply to author
Forward
0 new messages