CentOS install "/usr/bin/ld: cannot find" error

Submitted by tjleps on Tue, 12/05/2017 - 20:15

I'm trying to compile LIGGGHTS 3.8.0 in CentOS with MPI and without VTK. I used the same process as for Fedora in the documentation, but using yum instead of dnf. Everything seems to be compiling alright, but then when it gets to the end and spits out all the *.o it says

/usr/bin/ld: cannot find : no such file or directory
collect2: error: ld returned 1 exit status

However, when I go to /usr/bin there is an ld there.

Does anyone know what's going on?

tjleps | Wed, 12/06/2017 - 03:04

Using the deprecated make_fedora compiles without error, but I'd like to figure out what's wrong with the make_auto installation.

arnom's picture

arnom | Mon, 12/11/2017 - 15:11

Please update your LIGGGHTS repository. I just pushed a hotfix for this issue.

If somebody wants to use VTK on CentOS switch on AUTOINSTALL_VTK and run the compilation and VTK will be automatically installed. Note that you need to install cmake first (don't use the yum one but install the latest version yourself).

Best,
Arno

DCS team member & LIGGGHTS(R) core developer