Python agent error - C compiler cannot create executables

  • Updated

Issue

The contrast-agent.log lists the following error:

configure: error: C compiler cannot create executables
See `config.log' for more details


Cause

This is likely a system issue on systems running Mac OS with the installation/configuration of the XCode C libraries.


Resolution

To install XCode C libraries, run

xcode-select --install

and ensure proper XCode tools are available.

Next, run

gcc

and ensure the license has been accepted.


If this does not address the problem, please collect the pip config.log.

To prevent pip from cleaning up the temporary buld directory, it may be required to run pip install with the --no-clean option in order to retrieve the config.log.</class="note></class="note">

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request