On Wed, 30 Oct 2013 16:10:12 -0500
DRC <dcomman...@users.sourceforge.net> wrote:

> The PNG issue is one I've pointed out on the tigervnc-devel list before, 
> but the TigerVNC developers have not accepted my fix for some reason. 
> The patch to fix it is attached 
> (0001-Link-vncviewer-with-libpng-this-avoids-a-build-error.patch).
> 

Because that patch is not needed when you build things the "normal" way.
vncviewer will depend on libfltk.so, which will resolve it's own need of
libpng.so. The problem appears because you're trying to link FLTK
statically. This is not a method that is particularly well supported
with today's development tools.

The major issue is how do you follow dependency chains to figure out
what to pull in? Unfortunately the answer is by hand. Which makes it
impossible to write a generic build system as the dependencies will
depend on what versions of libraries you have, how they are compiled,
your platform, your compiler, etc.

Still, this is something that has been bothering me. So although I
think we should recommend linking dynamically as the "official" way, we
could see if we can make it easier to hack together a static build.
Perhaps provide examples for certain configurations.

Rgds
-- 
Pierre Ossman           Software Development
Cendio AB               http://cendio.com
Teknikringen 8          http://twitter.com/ThinLinc
583 30 Linköping        http://facebook.com/ThinLinc
Phone: +46-13-214600    http://plus.google.com/112509906846170010689

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Tigervnc-users mailing list
Tigervnc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to