On 11/19/05, Doug Ronne <[EMAIL PROTECTED]> wrote: > > In fact, I can't run any program when LD_ASSUME_KERNEL is set to 2.4.0. > > For instance running /bin/ls: > > What is the LD_ASSUME_KERNEL=2.4.0 supposed to be for? It was > suggested that I needed it to get Matlab 7.0 working, but I had > similar experiences to Gerard, besides the fact that it seems a kooky > thing to do when your kernel is not a 2.4 kernel. So I am curious as > to what it is supposed to do.
It shouldn't be able to run any binaries if you've followed LFS. When you build glibc and pass --enable-kernel=2.6.0, it means that you cannot use binaries that require older kernel interfaces. When you pass LD_ASSUME_KERNEL=2.4.0, you shouldn't get any result because you don't have C libraries installed that can respond to that. LD_ASSUME_KERNEL can be useful when you have multiple versions of C libraries. RedHat does this to handle using old binaries. For instance, on Fedora 2 I think they had 3 sets of C libraries. Take a look at this read from Ulrich Drepper. This is a real explanation instead of my hack explanation: http://people.redhat.com/~drepper/assumekernel.html I know that the supplied OpenOffice2 binaries don't require an older kernel interface because I've used them on my LFS system with linux-2.6.13.4 and glibc-2.3.5 (with --enable-kernel=2.6.0). I haven't used it a lot lately, but I didn't have any problems with it earlier. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
