klayout icon indicating copy to clipboard operation
klayout copied to clipboard

OpenBSD doesn't have libdl

Open bentley opened this issue 7 years ago • 2 comments

On OpenBSD, dlopen() and friends are in libc, and there is no libdl. The LIBS += -ldl line in src/unit_tests/unit_tests.pro thus causes a failure on OpenBSD.

bentley avatar Dec 07 '18 13:12 bentley

Hi bentley,

could you check whether the "linux" selector is off?

I.e. does using

if(linux*|mac) {
  LIBS += -ldl
}

solve the issue?

Thanks,

Matthias

klayoutmatthias avatar Dec 11 '18 20:12 klayoutmatthias

Any updates? I'll close the ticket otherwise.

klayoutmatthias avatar Feb 22 '20 23:02 klayoutmatthias