/usr/bin/ld: cannot find -llagrangianCFDEM-PUBLIC-2.1.x

Submitted by jorisheyman on Fri, 11/23/2012 - 11:10

Hi,

I'll tried to upgrade from CFDEM-PUBLIC-2.1.0 to CFDEM-PUBLIC-2.1.1, everything works fine during compilation.
But when solvers compile, there's an error :

/usr/bin/ld: cannot find -llagrangianCFDEM-PUBLIC-2.1.1

So I tried to come back to previous OpenFoam version 2.1.0, by changing $WM_PROJECT_VERSION variable to 2.1.0, and recompiling, but now, I get the same error when compiling solvers:

/usr/bin/ld: cannot find -llagrangianCFDEM-PUBLIC-2.1.0

I made a: locate lagrangianCFDEM-PUBLIC and it eventually find a lib file :

/OpenFOAM/joris-2.1.0/platforms/linuxGccDPOpt/lib/liblagrangianCFDEM-PUBLIC-2.1.0.so

But it seems not to exist anymore when I try to reach it...

What's the problem with me ?
Thks
j

jorisheyman | Fri, 11/23/2012 - 11:29

ARf, it's my fault, the error was up in the compilation:

/usr/bin/ld: cannot find -llmp_lmp_fedora_fpic
collect2: ld returned 1 exit status
make: *** [/home/joris/OpenFOAM/joris-2.1.0/platforms/linuxGccDPOpt/lib/liblagrangianCFDEM-PUBLIC-2.1.0.so] Error 1