Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#5115 - libpng build (ABS) links utilities against wrong libpng or build fails

Attached to Project: Arch Linux
Opened by Alex Merry (pippin) - Wednesday, 26 July 2006, 16:50 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 02 August 2006, 13:24 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There's a small error in the libpng PKGBUILD file.

The line
make -f makefile.std png2pnm pnm2png
is supposed to link the two programs against -lpng in the top source directory (../..). However, libpng doesn't create libpng.so etc. in the source directory.

The result is that png2pnm and pnm2png link against the system libpng if it is installed, and the build fails otherwise.

A solution is to replace it with the following:
make PNGLIB="-L$startdir/pkg/usr/lib -lpng" -f makefile.std png2pnm pnm2png
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 05 August 2006, 15:43 GMT
Reason for closing:  Fixed

Loading...