CANNOT LINK EXECUTABLE "Myexecutable ": library " vendor/xxx/yyy/target64/libmyLibrary.so" not found
--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm not sure, but I suspect your SONAME is incorrect in your shared library. Make sure that you've specified -Wl,-soname,libmyLibrary.so (or equivalent) when building your library.- Dan
On Mon, Feb 26, 2018 at 10:50 AM, Vasishath Kaushal <vasi...@gmail.com> wrote:
I dont know if this relates to ur case but i have faced a similar problem with cmake in the past. This is a general behaviour of make in which the binaries generated in build tree will always have hardcoded absolute paths to shared libraries. But if one runs make install and then uses those binaries, they have relative paths.
The binaries generated by make install are the ones meant to be finally used and run on the target system.
Did u also copy the binaries from an intermediate directory ?
Hope this helps.
--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.