boost 添加rpath

./bootstrap.sh --prefix=/usr/local/boost_1_60_0


./b2 --prefix=/usr/local/boost_1_60_0 --with-thread linkflags=-Wl,-rpath,\'\$ORIGIN:/usr/lib64/\'

Dynamic section at offset 0x27128 contains 28 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libboost_system.so.1.60.0]
 0x0000000000000001 (NEEDED)             Shared library: [librt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libboost_thread.so.1.60.0]
 0x000000000000000f (RPATH)              Library rpath: [$ORIGIN:/usr/lib64/]
 0x000000000000000c (INIT)               0x114b0
 0x000000000000000d (FINI)               0x20428
 0x0000000000000004 (HASH)               0x158
 0x0000000000000005 (STRTAB)             0x4718
 0x0000000000000006 (SYMTAB)             0x1250
 0x000000000000000a (STRSZ)              35515 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x2275e8
 0x0000000000000002 (PLTRELSZ)           3960 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x10538
 0x0000000000000007 (RELA)               0xd730
 0x0000000000000008 (RELASZ)             11784 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0xd640
 0x000000006fffffff (VERNEEDNUM)         5
 0x000000006ffffff0 (VERSYM)             0xd1d4
 0x000000006ffffff9 (RELACOUNT)          3
 0x0000000000000000 (NULL)               0x0

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值