Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487740 - media-libs/libpng: libpng-config --L_opts repeats default -L/usr/lib64
Summary: media-libs/libpng: libpng-config --L_opts repeats default -L/usr/lib64
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 487138
  Show dependency tree
 
Reported: 2013-10-12 08:36 UTC by Michał Górny
Modified: 2025-01-30 00:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-10-12 08:36:23 UTC
$ libpng-config --L_opts
-L/usr/lib64
$ libpng-config --R_opts
(none)

This is quite inconsistent, unnecessary and when applied with bug 487696, causes failures for multilib.

While I can agree there are other ways of solving this, IMO just dropping the -L flag would be the simplest one. That's what pkg-config does by default, for example.
Comment 1 SpanKY gentoo-dev 2013-10-12 19:52:03 UTC
if your package is still using libpng-config, it is broken.  i say use this as a marker for "i need to update to pkg-config".
Comment 2 John Bowler 2025-01-21 17:09:10 UTC
I raised this issue:

https://github.com/pnggroup/libpng/issues/643

I've always found installing both to be confusing.