-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLIBC_2.38 error when installing xeft / compiling xapian-lite on Ubuntu 24.04 #92
Comments
So to have this work you would need to compile it against the version of libxapian-dev from the Ubuntu 20.04 LTS release (as this is what the rest of the emacs snap is using). As a workaround, I could add this package to the emacs snap itself and then you should be able to do the same kind of workaround as was done for compiling |
Signed-off-by: Alex Murray <murray.alex@gmail.com>
Ok with any luck the change I just added will get automatically built and published to the beta channel in the next few hours - if you are able to test this with the workaround - BUT WITHOUT your change to add " -L" "/lib/x86_64-linux-gnu/" (since we want libxapian to come from the snap, not from the host) - then let me know, that would be great. Thanks. |
Looking at the upstream repo for xeft, to compile the module it calls So even with this fix in place in the snap, I think it would be worth sending a PR to upstream So at the moment, you would at least need to use something more like the following to get it to try to get it to compile but I suspect you would also need to override
|
Thank you for your quick response. I tried to compile the code with the libxapian from the beta channel:
But it still complains about glibc mismatch:
This is actually the same error that I get when I compile with the non-snap system:
Error:
|
Yes this is expected - as I said, you also need to specify
|
This allows compilation with Emacs from snapcraft. See alexmurray/emacs-snap#92
This allows compilation with Emacs from snapcraft. See alexmurray/emacs-snap#92 closes casouri#33
Oh, sorry overread the part about I've opened a PR on xeft: casouri/xeft#34 |
The install used to work for me on Ubuntu 20.04, but on Ubuntu 24.04 I get this error when trying to compile the xapian-lite module required by xeft:
I tried to use the workaround from #71 like this:
Note that I added
" -L" "/lib/x86_64-linux-gnu/"
so the build finds the libxapian that I installed viasudo apt install libxapian-dev
:But then I guess libxapian doesn't like the environment from the snap:
Does anyone know how to fix this?
References:
The text was updated successfully, but these errors were encountered: