Libc issues...


Recommended Posts

I'm running a custom, tiny embedded Linux installation that runs kernel 2.6.22.18 and Busybox 1.7.0. It runs an old glibc, 2.5. Well, I need at least 2.7 for Tonido which I want to run. I tried replacing the files and pretty much everything else to 2.10, but Busybox ended up breaking so I had to reflash the OS and I'm back at square one. I think you can define where the system should look for libraries in /etc/ld.so.conf and then run "ldconfig," but the binary isn't present on the system. Do I have any options to having 2 versions of libc, or should I start looking through Tonido's source to have them look for a renamed libc file. ;)

Help? Thanks in advance!

Edited by CrimsonRedMk
Link to comment
https://www.neowin.net/forum/topic/859370-libc-issues/
Share on other sites

You can install the new version of glibc to a different location, one that's not listed in the $LD_LIBRARY_PATH variable. Then add the path to the new version of glibc to $LD_LIBRARY_PATH on the same shell where you are about to start the program that needs it.

Either that or you could set up a chroot environment.

Link to comment
https://www.neowin.net/forum/topic/859370-libc-issues/#findComment-592027604
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.