Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#30106 closed defect (invalid)

libtool does not install libltdl.dylib

Reported by: jelkink@… Owned by: boeyms@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: libtool libltdl gfortan Cc: ryandesign (Ryan Carsten Schmidt)
Port: libtool

Description

When I try "port upgrade libtool" or "port uninstall libtool; port install libtool", I receive an error:

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

This error has been previously reported in tickets #23684, #25417, #30018, #30037, however, in all these cases the problem appears to have been /usr/bin/gfortran, which I do not have. I have gfortran installed, but from MacPorts.

Attachments (2)

main.log (25.0 KB) - added by jelkink@… 13 years ago.
port log file
main.2.log (57.9 KB) - added by jelkink@… 13 years ago.

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by jelkink@…

Attachment: main.log added

port log file

comment:1 Changed 13 years ago by jelkink@…

Cc: jelkink@… added

Cc Me!

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

Cc: ryandesign@… added; jelkink@… removed
Owner: changed from macports-tickets@… to boeyms@…

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

The log you attached is incomplete (contains lines saying "Skipping completed"). Please clean libtool and try again, and if it fails again, attach the complete main.log.

comment:4 in reply to:  3 ; Changed 13 years ago by jelkink@…

I have no idea why the log is incomplete. I did (again) the clean and install again and will attempt again to upload the log file. The log file is 500 lines long, while the one that I uploaded is only about 100 - no idea how that happened.

Changed 13 years ago by jelkink@…

Attachment: main.2.log added

comment:5 in reply to:  4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

The new log shows it did find "f77", another Fortran compiler. Is this /usr/bin/f77? or /opt/local/bin/f77? If the latter, what does "port provides /opt/local/bin/f77" say? What does "port select --show gcc" say?

comment:6 Changed 13 years ago by jelkink@…

Ah, I completely forgot I had that installed - good point!

jos-elkinks-computer:~ jos$ which f77
/bin/f77
jos-elkinks-computer:~ jos$ port provides /bin/f77
/bin/f77 is not provided by a MacPorts port.
jos-elkinks-computer:~ jos$ port select --show gcc
The currently selected version for 'gcc' is 'none'.

Renaming /bin/f77 (and then port clean and port install) fixes the problem ... Thank you!

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

Resolution: invalid
Status: newclosed

Ok, great. Yes, installing rogue software into /bin or /usr/bin is bound to foul up MacPorts, so I recommend not doing that.

comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Duplicate of #23684.

Note: See TracTickets for help on using tickets.