Skip to content

[BUG]collect2: error: ld returned 1 exit status #241

@andrewsilver1997

Description

@andrewsilver1997

Describe the bug
A clear and concise description of what the bug is.
I had ``make: *** [Makefile:135: enzo.exe] Error 1'' while compiling make-linux-gnu with GCCcore/11.3.0, OpenMPI/4.1.4-GCC-11.3.0, HDF5/1.12.2-gompi-2022a

when I did ``cat out.compile'', it said:
/cvmfs/hpc.rug.nl/versions/2023.01/rocky8/x86_64/amd/zen3/software/binutils/2.38-GCCcore-11.3.0/bin/ld: error: /lib: read: Is a directory
collect2: error: ld returned 1 exit status

I was running on computer cluster.
And FYI, I followed the step as #167 suggested:
add -std=legacy to MACH_FFLAGS
add -std=legacy to the MACH_F90FLAGS

Thank you for your help.

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