Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (opcode):

I have a system that built everything on the Musl libc combination, I wish to run glibc built applications. Is there a simple way to do this?

OpenStudy (rsmith6559):

Try one that's easy to uninstall and clean up if it crashes and burns?

OpenStudy (opcode):

I did test whether I could run glibc built binaries on a Musl libc platform, in short I cannot. I tried building statically; however, glibc built applications (even static) still do not run on a Musl libc platform. (Musl static built binaries run on glibc though.) I can create a chroot environment running that lets me run glibc programs, as long as glibc is the base of the chroot. Issues with this is it is time consuming, and I do not have the time to continuously spare and maintain packages built on the glibc chroot just because I want to run one application that I cannot build from source. Honestly just looking for a way to simplify my life when using a Musl libc Linux.

OpenStudy (rsmith6559):

Virtual Machine?

OpenStudy (opcode):

There not enough memory on the actual machine to run a virtual machine.

OpenStudy (rsmith6559):

I'm out of ideas. Another machine seems like the only way.

OpenStudy (hari5719):

clear the temp files before using a virtual machine i guess

OpenStudy (opcode):

The current hardware I am working on has only 60.08 MiB of RAM. I could desolder the current RAM, and add more; however, [sadly] this is exotic hardware, so there is no documentation.

OpenStudy (brettross25):

here hope this helps http://www.tldp.org/HOWTO/html_single/Glibc-Install-HOWTO/

OpenStudy (opcode):

That does not help. What I have decided to do was create a separate partition, in which everything glibc lives, and use LD_PRELOAD to redirect looks ups, etc. Current problem: It is slow.

OpenStudy (hari5719):

change ure RAM if its slow

OpenStudy (opcode):

@hari5719 by slow I mean it takes time out of my development process. Also I cannot add more RAM if you read above you would know the current RAM is soldered to the board.

OpenStudy (hari5719):

oh ok thts bad !!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!