#272 Build erraneously picks up 32-bit libltdl

v1.0_(example)
open
nobody
None
5
2014-11-18
2014-06-25
Johannes Zarl
No

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

Discussion

  • 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.