boost 添加rpath

来源:互联网 发布:windows pe 编辑:程序博客网 时间:2024/06/05 17:01

./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

0 0