[MacPorts] #31327: GraphicsMagick @1.3.12 build failure with rogue libltdl in /usr/local/lib (was: GraphicsMagick @1.3.12 build failure - shell command failed)

MacPorts noreply at macports.org
Mon Sep 19 12:58:34 PDT 2011


#31327: GraphicsMagick @1.3.12 build failure with rogue libltdl in /usr/local/lib
---------------------------------------+------------------------------------
  Reporter:  mcohen@…                  |       Owner:  ryandesign@…           
      Type:  defect                    |      Status:  closed                 
  Priority:  Normal                    |   Milestone:                         
 Component:  ports                     |     Version:  2.0.3                  
Resolution:  invalid                   |    Keywords:  lion                   
      Port:  GraphicsMagick            |  
---------------------------------------+------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 From your log we see:

 {{{
 :info:build ld: warning: ignoring file /usr/local/lib/libltdl.dylib, file
 was built for unsupported file format which is not the architecture being
 linked (x86_64)
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_lt_dlclose", referenced from:
 :info:build       _DestroyModuleInfo in magick_libGraphicsMagick_la-
 module.o
 :info:build       _ExecuteModuleProcess in magick_libGraphicsMagick_la-
 module.o
 :info:build       _OpenModule in magick_libGraphicsMagick_la-module.o
 :info:build   "_lt_dlerror", referenced from:
 :info:build       _DestroyModuleInfo in magick_libGraphicsMagick_la-
 module.o
 :info:build       _ExecuteModuleProcess in magick_libGraphicsMagick_la-
 module.o
 :info:build       _InitializeMagickModules in magick_libGraphicsMagick_la-
 module.o
 :info:build       _OpenModule in magick_libGraphicsMagick_la-module.o
 :info:build   "_lt_dlexit", referenced from:
 :info:build       _DestroyModuleInfo in magick_libGraphicsMagick_la-
 module.o
 :info:build   "_lt_dlopen", referenced from:
 :info:build       _ExecuteModuleProcess in magick_libGraphicsMagick_la-
 module.o
 :info:build       _OpenModule in magick_libGraphicsMagick_la-module.o
 :info:build   "_lt_dlsym", referenced from:
 :info:build       _ExecuteModuleProcess in magick_libGraphicsMagick_la-
 module.o
 :info:build       _OpenModule in magick_libGraphicsMagick_la-module.o
 :info:build   "_lt_dlinit", referenced from:
 :info:build       _InitializeMagickModules in magick_libGraphicsMagick_la-
 module.o
 :info:build ld: symbol(s) not found for architecture x86_64
 }}}

 So you have a rogue copy of the libtool dynamic loader in /usr/local that
 is causing problems. This type of problem is why we don't support people
 having things installed in /usr/local while using MacPorts. Please move
 /usr/local aside (e.g. rename it to /usr/local-off), clean GraphicsMagick,
 and try again.

-- 
Ticket URL: <https://trac.macports.org/ticket/31327#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list