Last active
September 2, 2019 03:27
-
-
Save happyj2me/33776cc8f745791ace39726c4c23d346 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ar -x libscy.a | |
readelf -s -W logger.cpp.o | grep Rotating | |
306: 0000000000000000 1405 FUNC GLOBAL DEFAULT 181 _ZN3scy19RotatingFileChannel5writeERKNS_9LogStreamE | |
307: 0000000000000000 3092 FUNC GLOBAL DEFAULT 183 _ZN3scy19RotatingFileChannel6rotateEv | |
308: 0000000000000000 1221 FUNC GLOBAL DEFAULT 175 _ZN3scy19RotatingFileChannelC1ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_NS_5LevelES7_iS7_ | |
309: 0000000000000000 1221 FUNC GLOBAL DEFAULT 175 _ZN3scy19RotatingFileChannelC2ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_NS_5LevelES7_iS7_ | |
310: 0000000000000000 40 FUNC GLOBAL DEFAULT 179 _ZN3scy19RotatingFileChannelD0Ev | |
311: 0000000000000000 367 FUNC GLOBAL DEFAULT 177 _ZN3scy19RotatingFileChannelD1Ev | |
312: 0000000000000000 367 FUNC GLOBAL DEFAULT 177 _ZN3scy19RotatingFileChannelD2Ev | |
527: 0000000000000230 24 OBJECT GLOBAL DEFAULT 443 _ZTIN3scy19RotatingFileChannelE | |
543: 00000000000000a0 28 OBJECT GLOBAL DEFAULT 445 _ZTSN3scy19RotatingFileChannelE | |
559: 0000000000000148 64 OBJECT GLOBAL DEFAULT 443 _ZTVN3scy19RotatingFileChannelE | |
c++filt -n _ZN3scy19RotatingFileChannelC1ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_NS_5LevelES7_iS7_ | |
scy::RotatingFileChannel::RotatingFileChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, scy::Level, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) | |
1. 编译找不到库的问题 | |
export PKG_CONIFG_PATH=xxxx | |
root@localhost ~]# pkg-config --cflags --libs libcfg | |
-I/ext/corosync/include -L/ext/corosync/lib -lcfg | |
2.连接找不到库的问题 | |
/etc/ld.so.conf.d/janus ---- /opt/janus/lib/third_party | |
ldconfig ---- 刷新缓存 | |
ldconfig -p | grep ffmpeg ---- 查询是否生效 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment