* can I build cgit statically
@ 2025-10-13 9:20 rob
2026-01-13 6:08 ` Robert Davies
0 siblings, 1 reply; 2+ messages in thread
From: rob @ 2025-10-13 9:20 UTC (permalink / raw)
To: cgit
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: can I build cgit statically
2025-10-13 9:20 can I build cgit statically rob
@ 2026-01-13 6:08 ` Robert Davies
0 siblings, 0 replies; 2+ messages in thread
From: Robert Davies @ 2026-01-13 6:08 UTC (permalink / raw)
To: cgit
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, rob@robdavies.net 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-13 6:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13 9:20 can I build cgit statically rob
2026-01-13 6:08 ` Robert Davies
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).