New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30106 (closed defect: invalid)

Opened 23 months ago

Last modified 19 months ago

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@…
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

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

Change History

Changed 23 months ago by jelkink@…

port log file

comment:1 Changed 23 months ago by jelkink@…

  • Cc jelkink@… added

Cc Me!

comment:2 Changed 23 months ago by ryandesign@…

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

comment:3 follow-up: ↓ 4 Changed 23 months ago by ryandesign@…

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 ; follow-up: ↓ 5 Changed 23 months 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 23 months ago by jelkink@…

comment:5 in reply to: ↑ 4 Changed 23 months ago by ryandesign@…

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 23 months 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 23 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to invalid

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 19 months ago by ryandesign@…

Duplicate of #23684.

Note: See TracTickets for help on using tickets.