LD_ASSUME_KERNEL support for feisty

Hemant Bist hemant_bist at yahoo.com
Tue Sep 11 17:33:07 UTC 2007


Hi,

Yes, I have tried exporting LD_ASSUME_KERNEL=2.4.1. In feisty, it causes
other commands like ls also to break. In dapper setting the LD_ASSUME_KERNEL
works for me. [I have also unsuccessfully  tried, as a desparate measure,
copying all the dependent libraries in a directory and setting
LD_LIBRARY_PATH to that directory.]

On dapper without setting the LD_ASSUME_KERNEL,  I get following error.
symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time
reference
root at bestprice:~#

Thanx,

HB
-----------------feisty with LD_ASSUME_KERNEL ----------------------------
root at noida:~#  uname -a
Linux noida 2.6.17-10-server #2 SMP Fri Oct 13 18:47:26 UTC 2006 i686
GNU/Linux
root at noida:~# export LD_ASSUME_KERNEL=2.4.1
root at noida:~# ls -d /tmp
ls: error while loading shared libraries: librt.so.1: cannot open shared
object file: No such file or directory
root at noida:~# unset  LD_ASSUME_KERNEL
root at noida:~# ls -d /tmp
/tmp
root at noida:~#

---------------------dapper ith LD_ASSUME_KERNEL---------------
root at bestprice:~# uname -a
Linux bestprice 2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686
GNU/Linux
root at bestprice:~# export LD_ASSUME_KERNEL=2.4.1
root at bestprice:~# ls -d /tmp
/tmp
root at bestprice:~#


On 9/11/07, Marc Rios <marcrios84 at gmail.com> wrote:
>
> And have you tried to set manually the enviorment variable??
> ?> export var=value
>
> 2007/9/10, Hemant Bist < hemant_bist at yahoo.com>:
> >
> > Yes, I have the permissions. This particular executable was running in
> > Dapper only with the env. variable. LD_ASSUME_KERNEL=2.4.1
> > Following link seems to indicate the LD_ASSUME_KERNEL is not supported
> > anymore in Feisty. I am hoping that there is some other workaround for this
> >
> > http://www.howforge.com/why-ubuntu-6-06-dapper-drake-must-be-long-term-support
> >
> >
> > HB
> >
> >
> >  ls -lL /lib/tls/i686/cmov/libdl.so.2
> > -rw-r--r-- 1 root root 9640 2007-01-24 08:50
> > /lib/tls/i686/cmov/libdl.so.2
> >
> > On 9/10/07, Marc Rios < marcrios84 at gmail.com> wrote:
> > >
> > > and do you have permisions of reading for libdl.so.2 =>
> > > /lib/tls/i686/cmov/libdl.so.2 (0xb7f22000)??
> > > i supose yes but...
> > >
> > > 2007/9/10, Hemant Bist < hemantbist at gmail.com>:
> > > >
> > > > Thanks a lot for the response.
> > > > I already ran my app through ldd and verified that all the shared
> > > > libraries it depends on are present.
> > > >
> > > > This is what the ldd output looks like. All the dependencies are
> > > > present.
> > > >
> > > > linux-gate.so.1 =>  (0xffffe000)
> > > >         libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f22000)
> > > >         libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0
> > > > (0xb7f10000)
> > > >         libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7de1000)
> > > >         /lib/ld-linux.so.2 (0xb7f3b000)
> > > >
> > > >
> > > > On 9/10/07, Marc Rios < marcrios84 at gmail.com> wrote:
> > > > >
> > > > > It seems like you don't have a library...
> > > > > can you execute ?>ldd executable_file and send it to us?
> > > > >
> > > > >
> > > > > 2007/9/10, Hemant Bist <hemantbist at gmail.com>:
> > > > > >
> > > > > >  Hi,
> > > > > >
> > > > > > I have an application that runs fine on Ubuntu-Dapper when
> > > > > > LD_ASSUME_KERNEL=2.4.1 is set.
> > > > > > However the same application gives the following errors on
> > > > > > feisty. Is there a workaround for this?
> > > > > > Is there any other environment variable that needs to be set for
> > > > > > backward compatibility?
> > > > > > I  have spent quite some time on this. I would appreciate any
> > > > > > pointers in troubleshooting this.
> > > > > >
> > > > > > lmgrd: error while loading shared libraries: libdl.so.2: cannot
> > > > > > open shared object file: No such file or directory
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > Hemant.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ubuntu-users mailing list
> > > > > > ubuntu-users at lists.ubuntu.com
> > > > > > Modify settings or unsubscribe at:
> > > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > ubuntu-users mailing list
> > > > > ubuntu-users at lists.ubuntu.com
> > > > > Modify settings or unsubscribe at:
> > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> > > > >
> > > > >
> > > >
> > > > --
> > > > ubuntu-users mailing list
> > > > ubuntu-users at lists.ubuntu.com
> > > > Modify settings or unsubscribe at:
> > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> > > >
> > > >
> > >
> > > --
> > > ubuntu-users mailing list
> > > ubuntu-users at lists.ubuntu.com
> > > Modify settings or unsubscribe at:
> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> > >
> > >
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> >
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070911/1100fba3/attachment.html>


More information about the ubuntu-users mailing list