![]() |
2013-02-28
, 21:36
|
Posts: 2,076 |
Thanked: 3,268 times |
Joined on Feb 2011
|
#81
|
![]() |
2013-03-18
, 12:32
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#82
|
[CODE]~/mcpi $ ldd minecraft-pi
./minecraft-pi: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found (required by ./minecraft-pi)
wget http://maemo.merlin1991.at/cssu/develdebs/gcc-4.7.2_fremantle_armel/packages/libstdc%2b%2b6_4.7.2-0%2bcssu0_armel.deb wget http://maemo.merlin1991.at/cssu/develdebs/gcc-4.7.2_fremantle_armel/packages/libgcc1_4.7.2-0%2bcssu0_armel.deb dpkg -i libstdc\+\+6_4.7.2-0\+cssu0_armel.deb libgcc1_4.7.2-0\+cssu0_armel.deb strings /usr/lib/libstdc++.so.6 | grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17
~/mcpi $ ldd minecraft-pi /usr/bin/ldd: eval: line 1: ./minecraft-pi: not found
file minecraft-pi minecraft-pi: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.26, dynamically linked (uses shared libs), stripped
The Following User Says Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2013-03-18
, 13:10
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#83
|
ln -s ld-linux.so.3 /lib/ld-linux-armhf.so.3
unzip 2013-02-09-wheezy-raspbian.zip fdisk -l 2013-02-09-wheezy-raspbian.img #2013-02-09-wheezy-raspbian.img2 122880 3788799 1832960 83 Linux #512*122880 = 62914560 mkdir ras sudo mount -o loop,offset=62914560 2013-02-09-wheezy-raspbian.img ras scp ras/opt/vc/lib/libbcm_host.so user@192.168.1.111:mcpi scp ras/opt/vc/lib/libvcos.so user@192.168.1.111:mcpi scp ras/opt/vc/lib/libvchiq_arm.so user@192.168.1.111:mcpi
~/mcpi $ LD_LIBRARY_PATH=. ./minecraft-pi *** glibc detected *** ./minecraft-pi: free(): invalid pointer: 0x00136390 *** ======= Backtrace: ========= /lib/libc.so.6[0x4033823c] /lib/libc.so.6[0x40339558] /lib/libc.so.6(cfree+0xb8)[0x403397e8] /usr/lib/libstdc++.so.6(_ZNSs7reserveEj+0x84)[0x401c45c0] ./minecraft-pi[0x1238c] ======= Memory map: ======== 00008000-0012d000 r-xp 00000000 b3:02 141238 /home/user/mcpi/minecraft-pi 00135000-00137000 rw-p 00125000 b3:02 141238 /home/user/mcpi/minecraft-pi 00137000-001a7000 rw-p 00137000 00:00 0 [heap] 40000000-4001c000 r-xp 00000000 fe:01 22942 /lib/ld-2.5.so 4001c000-40023000 rw-p 4001c000 00:00 0 40023000-40025000 rw-p 0001b000 fe:01 22942 /lib/ld-2.5.so 4002f000-4006c000 r-xp 00000000 fe:01 7958 /usr/lib/libGLESv2.so 4006c000-40073000 ---p 0003d000 fe:01 7958 /usr/lib/libGLESv2.so 40073000-40074000 rw-p 0003c000 fe:01 7958 /usr/lib/libGLESv2.so 40074000-40076000 r-xp 00000000 fe:01 7622 /usr/lib/libEGL.so 40076000-4007d000 ---p 00002000 fe:01 7622 /usr/lib/libEGL.so 4007d000-4007e000 rw-p 00001000 fe:01 7622 /usr/lib/libEGL.so 4007e000-4008c000 r-xp 00000000 b3:02 139718 /home/user/mcpi/libbcm_host.so 4008c000-40094000 ---p 0000e000 b3:02 139718 /home/user/mcpi/libbcm_host.so 40094000-40095000 rw-p 0000e000 b3:02 139718 /home/user/mcpi/libbcm_host.so 40095000-40098000 rw-p 40095000 00:00 0 40098000-400b8000 r-xp 00000000 fe:01 8412 /usr/lib/libpng12.so.0.37.0 400b8000-400bf000 ---p 00020000 fe:01 8412 /usr/lib/libpng12.so.0.37.0 400bf000-400c0000 rw-p 0001f000 fe:01 8412 /usr/lib/libpng12.so.0.37.0 400c0000-4010f000 r-xp 00000000 fe:01 7965 /usr/lib/libSDL-1.2.so.0.11.1 4010f000-40117000 ---p 0004f000 fe:01 7965 /usr/lib/libSDL-1.2.so.0.11.1 40117000-40119000 rw-p 0004f000 fe:01 7965 /usr/lib/libSDL-1.2.so.0.11.1 40119000-40120000 rw-p 40119000 00:00 0 40120000-40221000 r-xp 00000000 fe:01 22866 /usr/lib/libstdc++.so.6.0.17 40221000-40228000 ---p 00101000 fe:01 22866 /usr/lib/libstdc++.so.6.0.17 40228000-4022c000 r--p 00100000 fe:01 22866 /usr/lib/libstdc++.so.6.0.17 4022c000-4022e000 rw-p 00104000 fe:01 22866 /usr/lib/libstdc++.so.6.0.17 4022e000-40234000 rw-p 4022e000 00:00 0 40234000-402a1000 r-xp 00000000 fe:01 22939 /lib/libm-2.5.so 402a1000-402a8000 ---p 0006d000 fe:01 22939 /lib/libm-2.5.so 402a8000-402a9000 r--p 0006c000 fe:01 22939 /lib/libm-2.5.so 402a9000-402aa000 rw-p 0006d000 fe:01 22939 /lib/libm-2.5.so 402aa000-402c7000 r-xp 00000000 fe:01 22884 /lib/libgcc_s.so.1 402c7000-402cf000 ---p 0001d000 fe:01 22884 /lib/libgcc_s.so.1 402cf000-402d0000 rw-p 0001d000 fe:01 22884 /lib/libgcc_s.so.1 402d0000-403e7000 r-xp 00000000 fe:01 22952 /lib/libc-2.5.so 403e7000-403ef000 ---p 00117000 fe:01 22952 /lib/libc-2.5.so 403ef000-403f0000 r--p 00117000 fe:01 22952 /lib/libc-2.5.so 403f0000-403f2000 rw-p 00118000 fe:01 22952 /lib/libc-2.5.so 403f2000-403f5000 rw-p 403f2000 00:00 0 403f5000-4040a000 r-xp 00000000 fe:01 22944 /lib/libpthread-2.5.so 4040a000-40411000 ---p 00015000 fe:01 22944 /lib/libpthread-2.5.so 40411000-40412000 r--p 00014000 fe:01 22944 /lib/libpthread-2.5.so 40412000-40413000 rw-p 00015000 fe:01 22944 /lib/libpthread-2.5.so 40413000-40415000 rw-p 40413000 00:00 0 40415000-404f9000 r-xp 00000000 fe:01 8194 /usr/lib/libX11.so.6.2.0 404f9000-40500000 ---p 000e4000 fe:01 8194 /usr/lib/libX11.so.6.2.0 40500000-40504000 rw-p 000e3000 fe:01 8194 /usr/lib/libX11.so.6.2.0 40504000-40510000 r-xp 00000000 fe:01 7297 /usr/lib/libIMGegl.so 40510000-40517000 ---p 0000c000 fe:01 7297 /usr/lib/libIMGegl.so 40517000-40518000 rw-p 0000b000 fe:01 7297 /usr/lib/libIMGegl.so 40518000-4052b000 r-xp 00000000 fe:01 7686 /usr/lib/libsrv_um.so 4052b000-40533000 ---p 00013000 fe:01 7686 /usr/lib/libsrv_um.so 40533000-40534000 rw-p 00013000 fe:01 7686 /usr/lib/libsrv_um.so 40534000-40536000 r-xp 00000000 fe:01 22941 /lib/libdl-2.5.so 40536000-4053d000 ---p 00002000 fe:01 22941 /lib/libdl-2.5.so 4053d000-4053e000 r--p 00001000 fe:01 22941 /lib/libdl-2.5.so 4053e000-4053f000 rw-p 00002000 fe:01 22941 /lib/libdl-2.5.so 4053f000-40548000 r-xp 00000000 b3:02 139719 /home/user/mcpi/libvcos.so 40548000-40550000 ---p 00009000 b3:02 139719 /home/user/mcpi/libvcos.so 40550000-40551000 rw-p 00009000 b3:02 139719 /home/user/mcpi/libvcos.so 40551000-40557000 r-xp 00000000 fe:01 22943 /lib/librt-2.5.so 40557000-4055e000 ---p 00006000 fe:01 22943 /lib/librt-2.5.so 4055e000-4055f000 r--p 00005000 fe:01 22943 /lib/librt-2.5.so 4055f000-40560000 rw-p 00006000 fe:01 22943 /lib/librt-2.5.so 40560000-40565000 r-xp 00000000 b3:02 139720 /home/user/mcpi/libvchiq_arm.so 40565000-4056d000 ---p 00005000 b3:02 139720 /home/user/mcpi/libvchiq_arm.so 4056d000-4056e000 rw-p 00005000 b3:02 139720 /home/user/mcpi/libvchiq_arm.so 4056e000-4057e000 r-xp 00000000 fe:01 7371 /usr/lib/libz.so.1.2.3 4057e000-40585000 ---p 00010000 fe:01 7371 /usr/lib/libz.so.1.2.3 40585000-40586000 rw-p 0000f000 fe:01 7371 /usr/lib/libz.so.1.2.3 40586000-4063e000 r-xp 00000000 fe:01 8089 /usr/lib/libasound.so.2.0.0 4063e000-40642000 rw-p 000b8000 fe:01 8089 /usr/lib/libasound.so.2.0.0 40642000-40644000 r-xp 00000000 fe:01 7331 /usr/lib/libpulse-simple.so.0.0.2 40644000-4064b000 ---p 00002000 fe:01 7331 /usr/lib/libpulse-simple.so.0.0.2 4064b000-4064c000 rw-p 00001000 fe:01 7331 /usr/lib/libpulse-simple.so.0.0.2 4064c000-4066b000 r-xp 00000000 fe:01 8345 /usr/lib/libpulse.so.0.8.0 4066b000-40673000 ---p 0001f000 fe:01 8345 /usr/lib/libpulse.so.0.8.0 40673000-40674000 rw-p 0001f000 fe:01 8345 /usr/lib/libpulse.so.0.8.0 40674000-40676000 r-xp 00000000 fe:01 8896 /usr/lib/libXau.so.6.0.0 40676000-4067d000 ---p 00002000 fe:01 8896 /usr/lib/libXau.so.6.0.0 4067d000-4067e000 rw-p 00001000 fe:01 8896 /usr/lib/libXau.so.6.0.0 4067e000-40682000 r-xp 00000000 fe:01 7298 /usr/lib/libXdmcp.so.6.0.0 40682000-40689000 ---p 00004000 fe:01 7298 /usr/lib/libXdmcp.so.6.0.0 40689000-4068a000 rw-p 00003000 fe:01 7298 /usr/lib/libXdmcp.so.6.0.0 4068a000-406b1000 r-xp 00000000 fe:01 7329 /usr/lib/libpulsecommon-0.9.15.so 406b1000-406b9000 ---p 00027000 fe:01 7329 /usr/lib/libpulsecommon-0.9.15.so 406b9000-406ba000 rw-p 00027000 fe:01 7329 /usr/lib/libpulsecommon-0.9.15.so 406ba000-406ee000 r-xp 00000000 fe:01 7390 /usr/lib/libdbus-1.so.3.4.0 406ee000-406f6000 ---p 00034000 fe:01 7390 /usr/lib/libdbus-1.so.3.4.0 406f6000-406f7000 rw-p 00034000 fe:01 7390 /usr/lib/libdbus-1.so.3.4.0 406f7000-406fc000 r-xp 00000000 fe:01 7242 /usr/lib/libgdbm.so.3.0.0 406fc000-40703000 ---p 00005000 fe:01 7242 /usr/lib/libgdbm.so.3.0.0 40703000-40704000 rw-p 00004000 fe:01 7242 /usr/lib/libgdbm.so.3.0.0 40704000-40f05000 rw-p 40704000 00:00 0 be845000-be85a000 rw-p befeb000 00:00 0 [stack] Aborted
![]() |
2013-10-15
, 22:00
|
Posts: 959 |
Thanked: 3,427 times |
Joined on Apr 2012
|
#84
|
./minecraft-pi: /usr/lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found (required by ./minecraft-pi) ./minecraft-pi: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./minecraft-pi)