Ticket #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@… |
| 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
Change History
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.
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!


port log file