libpng is a high usage lib for android' image related apps. Thus, when android has already loaded "libpng" module in system, the other "libpng" library generated by torch-image module would have a name conflict issue. Thus, when lua tried to require 'libpng', the dlsym() func would always return the older lib handle, which leads that torch cannot find "luaopen_libpng" exported func.
Solution: we rename this lib to avoid name conflict issue.
libpng is a high usage lib for android' image related apps. Thus, when android has already loaded "libpng" module in system, the other "libpng" library generated by torch-image module would have a name conflict issue. Thus, when lua tried to require 'libpng', the dlsym() func would always return the older lib handle, which leads that torch cannot find "luaopen_libpng" exported func.
Solution: we rename this lib to avoid name conflict issue.