libavcodec.so: has text relocations

前端 未结 6 892
花落未央
花落未央 2020-11-29 00:35

I\'m testing Android 6.0 on a Nexus 5 and i\'m using Metaio (I know that the service is going to end on the 15th of december but for that date we\'ll move to another AR plat

6条回答
  •  抹茶落季
    2020-11-29 01:23

    After a long time struggling and trying to compile FFmpeg in different ways, I found the solution. Make sure to compile FFmpeg with the --disable-asm flag. This will make sure that FFmpeg wouldn't have text relocations and won't crash when compiling against Android M (SDK 23)

    To make sure it worked, you can use readelf as mentioned above.

    Cheers

提交回复
热议问题