#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)
Change History (10)
Changed 13 years ago by jelkink@…
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 follow-up: 4 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 follow-up: 5 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 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: | new → closed |
Ok, great. Yes, installing rogue software into /bin or /usr/bin is bound to foul up MacPorts, so I recommend not doing that.
port log file