码迷,mamicode.com
首页 > 其他好文 > 详细

Native libraries .so.XY failing to link at runtime

时间:2014-07-14 00:00:03      阅读:278      评论:0      收藏:0      [点我收藏+]

标签:style   io   line   re   ar   c   

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

标签:style   io   line   re   ar   c   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!