[MacPorts] #30018: ImageMagick and missing /opt/local/lib/libltdl.dylib
#30018: ImageMagick and missing /opt/local/lib/libltdl.dylib ----------------------------------+----------------------------------------- Reporter: christophe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Simply doing. on 10.6.8: sudo port install imagemagick, I get: ---> Computing dependencies for ImageMagick ---> Configuring ImageMagick Error: The file /opt/local/lib/libltdl.dylib does not exist, though it was Error: expected to have been provided by one of ImageMagick's dependencies. Try Error: rebuilding the port that should have provided that file by running Error: Error: sudo port -n upgrade --force <portname> Error: Error: Target org.macports.configure returned: missing required file Log for ImageMagick is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/main.log Error: Status 1 encountered during processing. Attached is the corresponding log file. -- Ticket URL: <https://trac.macports.org/ticket/30018> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30018: ImageMagick and missing /opt/local/lib/libltdl.dylib ----------------------------------+----------------------------------------- Reporter: christophe@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ImageMagick ----------------------------------+----------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => ryandesign@… * port: => ImageMagick Old description:
Simply doing. on 10.6.8: sudo port install imagemagick,
I get:
---> Computing dependencies for ImageMagick ---> Configuring ImageMagick Error: The file /opt/local/lib/libltdl.dylib does not exist, though it was Error: expected to have been provided by one of ImageMagick's dependencies. Try Error: rebuilding the port that should have provided that file by running Error: Error: sudo port -n upgrade --force <portname> Error: Error: Target org.macports.configure returned: missing required file Log for ImageMagick is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/main.log Error: Status 1 encountered during processing.
Attached is the corresponding log file.
New description: Simply doing. on 10.6.8: sudo port install imagemagick, I get: {{{ ---> Computing dependencies for ImageMagick ---> Configuring ImageMagick Error: The file /opt/local/lib/libltdl.dylib does not exist, though it was Error: expected to have been provided by one of ImageMagick's dependencies. Try Error: rebuilding the port that should have provided that file by running Error: Error: sudo port -n upgrade --force <portname> Error: Error: Target org.macports.configure returned: missing required file Log for ImageMagick is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/main.log Error: Status 1 encountered during processing. }}} Attached is the corresponding log file. -- Comment: Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/30018#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30018: ImageMagick and missing /opt/local/lib/libltdl.dylib ----------------------------------+----------------------------------------- Reporter: christophe@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ImageMagick ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Then please do what the error message says, and run "`sudo port -n upgrade --force libtool`" -- Ticket URL: <https://trac.macports.org/ticket/30018#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30018: ImageMagick and missing /opt/local/lib/libltdl.dylib ----------------------------------+----------------------------------------- Reporter: christophe@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ImageMagick ----------------------------------+----------------------------------------- Comment(by christophe@…): Replying to [comment:2 ryandesign@…]:
Then please do what the error message says, and run "`sudo port -n upgrade --force libtool`"
Did that (sudo port -n upgrade --force libtool), but it still does not work. Btw, the error says libltdl, not libtool. Following the exact error message, I do: sudo port -n upgrade --force imagemagick And then I get (not surprisingly): Error: imagemagick is not installed The weird thing is that when I look under /opt/local/lib, I have: libltdl.a and libltdl.la, but no libltdl.dylib. -- Ticket URL: <https://trac.macports.org/ticket/30018#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30018: ImageMagick and missing /opt/local/lib/libltdl.dylib ----------------------------------+----------------------------------------- Reporter: christophe@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ImageMagick ----------------------------------+----------------------------------------- Comment(by christophe@…): A bit more info. Just to try to see what is going on, I removed the two .a files (/opt/local/lib/libltdl.a and /opt/local/lib/libltdl.la). Then I ran your proposed "sudo port -n upgrade --force libtool". This re-installed the two .a files, but did not bring in the corresponding libltdl.dylib. -- Ticket URL: <https://trac.macports.org/ticket/30018#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30018: libtool does not install libltdl.dylib ----------------------------------+----------------------------------------- Reporter: christophe@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libtool ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * owner: ryandesign@… => boeyms@… * cc: ryandesign@… (added) * port: ImageMagick => libtool Comment: Replying to [comment:3 christophe@…]:
Did that (sudo port -n upgrade --force libtool), but it still does not work. Btw, the error says libltdl, not libtool.
Yes. libltdl.dylib is the LibTool Dynamic Loader, which was supposed to have been provided by the libtool port, but on your system it was not. I need to see the main.log file from the libtool build in order to determine why that happened. This same problem has previously been reported in #25417 and #23684. The presence of the file /usr/bin/gfortran may be implicated. Do you have this file? If so remove it and try rebuilding libtool again. I have modified the libtool port in r80123 to prevent its installation if libltdl.dylib did not get built. -- Ticket URL: <https://trac.macports.org/ticket/30018#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30018: libtool does not install libltdl.dylib ----------------------------------+----------------------------------------- Reporter: christophe@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libtool ----------------------------------+----------------------------------------- Comment(by christophe@…): This worked! I indeed had the file /usr/bin/gfortran (which was a link to /usr/bin/gfortran-4.2). Moved it out of the way, and now libtool brings in the libltdl.dylib file (which itself is a link to libltdl.7.dylib). And Imagemagick compiles and install fine. Thanks for your help. Not sure where I got this gfortran from (another macports install, likely). -- Ticket URL: <https://trac.macports.org/ticket/30018#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30018: libtool does not install libltdl.dylib -----------------------------------+---------------------------------------- Reporter: christophe@… | Owner: boeyms@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: libtool | -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: MacPorts does not install things in /usr. If you need gfortran, install a MacPorts gcc port (such as gcc46). -- Ticket URL: <https://trac.macports.org/ticket/30018#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30018: libtool does not install libltdl.dylib -----------------------------------+---------------------------------------- Reporter: christophe@… | Owner: boeyms@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: libtool | -----------------------------------+---------------------------------------- Comment(by ryandesign@…): Has duplicate #30037. -- Ticket URL: <https://trac.macports.org/ticket/30018#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30018: libtool does not install libltdl.dylib -----------------------------------+---------------------------------------- Reporter: christophe@… | Owner: boeyms@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: libtool | -----------------------------------+---------------------------------------- Comment(by ryandesign@…): Duplicate of #23684. -- Ticket URL: <https://trac.macports.org/ticket/30018#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts