Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30556 closed defect (duplicate)

libtool: libltdl.dylib is not in the destroot

Reported by: kai.vanes@… Owned by: boeyms@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: libtool

Description

I recently upgraded to OSX Lion, installed the latest Xcode and the latest version of MacPorts, and uninstalled all of my ports. On reinstall, a large number of ports completed successfully, however libtool would not compile.

Am currently running OSX 10.7 on a Mid 2009 MacBook Pro 5,3 (Core 2 Duo).

The error it gives is as follows:

Error: /opt/local/lib/libltdl.dylib is not in the destroot. Please clean libtool and try again.
Error: Target org.macports.destroot returned: missing /opt/local/lib/libltdl.dylib in destroot
Warning: the following items did not execute (for libtool): org.macports.activate org.macports.destroot org.macports.install
Error: Failed to install libtool

Needless to say, cleaning and reinstalling does not help.

Change History (4)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Keywords: libtool OSX Lion removed
Owner: changed from macports-tickets@… to boeyms@…
Summary: libtool won't compile under Lionlibtool: libltdl.dylib is not in the destroot

Do you have gfortran in /usr/bin or /bin? If so remove it. See several previous tickets.

comment:2 in reply to:  1 Changed 13 years ago by kai.vanes@…

Replying to ryandesign@…:

Do you have gfortran in /usr/bin or /bin? If so remove it. See several previous tickets.

Saw that post, but did not realize the computer had gfortran installed (at least I don't recall installing it myself). Moved to /usr/local/bin and problem solved.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Well it didn't come from Mac OS X, Xcode or MacPorts, so something you installed put it there.

/usr/local/bin is also not a good location for you to be putting software if you want to use MacPorts. Please remove /usr/local to ensure you do not encounter other strange errors with ports.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Note: See TracTickets for help on using tickets.