#21784: NASM fails to install "ld: library not found for -lcrt1.10.6." ------------------------------------+--------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ------------------------------------+--------------------------------------- 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 -- Ticket URL: <http://trac.macports.org/ticket/21784> MacPorts <http://www.macports.org/> Ports system for Mac OS