[Slackbuilds-users] Fix to SLiM

Robby Workman rworkman at slackbuilds.org
Tue Jun 1 04:56:10 UTC 2010

On Mon, 31 May 2010 13:25:51 -0300
Max Miorim <miorimmax at gmail.com> wrote:

> The SlackBuild script for SLiM (a graphical login manager) goes
> through the compilation and package creation process just fine, but
> theres a problem with the resulting binary: it links against both
> libpng12 and libpng14 (Slackware 13.1 comes with both versions in the
> same package) and just dies, throwing the following at
> /var/log/slim.log:
> libpng warning: Application was compiled with png.h from libpng-1.4.2
> libpng warning: Application  is  running with png.c from libpng-1.2.43
> libpng error: Incompatible libpng version in application and library
> At first, I modified its Makefile to use libpng12 only, it worked but
> I guess it'd break compatibility with previous Slackware versions...
> So, I tried with libpng14 (using -I/usr/include/libpng and -lpng -
> without any version suffix, libpng14 is the /default/ in 13.1) and
> it's working as intended again:

I'm going to apply this, but after modifying it to use libpng14
(-lpng14) instead of libpng (-lpng) due to how libpng upstream
names stuff.  They have made it very clear that -lpng is not
supported by them due to the way they rename the frapping library
with every major version bump.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100531/0ff5902e/attachment.asc>

More information about the SlackBuilds-users mailing list