Hi

I haven't found a way to build cgit statically, though I have found a solution to the LD_LIBRARY_PATH problem.

I have used patchelf to add the LD_LIBRARY_PATH as an RPATH
patchelf --add-rpath <path_to_library>

Kind regards,
Rob

On 13/10/2025 10:20, [email protected] wrote:
Hi

Is there a way to build cgit statically?

I'm trying to build cgit with lua on a shared web hosting. I have built lua libraries and need to static link these lua libraries, this is due to having no way to add lua libraries to LD_LIBRARY_PATH to run cgit

Kind regards,
Rob

Reply via email to