Skip to contentSkip to conversation

FATAL: cannot determine library version

DISCUSSION Pete Popov 2 participants 3 messages Oct 27, 2000 – Oct 30, 2000 MIPS

lore
Share & tools
lore

Pete Popov

author
#0 lore raw

I've got a big endian kernel running for a new embedded board, and it mounts the root fs over nfs. I'm using the simple-0.2b packages as the root fs. At some point after /bin/sh is loaded, I get the following error:

FATAL: cannot determine library version

The same root file system is fine on my Indigo2.

Any clues?

Thanks,

Pete

#1 lore raw
Quoted 8 lines · Pete Popov

I've got a big endian kernel running for a new embedded board, and it mounts the root fs over nfs. I'm using the simple-0.2b packages as the root fs. At some point after /bin/sh is loaded, I get the following error:

FATAL: cannot determine library version

The same root file system is fine on my Indigo2.

Seems your kernel is foobared. On startup libc is trying to determine the kernel version but both using uname and /proc/sys/kernel/osrelease fail for some reason.

Ralf

author
#2 lore raw
Quoted 8 lines · Ralf Baechle
Quoted 5 lines · Pete Popov

I've got a big endian kernel running for a new embedded board, and it mounts the root fs over nfs. I'm using the simple-0.2b packages as the root fs. At some point after /bin/sh is loaded, I get the following error:

Quoted 7 lines
Quoted 3 lines

FATAL: cannot determine library version

The same root file system is fine on my Indigo2.

Seems your kernel is foobared. On startup libc is trying to determine the kernel version but both using uname and /proc/sys/kernel/osrelease fail for some reason.

Thanks, that helped.

uname wasn't called at all -- only /proc/sys/kernel/osrelease was being opened. However, I did not have CONFIG_SYSCTL enabled in my .config file.

Pete