#58545 closed defect (duplicate)
gawk: Library not loaded: /opt/local/lib/libreadline.7.dylib
Reported by: | photor | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | ||
Port: | gawk readline |
Description (last modified by jmroot (Joshua Root))
---> Computing dependencies for libsdl2 ---> Fetching archive for libsdl2 ---> Attempting to fetch libsdl2-2.0.9_1+x11.darwin_14.x86_64.tbz2 from https://packages.macports.org/libsdl2 ---> Attempting to fetch libsdl2-2.0.9_1+x11.darwin_14.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/libsdl2 ---> Attempting to fetch libsdl2-2.0.9_1+x11.darwin_14.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/libsdl2 ---> Fetching distfiles for libsdl2 ---> Attempting to fetch SDL2-2.0.9.tar.gz from https://distfiles.macports.org/libsdl2 ---> Verifying checksums for libsdl2 ---> Extracting libsdl2 ---> Applying patches to libsdl2 ---> Configuring libsdl2 Error: Failed to configure libsdl2, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.9/config.log Error: Failed to configure libsdl2: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Attachments (2)
Change History (15)
comment:1 Changed 5 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Owner: | set to jmroot |
Status: | new → accepted |
Summary: | Failed to configure libsdl2 on mac os x 10.10 → libsdl2 @2.0.9 +x11 configure failure on mac os x 10.10 |
comment:2 follow-up: 3 Changed 5 years ago by jmroot (Joshua Root)
Please attach the log files (main.log and config.log).
comment:3 Changed 5 years ago by photor
Replying to jmroot:
Please attach the log files (main.log and config.log).
Sorry, where can I find the log files? Thanks.
comment:4 Changed 5 years ago by jmroot (Joshua Root)
The full paths to each are given in the error message.
Changed 5 years ago by photor
Attachment: | config.log added |
---|
comment:5 Changed 5 years ago by photor
I don't know why my comment is lost. The attched is config.log (while there is no main.log found in the path indicated in the error message).
comment:6 follow-up: 7 Changed 5 years ago by jmroot (Joshua Root)
Well that doesn't explain much, unfortunately.
config.status:1474: error: could not create Makefile
It's strange that there would not be a main.log. Have you tried cleaning and building again?
comment:7 Changed 5 years ago by photor
Replying to jmroot:
Well that doesn't explain much, unfortunately.
config.status:1474: error: could not create MakefileIt's strange that there would not be a main.log. Have you tried cleaning and building again?
Do you mean I should try
sudo port uninstall libsdl2
and then install libsdl2 again?
comment:8 follow-up: 9 Changed 5 years ago by jmroot (Joshua Root)
Is it currently installed? If so, does that mean the problem is resolved?
This is enough to do a fresh build, which should produce a log:
sudo port clean libsdl2 && sudo port destroot libsdl2 +x11
comment:9 Changed 5 years ago by photor
Replying to jmroot:
Is it currently installed? If so, does that mean the problem is resolved?
This is enough to do a fresh build, which should produce a log:
sudo port clean libsdl2 && sudo port destroot libsdl2 +x11
Yes, it is currently installed, but uninstall and reinstall doesn't resolve the problem. Then I tried your code, but there is still no main.log, crazy.
comment:10 follow-up: 11 Changed 5 years ago by jmroot (Joshua Root)
Hmm. Well at worst you can get most of the output that would be in the log by running in debug mode, and redirect it to a file like so:
sudo port clean libsdl2 sudo port -d destroot libsdl2 +x11 2>&1 | tee ~/Desktop/libsdl2.log
That will create a file called libsdl2.log on your Desktop.
Changed 5 years ago by photor
Attachment: | libsdl2.log added |
---|
comment:11 Changed 5 years ago by photor
Replying to jmroot:
Hmm. Well at worst you can get most of the output that would be in the log by running in debug mode, and redirect it to a file like so:
sudo port clean libsdl2 sudo port -d destroot libsdl2 +x11 2>&1 | tee ~/Desktop/libsdl2.logThat will create a file called libsdl2.log on your Desktop.
Thanks alot. Then I have attached the produced libsdl2.log.
comment:12 follow-up: 13 Changed 5 years ago by jmroot (Joshua Root)
Port: | gawk readline added; libsdl2 removed |
---|---|
Resolution: | → duplicate |
Status: | accepted → closed |
Summary: | libsdl2 @2.0.9 +x11 configure failure on mac os x 10.10 → gawk: Library not loaded: /opt/local/lib/libreadline.7.dylib |
comment:13 Changed 5 years ago by photor
Replying to jmroot:
Aha.
dyld: Library not loaded: /opt/local/lib/libreadline.7.dylib Referenced from: /opt/local/bin/gawk Reason: image not foundYou first need to upgrade (or even just uninstall) gawk, then clean libsdl2 and try installing again. This problem is covered by #58011 and #57955.
Great! It works now.
It builds fine without +x11, FWIW.