Thanks everyone. I figured out how to do that. Why do C people like code generation so much… It seems libgpg-error uses custom tool to replace @define:.. with some strings. I decided to link to system’s libgpg-error instead.
Here’s the final code, but it’s mostly for myself though https://codeberg.org/knightpp/gpgme-zig .
Static linking gives error: fatal linker error: unhandled relocation type R_X86_64_JUMP_SLOT at offset 0x14c40 identical to
I’m trying to link with Vulkan on Linux, and I’m getting the following error when linking:
error: fatal linker error: unhandled relocation type R_X86_64_JUMP_SLOT at offset 0x....
…where the libvulkan.so path is coming from the installed Vulkan SDK, e.g.:
/home/floh/vulkansdk/1.4.328.1/x86_64/lib/pkgconfig/../../lib/libvulkan.so
Searching for R_X86_64_JUMP_SLOT (on the archived Github issue list) didn’t yield any results (except this one which looks unrelated: pthread_sigmask relocation erro…
2 Likes