Re: FVWM: Error loading PNG on Solaris

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Thu, 17 Apr 2003 20:37:44 -0400

Ben Sferrazza <bsferraz_at_lsil.com> writes:
> Dan,
>
> Yes, I even added the library paths to LD_LIBRARY_PATH and tried
> re-building everything with LD_OPTIONS instead of LDFLAGS. Still I have
> no luck displaying PNG files through FVWM.
>
> Here's the output of ldd for my latest build. It's now finding libXpm,
> but I'm now getting these SUNW issues which I didn't have before. I
> don't this is related to the PNG problems though.
>
> libXpm.so.4.11 => /usr/local/lib/libXpm.so.4.11
> libSM.so.6 => /usr/openwin/lib/libSM.so.6
> libSM.so.6 (SUNWprivate) => (version not found)
> libICE.so.6 => /usr/openwin/lib/libICE.so.6
> libICE.so.6 (SUNWprivate) => (version not found)
> libXext.so.0 => /usr/openwin/lib/libXext.so.0
> libXext.so.0 (SUNW_1.1) => (version not found)
> libX11.so.4 => /usr/openwin/lib/libX11.so.4
> libX11.so.4 (SUNW_1.1) => (version not found)
> libsocket.so.1 => /usr/lib/libsocket.so.1
> libnsl.so.1 => /usr/lib/libnsl.so.1
> libm.so.1 => /usr/lib/libm.so.1
> libpng.so.3 =>
> /lsi/vp/spiderman/user/bsferraz/bin/libpng-1.2.5/lib/libpng.so.3
> libc.so.1 => /usr/lib/libc.so.1
> libdl.so.1 => /etc/lib/libdl.so.1
> libmp.so.2 => /usr/lib/libmp.so.2
> libucb.so.1 => /usr/ucblib/libucb.so.1
> libresolv.so.2 => /usr/lib/libresolv.so.2
> libelf.so.1 => /usr/lib/libelf.so.1
>
>
> I noticed your ldd output should libz.so. Is this the zlib that libpng
> requires. Of course when I built the libpng libraries, I had to link
> zlib, but do I now have to link zlib when building FVWM?

Unless you have a static libz, it should show libz.

I don't know why you have /usr/openwin/lib libraries not found,
maybe you should add -R/usr/openwin/lib to LD_OPTIONS.

I don't know if we are getting anywhere. I think it would abort or
print an error if this is where the problem was.
I'll have to look around. Maybe someone else has an idea.

How are you trying to display a PNG?

I simply did:

Style test Icon <full-path-to-png>

then I started an xterm:

xterm -name test

and iconified the window.

Does the png display with other programs.

"display" from ImageMagic works with .png.

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Apr 17 2003 - 19:47:44 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST