FreeBSD Bugzilla – Bug 72856
graphics/png install fails which installing user sets LD_LIBRARY_PATH.
Last modified: 2004-10-20 20:14:33 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
Over to maintainer
pngtest linked statically now