Skip to content

Conda gcc broken #604

@fbaig

Description

@fbaig

Describe the bug
The gcc compiler is broken

To Reproduce
Steps to reproduce the behavior:

  1. Run docker run -it --platform linux/amd64 pangeo/pangeo-notebook:2025.01.10 /bin/bash
  2. [In container] Create a sample c code file vim test.c
#include <stdio.h>
#define LAST 10      
int main()
{
     int i, sum = 0;
     for ( i = 1; i <= LAST; i++ ) {
        sum += i;
      } /*-for-*/
      printf("sum = %d\n", sum);
      return 0;
}
  1. Compile the test code gcc test.c
  2. Produces following error
/srv/conda/envs/notebook/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
/srv/conda/envs/notebook/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory

Expected behavior
The sample code should compile without any error.

Docker Image Version:
pangeo/pangeo-notebook:2025.01.10

Infrastructure (Where you are running this image):
Personal MacBook Pro Apple M2 Pro, 32 GB, MacOS 15.3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions