View Single Post
Old 06-13-2014, 03:50 AM   #40
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
It will be morning here in another 6 hours - take a break for the moment.

Hmm...

I did see that message during my testing.
It could be a simple matter of my shipping the wrong binaries.

For reference, this is the intended set of binary's headers:
Spoiler:

Code:
core2quad lib # for f in `ls -1 *` ; do echo $f ; readelf -dl $f | egrep 'SONAME|RUNPATH|NEEDED|Requesting' ; done
ld-linux-armhf.so
 0x0000000e (SONAME)                     Library soname: [ld-linux-armhf.so.3]
libcrypt.so.1
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libcrypt.so.1]
libc.so.6
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]
 0x0000000e (SONAME)                     Library soname: [libc.so.6]
libdl.so.2
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]
 0x0000000e (SONAME)                     Library soname: [libdl.so.2]
libgcc_s.so.1
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libgcc_s.so.1]
libm.so.6
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libm.so.6]
libnsl.so.1
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libnsl.so.1]
libnss_dns.so.2
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libresolv.so.2]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libnss_dns.so.2]
libnss_files.so.2
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libnss_files.so.2]
libpthread.so.0
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]
 0x0000000e (SONAME)                     Library soname: [libpthread.so.0]
libresolv.so.2
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]
 0x0000000e (SONAME)                     Library soname: [libresolv.so.2]
librt.so.1
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [librt.so.1]
libutil.so.1
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libutil.so.1]

core2quad bin # for f in `ls -1 *` ; do echo $f ; readelf -dl $f | egrep 'SONAME|RUNPATH|NEEDED|Requesting' ; done
busybox
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]

core2quad lib # for f in `ls -1 *` ; do echo $f ; readelf -dl $f | egrep 'SONAME|RUNPATH|NEEDED|Requesting' ; done
libhistory.so.6
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.5]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libhistory.so.6]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
liblua.so.5.1.5
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [liblua.so.5.1.5]
libncurses.so.5
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libncurses.so.5]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
libreadline.so.6
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.5]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libreadline.so.6]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
libstdc++.so.6
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x0000000e (SONAME)                     Library soname: [libstdc++.so.6]

core2quad bin # for f in `ls -1 *` ; do echo $f ; readelf -dl $f | egrep 'SONAME|RUNPATH|NEEDED|Requesting' ; done
lua
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
 0x00000001 (NEEDED)                     Shared library: [liblua.so.5.1.5]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [libreadline.so.6]
 0x00000001 (NEEDED)                     Shared library: [libhistory.so.6]
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.5]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
luac
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [libreadline.so.6]
 0x00000001 (NEEDED)                     Shared library: [libhistory.so.6]
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.5]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]


The earlier, broken set, would have an $ORIGIN in the path to the interperater:
I.E: the correct entry is:
Code:
 [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
If it isn't, use patchelf to set it per above.

Also, in the middle of the night, I realized I have mis-used the $ORIGIN in the libraries search paths.

I will get out a v-0.2.1 fixing the library search paths ASAP.
(that's easy, I just have to fix the helper scrips and run them again.)

A fixed busybox build may have to wait until v-0.2.2 (this weekend).

Thanks for your help.

Last edited by knc1; 06-13-2014 at 04:00 AM.
knc1 is offline   Reply With Quote