#272 Build erraneously picks up 32-bit libltdl


When compiling on Suse (SLES 11.1) with both 32-bit and 64-bit versions of libtool installed, compilation fails.

During the configure stage, wrong lib directories are introduced to LDFLAGS when the LDFLAGS for freetype and xml2 are added.

The attached patch solves the problem for me (but might break stuff for other people).

1 Attachments


  • Bob Friesenhahn

    Bob Friesenhahn - 2014-11-18

    It may be that if GraphicsMagick configure provides an option to use pkg-config files, that this problem would be avoided on a system where pkg-config is perfectly installed. Otherwise it requires temporary modification of the user executable search path (PATH) since GraphicsMagick is obtaining options from package-specific config scripts.

  • Bob Friesenhahn

    Bob Friesenhahn - 2015-02-23

    What does 'freetype-config --libs' report for the system which has freetype libraries in lib64? This ouput could be used directly except that since we have many libraries to link with, we don't like it that -L and -l options are mixed in the same output. If -l arguments are filtered, then the output would be useful for LDFLAGS.


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

Sign up for the SourceForge newsletter:

No, thanks