I want to compile a standalone binary from C++ sources which use some basic STL stuff like string, vector and so on.If I compile it with 'stlport_static' everything works fine.However with 'stlport_shared' I get this error message when executing the binary on the device: link_image[1965]: 14649 could not load needed library 'libstlport_shared.so' for '/data/prog' (load_library[1120]: Library 'libstlport_shared.so' not found)CANNOT LINK EXECUTABLEAny ideas?--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/9BLd1yb-3TkJ.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Damn I must be blind.I just realized that the stlport lib on my device in /system/lib is named 'libstlport.so' and not 'libstlport_shared.so' as expected by the linker.I just tested it by copying the 'libstlport.so' to 'libstlport_shared.so' and now it works fine.Any way to point the linker to use the 'libstlport.so'?
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/eYx5pyMNMT4J.
Yeah, but then I would have to include a copy of the libstlport_shared.so with my app.Since I am interested in keeping the distribution small I want to use the /system/lib/libstlport.so. I understand that can lead to compatibility issues, but I willing to risk that.So, any way to use the /system/lib/libstlport.so?
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/jzU5yW9X3-YJ.