Creating a rootfs from a x86 host: unknown machine 40


Linux-SWAT

Forum Addict!
Joined
Feb 13, 2010
Messages
9,175
Code:
Hi !

After my upgrade from Slackware x86_64 14.0 to 14.1, my pandora rootfs doesn't work anymore.
Can't find init.

My creation logs show this:

Executing install script for glibc-solibs-2.17-arm-14.tgz.
install/doinst.sh: line 38: sbin/ldconfig: cannot execute binary file
/sbin/ldconfig: ld-2.17.so is for unknown machine 40.

/sbin/ldconfig: No link created since soname could not be found for ld-2.17.so
/sbin/ldconfig: libBrokenLocale-2.17.so is for unknown machine 40.

/sbin/ldconfig: No link created since soname could not be found for libBrokenLocale-2.17.so
/sbin/ldconfig: libanl-2.17.so is for unknown machine 40.

...And a lot more

According to this guy: http://buildroot-busybox.2317881.n4.nabble.com/ldconfig-unknown-machine-40-td47588.html
"'These are _not_ just warnings; ldconfig ignores the library content, so
"output/target/etc/ld.so.cache" is left unpopulated, meaning that the
target device will not boot successfully due to missing libraries (the
libraries are on the file-system, just the ld.so.cache does not list them).'"

I would like to ask for your knowledge about this.
 
I dont know much but


ld-2.17.so
Is a File from GlibC

Seem its related to GlibC Errors.

Seem they have a wrong Machine Version.

I would try to recopy the GlibC Files from another working Version or from a BootCD

Maybe you can reinstall GlibC.

I know this Files a little from my experiments with Wine and the Gnemul Directory.

Edit:

I saw in your post


glibc-solibs-2.17-arm-14.tgz
Maybe with a little Mistake have you installed the X86 Files or this File is not right precompiled.

But maybe its more simple and you need


glibc-solibs-2.17-arm-14.1.tgz in Slackware 14.1
and not


glibc-solibs-2.17-arm-14.tgz from Slackware 14
:rolleyes:
 
Last edited by a moderator:
Took ldconfig from the previous Slackware, and it worked.

In the rootfs folder:

Code:
/sbin/ldconfig-2.15 -r .
 
Last edited by a moderator:
Back
Top