Menu

#9 Make it easy to build tkimg with the system libraries

open
nobody
None
5
2014-05-02
2008-11-15
No

Currently, tkimg builds with its own versions of libpng, libjpg, etc. This is a problem when building packages for fedora linux (and probably other linux distributions) because linking with custom versions of libraries is usually a bad idea[1]

Thus, it would be great to have configure switches to allow building with the system libraries

[1] http://fedoraproject.org/wiki/Packaging/Guidelines#Duplication_of_system_libraries

Discussion

  • Sergio Pascual

    Sergio Pascual - 2008-11-16

    With the exception of the tiff driver, tkimg can use external libraries fairly easily.

    The tiff driver can't be compiled using the system headers only. I suppose that this means that tifftcl is using internals of the tiff library.

     
  • Sergio Pascual

    Sergio Pascual - 2008-12-18

    The png driver uses some deprecated interface of the png library. The functions png_read_destroy and png_write_destroy are deprecated and aren't exported by the dynamic library png12.so
    Removing these two functions from tkimg would make it more compatible with external libraries

     

Log in to post a comment.