Comment 3 for bug 392693

su_v (suv-lp) wrote :

Adding two other libraries with compatibility conflicts:

1) libpng (bug #267053, duplicate bug #302460)
2) fontconfig (new):

Trying to help a user solve issues with LaTex support in Inkscape I got stuck today with incompatible libfontconfig.1.dylib versions - this time between Inkscape 0.47pre1-2 Leopard and a recently compiled 'pstoedit' helper application. Investigating and comparing 0.47pre1-2 from and a locally compiled Inkscape r22115 showed that fontconfig installed via Macports has bumped up the compatibility version from 5.0.0 to 6.0.0.

Does this means that any helper application a user compiles herself for Inkscape 0.47 which links to/loads the shared fontconfig library will not work when called from within the extension system unless either was built with the same MacPorts configuration or $DYLD_LIBRARY_PATH has been replaced by other means?

Inkscape 0.47pre1-2 r21720 (from
   /opt/local/lib/libfontconfig.1.dylib (compatibility version 5.0.0, current version 5.0.0)

Inkscape 0.46+devel r22115:
   /Volumes/blue/mp/lib/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.1.0)

pstoedit [pstoedit @3.45_3 (active)]
   /Volumes/blue/mp/lib/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.1.0)

libfontconfig.1.dylib [fontconfig @2.7.1_0+macosx (active)]
   /Volumes/blue/mp/lib/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.1.0)