It seems it's a not reliable behavior.
If I compile thrift c_glib library and show requirement of the libraries I found: thrift/lib/c_glib$ objdump -p .libs/libthrift_c_glib.so | grep NEED
NEEDED libgobject-2.0.so
NEEDED libglib-2.0.so
NEEDED libintl.so
NEEDED libssl.so
NEEDED libcrypto.so
NEEDED libc.so
NEEDED libdl.so
Now, if I install and do the same command on installation directory and execute from the install directory. objdump -p x86/lib/libthrift_c_glib.so | grep NEED I get the same.
But If I go to the thrift source and execute the command to the installation patch... Surprise!!!
objdump -p /opt/android/x86_64/lib/libthrift_c_glib.so | grep NEED
NEEDED libssl.so
NEEDED libcrypto.so
NEEDED libc.so
NEEDED libdl.so
Some libraries dissapeared!!! Why?