Hi I have an linking error. I am on WSL2, 22.04.1 LTS, 4-3.0 Fluka, 3.2-1 Flair.
I checked the prev solution for the similar error, tried to install libz-dev, restarted virtual machine, physical machine.
Note, selecting ‘zlib1g-dev’ instead of ‘libz-dev’
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu9.2).
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
Listing is same libz-dev are not listed, but I can see libzsdt1, zlib1g and -dev too.
* Linking: /usr/local/fluka/bin/lfluka -o GCR_2023.exe source.o
gfortran -o GCR_2023.exe -fuse-ld=bfd source.o -L/usr/local/fluka/lib -lfluka -lstdc++ -lz
/usr/bin/ld.bfd: cannot find -lstdc++: No such file or directory
collect2: error: ld returned 1 exit status
Ended: 2022.12.09 10:37:06
Error linking
Error: executable is not generated