#1622 fontconfig 2.8.0-6 Malformed Mach-o file

René Haber

I'm running fink x86_64 unstable on 10.6.
The tools provided by fontconfig (/sw/lib/fontconfig2/bin/*) all result in the following error:
-bash: /sw/lib/fontconfig2/bin/fc-list: Malformed Mach-o file

I believe this is correlated to the recently introduced replacement command in the installation script:
perl -pi -e 's,%p/lib/fontconfig2,%p,g' bin/* lib/pkgconfig/*
which changes paths in binary files.


  • Alexander Hansen

    Maybe not, but it has

    $ otool -L /sw64/bin/fc-list
    /sw64/lib/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.4.0)
    load command 11 extends past end of load commands

  • Alexander Hansen

    Assigning to primary gnome-core-fixer-upper.

  • Alexander Hansen

    • assigned_to: nobody --> dmacks
  • Alexander Hansen

    • milestone: --> 10.6_(64-bit)
  • Daniel Macks

    Daniel Macks - 2011-06-02

    I just committed revision 7 that should solve this problem. Diagnosis was correct...that perl-pie segment was copied from a different package where the bin/* were scripts that listed things like .h pathnames.

  • René Haber

    René Haber - 2011-06-03
    • status: open --> closed-fixed
  • René Haber

    René Haber - 2011-06-03

    Thanks, this resolved the issue.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks