Hello, people! I am recapturing my old, stalled work on TDE-on-NixOS. I have had some success compiling some libraries.
But now I am stuck with a novel probem:
An executable file is compiled and used in order to generate a file for the next phase(s).
But this executable needs to load a library, compiled previously.
If I try to run that binary file directly, it fails with the message:
./genembed: error while loading shared libraries: libtdefx.so.14: cannot open shared object file: No such file or directory
But when I execute directly LD_LIBRARY_PATH=../../tdefx ./genembed
, it works without hassle.
My question is: how can I fix that problem in Nix? How can I call an executable tha needs of a librar not installed yet?
Here is a pastebin of the failed build log: