poppler failed to upgrade

David Evans devans at macports.org
Fri Sep 14 07:31:26 PDT 2012


On 9/14/12 1:37 AM, Giuseppe Di Matteo wrote:
>
> Hi all,
> on Mountain Lion, MacPorts 2.1.2; poppler failed to upgrade apparently due to the libpng version problem.
>
> Thanks
>
> Giuseppe Di Matteo
> gdimatteo at base.be
>
>
>
Looking at the command that failed, it is linking against libpng15 so it
looks like one of the other libraries referenced
there still has a link to libpng14. 

I just tried a fresh build of poppler and didn't see the problem but you
can use 'otool' on each of the libraries to see
which one is the culprit. 

otool -L  <path_to_library>

make sure that you have your ports up-to-date

sudo port selfupdate
sudo port clean poppler
sudo port upgrade outdated

then try building again

if you find the library that has the old reference, forcing a rebuild
should fix the problem:

sudo port -n upgrade --force <port in question>

Hope this helps

Dave Evans


More information about the macports-users mailing list