Error while loading test - lib missing

33 views
Skip to first unread message

Arun KS

unread,
Jan 10, 2019, 2:03:22 AM1/10/19
to Hafnium
Hello,

I m trying to load test as follows,

./prebuilts/linux-x64/qemu/qemu-system-aarch64 -M virt,gic_version=3 -cpu cortex-a57 -smp 4 -m 16M -machine virtualization=true -nographic -nodefaults -serial stdio -kernel ./out/qemu_aarch64_clang/initrd/primary_with_secondaries_test

It exits with an error,
./prebuilts/linux-x64/qemu/qemu-system-aarch64: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory

I dont find libSDL2-2.0.so.0 in hafnium trees aswell.


Appreciate any pointers.

Regards,
Arun


Johnson Lu

unread,
Jan 10, 2019, 7:14:23 AM1/10/19
to Hafnium
You can install it by below command:

sudo apt-get install git curl libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0


在 2019年1月10日星期四 UTC+8下午3:03:22,Arun KS写道:

Arun Sudhilal

unread,
Jan 10, 2019, 7:37:31 AM1/10/19
to Johnson Lu, Hafnium
On Thu, Jan 10, 2019 at 5:44 PM Johnson Lu <gf...@163.com> wrote:
>
> You can install it by below command:
>
> sudo apt-get install git curl libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0
>
But, I believe we need cross compiled version for arm64.

Regards,
Arun


>
> 在 2019年1月10日星期四 UTC+8下午3:03:22,Arun KS写道:
>>
>> Hello,
>>
>> I m trying to load test as follows,
>>
>> ./prebuilts/linux-x64/qemu/qemu-system-aarch64 -M virt,gic_version=3 -cpu cortex-a57 -smp 4 -m 16M -machine virtualization=true -nographic -nodefaults -serial stdio -kernel ./out/qemu_aarch64_clang/initrd/primary_with_secondaries_test
>>
>> It exits with an error,
>> ./prebuilts/linux-x64/qemu/qemu-system-aarch64: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
>>
>> I dont find libSDL2-2.0.so.0 in hafnium trees aswell.
>>
>> https://hafnium.googlesource.com/hafnium/prebuilts/+/master/linux-x64/clang/lib64/
>>
>> Appreciate any pointers.
>>
>> Regards,
>> Arun
>>
>>
> --
> You received this message because you are subscribed to the Google Groups "Hafnium" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to hafnium-discu...@googlegroups.com.
> To post to this group, send email to hafnium...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/hafnium-discuss/6daf9e8f-9084-4c6b-a50a-0f7e3ba6d263%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Johnson Lu

unread,
Jan 10, 2019, 7:54:41 AM1/10/19
to Hafnium
I think this lib is QEMU needed, not vm needs.

在 2019年1月10日星期四 UTC+8下午8:37:31,Arun KS写道:
Reply all
Reply to author
Forward
0 new messages