Bug 72856 - graphics/png install fails which installing user sets LD_LIBRARY_PATH.
Summary: graphics/png install fails which installing user sets LD_LIBRARY_PATH.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Andrey Chernov
Depends on:
Reported: 2004-10-19 03:40 UTC by maya
Modified: 2004-10-20 20:14 UTC (History)
0 users

See Also:

file.diff (1.01 KB, patch)
2004-10-19 03:40 UTC, maya
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description maya 2004-10-19 03:40:24 UTC
I'm using FreeBSD-4.10 and I'm setting LD_LIBRARY_PATH
and I use portupgrade when I update png from the ports.

Well, I tryed to update png by "portupgrade -R graphics/png",
and install fails occur because pngtest not reffers ./libpng.so but 
it reffers /usr/local/lib/libpng.so(it is old version of one).
This version difference cause error.

Attached patch force specify LD_LIBRARY_PATH to . 
when pngtest is runing.
Please apply it if you look upon this as good.

How-To-Repeat: 0. Old version of png was installed.
1. # sh && export LD_LIBRARY_PATH="/usr/local/lib:/usr/lib"
2. # cd /usr/ports/graphics/png && make
Comment 1 vs freebsd_committer 2004-10-19 15:38:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ache

Over to maintainer
Comment 2 Andrey Chernov freebsd_committer 2004-10-20 20:14:04 UTC
State Changed
From-To: open->closed

pngtest linked statically now