OMG! thanks a lot! I got so crazy trying to figure out why the linker was not able to find those basic libraries that I did not look at that extra "-l" ....
Now I need to fid where this comes from , not in my eb file, most probably in the setup.py. Anyway, thanks a lot, I think I know how to continue now. Best, Arnau El jue., 18 jul. 2019 a las 14:43, Jakob Schiøtz (<[email protected]>) escribió: > > > > On 18 Jul 2019, at 12:13, Arnau <[email protected]> wrote: > > > > > /apps/prod/easybuild/sl7.x86_64/software/binutils/2.28-GCCcore-6.4.0/bin/ld.gold: > error: > > cannot find -l-lm > > > > > /apps/prod/easybuild/sl7.x86_64/software/binutils/2.28-GCCcore-6.4.0/bin/ld.gold: > error: cannot find -l-lpthread > > It looks like these two libraries are specified as [‘-lm’, ‘-lpthread’] > (i.e. the full linker options) instead of [‘m’, ‘pthread’] (i.e. just the > library names) and then the -l option is added twice (so the command line > becomes ‘-l-lm -l-lpthread’ instead of ‘-lm -lpthread’). It is probably > somewhere else in the Python .eb file that you are using - but I am just > guessing here... > > Best regards > > Jakob > > > > -- > Jakob Schiøtz, professor, Ph.D. > Department of Physics > Technical University of Denmark > DK-2800 Kongens Lyngby, Denmark > http://www.fysik.dtu.dk/~schiotz/ > > > >

