Where is 32-bit glibc?

Requirements:

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:
25.06 (ROME) Rolling for x86_64

Desktop environment (KDE, LXQT…):
KDE Plasma 6.3.4 (X11)

Description of the issue:
Titanium (app development framework) fails with [ERROR] 32-bit glibc library is not installed during the app build process for Android emulation. I’ve been trying to install the library from several packages but unsuccessful.

I’m pretty clueless on how to get it so some help would be greatly appreciated, thanks.

We can only assume, you mean this:

If we don’t have the 32 bit library (which it doesn’t seem we do), are you able to use a flatpak or appimage? I don’t think 32 bit glibc is even needed for Steam, and that is what we primarily have 32 libraries for.

You may also want to consult this:

After poking around in Titanium’s source code looking for what’s causing the error, I think I found the issue. It’s trying to find the glibc.x86_64 package but the RegExp patterns below are wrong so it always returns null which is falsy, triggering the error.

Hardcoding the boolean to true or fixing the patterns allows the emulator to launch with zero issues.

if (/^glibc-/.test(line)) {
	if (/\.i[36]86$/.test(line)) {
		result.glibc = true;
	} else if (result.glibc !== true) {
		result.glibc = false;
	}
}

It seems I resolved the issue myself lmao. My apologies for opening this ticket, I was stomped for a good while there until the last-ditch idea of fiddling with the source code came up. Luckily it paid off.

1 Like

I’ll be sure to report my findings to the Titanium SDK team :+1:
You can safely close this topic since I can’t mark my reply as the solution.

An apology is not necessary. Hopefully, this will help others.

That is for the Support topic. I moved this to Development because it’s more related.

1 Like

Added the feature also for this category.

3 Likes

Update

32-bit libraries glibc and libstdc++ are no longer required for Android emulation so they got removed, resolving the error :+1:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.