<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 06/01/2010 01:56 AM, Robby Workman wrote:
<blockquote cite="mid:20100531235610.585cbab3@liberty.rlwhome.lan"
type="cite">
<pre wrap="">On Mon, 31 May 2010 13:25:51 -0300
Max Miorim <a class="moz-txt-link-rfc2396E" href="mailto:miorimmax@gmail.com"><miorimmax@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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:
</pre>
</blockquote>
<pre wrap="">
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.
-RW
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SlackBuilds-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.org</a>
<a class="moz-txt-link-freetext" href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a>
Archives - <a class="moz-txt-link-freetext" href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a>
FAQ - <a class="moz-txt-link-freetext" href="http://slackbuilds.org/faq/">http://slackbuilds.org/faq/</a>
</pre>
</blockquote>
<tt>Also, I think it would be a good idea to include a logrotate entry
for slim in the package. It's easy to forget it and suddenly find your
/var dir over 2G in size... here's a sample file I found on Gentoo wiki:<br>
<br>
File: /etc/logrotate.d/slim<br>
<br>
/var/log/slim.log {<br>
compress<br>
rotate 4<br>
size=1M<br>
notifempty<br>
missingok<br>
copytruncate<br>
noolddir<br>
}<br>
<br>
</tt>
</body>
</html>