Opened 15 years ago
Closed 15 years ago
#21784 closed defect (invalid)
NASM fails to install "ld: library not found for -lcrt1.10.6."
Reported by: | macports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: | nasm |
Description
Trying to install NASM, used command:
sudo port install nasm
Fails with:
---> Computing dependencies for nasm ---> Configuring nasm Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_nasm/work/nasm-2.05.01" && ./configure --prefix=/opt/local " returned error 77 Command output: checking for gcc... /usr/bin/gcc-4.2 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. Error: Status 1 encountered during processing.
(Relevant (I think) portion of config.log:
configure:2110: $? = 0 configure:2117: /usr/bin/gcc-4.2 -v >&5 Using built-in specs. Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enab le-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin 10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-appl e-darwin10 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5646) configure:2120: $? = 0 configure:2127: /usr/bin/gcc-4.2 -V >&5 gcc-4.2: argument to `-V' is missing configure:2130: $? = 1 configure:2153: checking for C compiler default output file name configure:2180: /usr/bin/gcc-4.2 -O2 -arch x86_64 -I/opt/local/include -L/opt/local/lib conftest.c >&5 ld: library not found for -lcrt1.10.6.o collect2: ld returned 1 exit status configure:2183: $? = 1 configure:2221: result: configure: failed program was: | /* confdefs.h. */
any ideas?
I'm on port v1.8.1 Xcode 3.2 Component versions: DevToolsCore-1608.0; DevToolsSupport-1591.0 BuildVersion: 10A432
Change History (5)
comment:1 Changed 15 years ago by tobypeterson
comment:2 Changed 15 years ago by macports@…
Thanks for the quick response Toby. I don't have it. I do have it here: /Developer/SDKs/MacOSX10.6.sdk/usr/lib/crt1.10.6.o
comment:3 Changed 15 years ago by tobypeterson
Try reinstalling Xcode, make sure you choose the "unix development support" option.
comment:4 Changed 15 years ago by macports@…
Toby - I could've sworn I did that, but this time it worked! Therefore you get all the credit :) Thank you!
in detail (for others):
- I re-installed Xcode from the snow leopard disk (with all the options ticked)
- I re-installed Macports 1.8.1
eureka!
comment:5 Changed 15 years ago by jmroot (Joshua Root)
Port: | nasm added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
sounds like your install is busted; do you have /usr/lib/crt1.10.6.o ?