首页 > 其他 > 详细

Native libraries .so.XY failing to link at runtime

时间:2014-07-13 23:59:47      阅读:696      评论:0      收藏:0      [点我收藏+]

What you need to do is edit the configure file. And find out this:

SLIBNAME=‘$(SLIBPREF)$(FULLNAME)$(SLIBSUF)‘
SLIBNAME_WITH_VERSION=‘$(SLIBNAME).$(LIBVERSION)‘
SLIBNAME_WITH_MAJOR=‘$(SLIBNAME).$(LIBMAJOR)‘ LIB_INSTALL_EXTRA_CMD=‘$$(RANLIB) "$(LIBDIR)/$(LIBNAME)"‘ SLIB_INSTALL_NAME=‘$(SLIBNAME_WITH_VERSION)‘ SLIB_INSTALL_LINKS=‘$(SLIBNAME_WITH_MAJOR) $(SLIBNAME)‘

Modified them to be:

SLIBNAME=‘$(SLIBPREF)$(FULLNAME)$(SLIBSUF)‘
SLIBNAME_WITH_VERSION=‘$(SLIBNAME)‘
SLIBNAME_WITH_MAJOR=‘$(SLIBNAME)‘ LIB_INSTALL_EXTRA_CMD=‘$$(RANLIB) "$(LIBDIR)/$(LIBNAME)"‘ SLIB_INSTALL_NAME=‘$(SLIBNAME_WITH_MAJOR)‘ SLIB_INSTALL_LINKS=‘‘

or Modified them to be:

SLIBNAME=‘$(SLIBPREF)$(FULLNAME)$(SLIBSUF)‘
SLIBNAME_WITH_VERSION=‘$(SLIBNAME).$(LIBVERSION)‘

SLIBNAME_WITH_MAJOR=‘$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)‘

LIB_INSTALL_EXTRA_CMD=‘$$(RANLIB) "$(LIBDIR)/$(LIBNAME)"‘
SLIB_INSTALL_NAME=‘$(SLIBNAME_WITH_MAJOR)‘
SLIB_INSTALL_LINKS=‘$(SLIBNAME)‘

Native libraries .so.XY failing to link at runtime,布布扣,bubuko.com

Native libraries .so.XY failing to link at runtime

原文:http://www.cnblogs.com/welhzh/p/3840337.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!