#43744: library not found for -lgcc ----------------------+-------------------------------- Reporter: kj299@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: sqlite3 | ----------------------+-------------------------------- Comment (by kj299@…): Thanks for the file. I have the latest version of xcode-select, Xcode, and command line tools installed. however, it appears that the build process can't find my "cc" compiler. any idea how i can change the PATH to ensure it is detected? {{{ :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_netcat/netcat/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_netcat/netcat/work/netcat-1.10" && /usr/bin/make -j4 -w generic' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_netcat/netcat/work/netcat-1.10" && /usr/bin/make -j4 -w generic :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_netcat/netcat/work/netcat-1.10' :info:build make -e nc -w --jobserver-fds=6,7 -j XFLAGS='-DGENERIC' STATIC= :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_netcat/netcat/work/netcat-1.10' :info:build cc -O -s -DGENERIC -o nc netcat.c :info:build make[1]:cc: No such file or directory :info:build make[1]: *** [nc] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_netcat/netcat/work/netcat-1.10' :info:build make: *** [generic] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_netcat/netcat/work/netcat-1.10' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_netcat/netcat/work/netcat-1.10" && /usr/bin/make -j4 -w generic :info:build Exit code: 2 :error:build org.macports.build for port netcat returned: command execution failed :debug:build Error code: CHILDSTATUS 11449 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" }}} -- Ticket URL: <https://trac.macports.org/ticket/43744#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X