What is linux-gate.so?

Submitted by Anonymous
on July 5, 2004 - 11:17am

ldd displays the "phantom" library dependency of linux-gate.so for most (all?) shared-lib
binaries on 2.6 systems. Can anyone shed some light on just what this is? I find some
obscure references to it in Makefiles in the 2.6 kernel tree, but can't figure it out.
Some debuggers complain about this...

I just became aware of this i

Anonymous
on
July 22, 2004 - 6:54pm

I just became aware of this issue doing ldd on the Acrobat Reader intellinux plugin version 5.0.8. The symptom was that firefox said that the plugin was there but the plugin is never launched.

Back to googling.

regcomp would need linux-gate.so too

Anonymous
on
July 25, 2004 - 3:36pm

I just tried to install a binary only spellchecker for OO.org and "regcomp", the OO component registering program failed, assumably because linux-gate.so.1 was not found (according to ldd).

This lkml post indicates that

Anonymous
on
July 25, 2004 - 5:08pm

This lkml post indicates that that .so is actually some "magic" part of the kernel used for syscalls on x86 and ia64 apparently.
It gets linked to some kernel code - not to a real .so file.
I doubt your issues are linked to this.

workaround

ville (not verified)
on
August 17, 2005 - 8:27pm

Hi folks... I had this problem, and a "ls \r Segmentation fault" also...
I use slack with tha 2.6.11 kernel. This error appears when I run ldconfig... it seems that ldconfig is linkin some libraries to neverland...
As u can see:

ldd /bin/ls
librt.so.1 => /lib/librt.so.1 (0xb7f90000)
libc.so.6 => /lib/libc.so.6 (0xb7e61000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7e10000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fa8000)

That one works fine... evrthg is all right...

Then, when ldconfig runs...

ldconfig; ldd /bin/ls
linux-gate.so.1 => (0xffffe000)
librt.so.1 => /lib/librt.so.1 (0xb7f83000)
libc.so.6 => /lib/libc.so.6 (0xb7e65000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7e14000)
/lib/ld-linux.so.2 (0xb7f9b000)

Two "ghost libs" so far? Well... my workaround is simple, first, remove the ldconfig from rc scripts then run a installpkg glibc-2.3.2-i486-6.tgz and bingo!

Hope it helps! but if someone has solved this issue, please.. spread your knowledge with us! =)

just solved... after compi

ville (not verified)
on
August 23, 2005 - 7:19pm

just solved...

after compiling your new kernel (2.6.x), update your "glib" stuff...

linux-gate.so.1

Anonymous (not verified)
on
February 22, 2005 - 12:29am

hi,
i have just started work on javax.usb. i downloaded all files for rhl9 and then tried to install the package. but it stops with a message saying that linux-gate.so.1 is not found.
im working on 2.4 kernel. what should i do?

update to 2.6

Anonymous (not verified)
on
July 25, 2006 - 3:52am

update to 2.6

linux-gate.so.1

sanhita (not verified)
on
April 6, 2007 - 8:28am

Hi,

I have messed up with my gentoo already and trying to reinstall it. I am getting stuck where have to
chroot /mnt/gentoo /bin/bash
It says:
chroot: cannot run command '/bin/bash': No such file or directory

I think the problem is I don't have this file linux-gate.so.1
Can anyone please tell me how to get over this?

Thanks
sanhita

AFAIR it is perhaps it

on
April 10, 2007 - 6:06am

AFAIR it is perhaps it points to the vsyscall page, which makes system calls in Linux blazingly faster than traditional int 0x80 mechanism.

Please let me know if i am wrong.

thanks

~psr

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.