mimesis-inria / caribou

Multi-physics computation library
GNU Lesser General Public License v3.0
29 stars 17 forks source link

Added -ldl flag when linking with MKL #65

Closed AlbanOdot closed 2 years ago

AlbanOdot commented 2 years ago

Hello,

When compiling using MKL I ended up with undefined references to dl symbols (addr, sym, open, close...). Adding the -ldl flag solved the problem.

Have a nice day,

Odot Alban.

jnbrunet commented 2 years ago

Thanks Alban. Weird that I never ran into this issue, and neither did the macos and linux CIs.

Could you tell me on which platform you got the error?

AlbanOdot commented 2 years ago

I got the error while compiling on : ubuntu 21.01.1 LTS 64bits

and if it matters GNOME 3.36.3 Intel I7-8700