/lib* problem on ISOs

31 views
Skip to first unread message

Sławomir Nizio

unread,
Feb 21, 2020, 7:47:55 PM2/21/20
to sabay...@googlegroups.com
There was a great troubleshooting on IRC, and well:

on old system, /lib is a symlink to /lib64,
on an ISO (I used KDE daily of Feb 20) /lib, /lib32 and /lib64 are distinct;

/usr/bin/i686-pc-linux-gnu-pkg-config is 32 bit and requires
/lib/ld-linux.so.2,

which on ISO is missing; so is on new installations from such ISOs.



This breaks 32 apps; wine does not work either.



Could be a profile mismatch between servers that build packages and ISOs.



Workaround for users (things like this require caution; don't execute if
unsure):

# ln -s ../lib32/ld-linux.so.2 /lib


PS Old installs are fine. No worries.

Daniele Rondina

unread,
Feb 22, 2020, 6:54:40 AM2/22/20
to Sławomir Nizio, Sabayon Dev ML
Yeah, the stage3 gentoo used for build sabayon/base uses new gentoo profile with separated dirs for /lib, /lib32 and /lib64 and the same for /usr. The same issue is the same that had generated problems with calamares.

Here, I think we need to check that chroot doesn't use links for /lib and /usr/lib and rebuild packages that have file under /usr/lib, /lib. FWIS there are packages with only files cross arch that could be maintained under /usr/lib but are few.

The second issue that generate broken links is the upgrade of the packages with changes in libs path as I saw for systemd.

My script (sabayon-brokenlinks) fix this last. But maybe fix also the issue shared by you. Probably we could find the packages to recompile with a script that use qfile. I will think about it and let you know. 

My cent.

Thanks for the report.
geaaru
 

--
You received this message because you are subscribed to the Google Groups "Sabayon Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sabayon-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sabayon-dev/d41d6640-9f21-9849-0f8b-1a57e8c3a073%40sabayon.org.

Sławomir Nizio

unread,
Feb 22, 2020, 8:48:18 AM2/22/20
to Daniele Rondina, Sabayon Dev ML
I wonder if both types of servers shouldn't use the same layout/profile…

Sławomir Nizio

unread,
Mar 12, 2020, 4:30:13 AM3/12/20
to Daniele Rondina, Sabayon Dev ML
> I wonder if both types of servers shouldn't use the same layout/profile…

Packages building server migrated after some work of Joost and mine. At
the moment of writing, rebuilt packages are in the testing repository.

Daniele Rondina

unread,
Mar 12, 2020, 4:36:48 AM3/12/20
to Sławomir Nizio, Sabayon Dev ML
Cool, thanks.
Reply all
Reply to author
Forward
0 new messages