AnsweredAssumed Answered

How to use armel .so in armhf system?

Question asked by Blangero Wang on Sep 10, 2013
Latest reply on Oct 8, 2013 by Daiane Angolini

Hi everyone:

  I'm just using an armhf system on imx6q , and I need to use gpu-viv in it . 

  Timesys has an gpu-viv for armhf but there's no Directfb .so files in ti . (the one I need is libdirectfb_gal.so)

  I got an armel version , but when running dfbinfo ( which will check libdirectfb_gal.so ) , I got this:

 

Direct/Modules: Unable to dlopen `/usr/lib/directfb-1.4-0/systems/libdirectfb_gal.so'!

    --> /usr/lib/directfb-1.4-0/systems/libdirectfb_gal.so: cannot open shared object file: No such file or directory

[19057: -STACK- ]

  #0  0x2ad4bc15 in ?? () from /usr/lib/libdirect-1.4.so.0 [0x2ad3f000]

  #1  0x2ad4ae1d in direct_modules_explore_directory () from /usr/lib/libdirect-1.4.so.0 [0x2ad3f000]

  #2  0x2ad03bd1 in dfb_system_lookup () from /usr/lib/libdirectfb-1.4.so.0 [0x2ac50000]

  #3  0x2acbf879 in dfb_core_create () from /usr/lib/libdirectfb-1.4.so.0 [0x2ac50000]

  #4  0x00008690 in DirectFBCreate () from dfbinfo [0x8000]

  #5  0x000087f9 in ?? () from dfbinfo [0x8000]

 

From the readelf I'm sure this is an armel version file, but armel version files SHOULD be ok on a armhf system , isn't it!?

 

I compiled a test which will print "hello" on an armel system and it CAN execute on my armhf system.

What's wrong with the " libdirectfb_gal.so"

Anyone know? Please help me !

Thanks in advance!

 

___________________________

 

Shinghua Wang

Outcomes