pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48410: linker/loader problems with gimp-ufraw/lensfun on Mac OS X



>Number:         48410
>Category:       pkg
>Synopsis:       linker/loader problems with gimp-ufraw/lensfun on Mac OS X
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 26 20:55:00 +0000 2013
>Originator:     Joern Clausen
>Release:        current pkgsrc
>Organization:
>Environment:
Mac OS X 10.9, Xcode 5.0.2
>Description:
graphics/gimp-ufraw compiles, but the dependency on liblensfun is not correct:

$ otool -L work/ufraw-0.19.2/ufraw
work/ufraw-0.19.2/ufraw:
        /Users/joern/pkg/lib/libexiv2.12.dylib (compatibility version 13.0.0, 
current version 13.0.0)
        /Users/joern/pkg/lib/libgthread-2.0.0.dylib (compatibility version 
3601.0.0, current version 3601.4.0)
        /Users/joern/pkg/lib/libglib-2.0.0.dylib (compatibility version 
3601.0.0, current version 3601.4.0)
        /Users/joern/pkg/lib/libintl.8.dylib (compatibility version 10.0.0, 
current version 10.2.0)
        /Users/joern/pkg/lib/liblcms.1.dylib (compatibility version 2.0.0, 
current version 2.19.0)
        liblensfun.dylib.0 (compatibility version 0.0.0, current version 0.0.0)
        /Users/joern/pkg/lib/libtiff.5.dylib (compatibility version 8.0.0, 
current version 8.0.0)
        /Users/joern/pkg/lib/libpng16.16.dylib (compatibility version 24.0.0, 
current version 24.0.0)
        /Users/joern/pkg/lib/libgtkimageview.0.dylib (compatibility version 
1.0.0, current version 1.0.0)
        /Users/joern/pkg/lib/libgtk-x11-2.0.0.dylib (compatibility version 
2401.0.0, current version 2401.20.0)

The Makefile in graphics/lensfun already does some trickery on Mac OS, but it 
seems a correct build is even more complicated.
>How-To-Repeat:

>Fix:
I was able to fix ufraw for me with

$ install_name_tool -change liblensfun.dylib.0 
/Users/joern/pkg/lib/liblensfun.dylib /Users/joern/pkg/bin/ufraw

(and the same on ufraw-batch and especially .../gimp/2.0/plug-ins/ufraw-gimp), 
but that looks only like the second best solution.



Home | Main Index | Thread Index | Old Index