Cannot find libfaketime.so.1 using compiler.find_library() #13806
-
Where I'm testing locally, libfaketime.so.1 is in /usr/lib/faketime. This code is not finding it:
After a little more testing, I see now that meson will find it if I create a libfaketime.so symlink to the so.1 file. I wonder why on Manjaro and Ubuntu Linux (the only two I've tried this on), the .so symlink isn't created when installing the package. I am trying to use faketime for a test setup:
Any suggestions as to a different approach? Maybe it would be best if I bundled the faketime source with my project. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
You need to install the corresponding |
Beta Was this translation helpful? Give feedback.
-
FWICT you are not supposed to link against faketime, instead you have to set |
Beta Was this translation helpful? Give feedback.
-
Does the |
Beta Was this translation helpful? Give feedback.
Does the
faketime
program wrapper not work for your use case?