Manuel Spínola
unread,Jul 16, 2026, 11:45:27 AM (5 days ago) Jul 16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to R-inla discussion group
Hi all,
I'm deploying a Shiny app (R package built with golem) that uses INLA on Posit
Connect Cloud, a containerized platform running Ubuntu 22.04.5 with GLIBC 2.35.
I'd appreciate any guidance on the best way forward.
**Setup:**
- INLA R package version 26.06.08 (installed fresh at deploy time)
- inlabru 2.14.1
- Platform: Ubuntu 22.04.5 container, GLIBC 2.35 available (confirmed via ldd)
**Problem 1 (resolved by working around it, not fixed):**
The only binary distributed for this platform is `inla.mkl` / `inla.mkl.run`.
Running it fails with:
version `GLIBC_2.38' not found (required by .../inla.mkl)
version `GLIBC_2.36' not found (required by .../first/libstdc++.so.6)
So the distributed Ubuntu-22.04.5 build appears to require a newer GLIBC than
is available in this (fairly standard) Ubuntu 22.04 container.
**Workaround attempted:**
Following the guidance in the docs and mailing list about alternative Linux
builds (downloading directly from the Linux-builds directory rather than the
interactive inla.binary.install() menu, since our deploy process is
non-interactive), I substituted the Ubuntu-20.04.6 build, Version_23.05.30-1
(the most recent one listed for that OS folder), using the inla.run wrapper
script (not the raw inla binary, which fails separately on a missing
libRmath.so.1 — using inla.run resolves that by setting up
LD_LIBRARY_PATH correctly).
**Problem 2 (current blocker):**
With that older binary in place, INLA now runs (no GLIBC error, no missing
library, no segfault), correctly parses most of the model, but fails with:
*** ERROR *** inla_build: section=[INLA.stiles] is not used; please check its type=[STILES]
I understand this is because the Version_23.05.30-1 binary predates the
23.08.18 change where INLA moved to depending on the fmesher package instead
of a standalone binary -- so the INI file being generated by our (current,
26.06.08) R package includes a section format the old binary doesn't
recognize.
**Question:**
Is there a supported combination of (a) a Linux-builds binary compiled
against an older/lower GLIBC baseline, that is (b) recent enough (post
23.08.18) to be compatible with the INI format generated by a current INLA/
inlabru installation? Or alternatively, is there a recommended way to pin the
INLA R package itself to an older, matching version without breaking
compatibility with a current inlabru (2.14.1)?
Any pointers on the right binary/package combination for a GLIBC-2.35-only
Ubuntu 22.04 container would be very helpful.
Thanks,
Manuel Spinola