hopp58902 Member Posted December 27, 2009 Member Share Posted December 27, 2009 (edited) 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 December 27, 2009 by CrimsonRedMk Link to comment https://www.neowin.net/forum/topic/859370-libc-issues/ Share on other sites More sharing options...
ichi Posted December 27, 2009 Share Posted December 27, 2009 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 More sharing options...
Recommended Posts