symbol lookup error
Error symbol lookup
2023-09-27 14:28:09 时间
今天编译代码时出现这样的错误提示:
“./test: symbol lookup error: ./test: undefined symbol: ……”
问题原因是:test使用的动态库和makefile里面指定的动态库位置不同。
定位过程:ldd test
……
libttt.so => /listlib/lib/libttt.so
……
解决办法:修改makefile重新编译即可,或者拷贝动态库到指定的位置也可,更或者直接使用静态库编译就不会出现这样的问题。
相关文章
- Application_Error
- tomcat启动报错“Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: iZ25fsk1ifk: iZ25fsk1ifk”
- hyper-v启动虚拟机时提示“The application encountered an error while attempting to change the state of the machine ‘虚拟机名称'”如何处理?
- lua.c:82:31: fatal error: readline/readline.h: No such file or directory
- Mybatis出错: Cause: org.apache.ibatis.reflection.ReflectionException: Error instantiating class com.cyf.pojo.User with invalid types () or values ()
- vscode cmake 插件 Acquisition Failed: Installation failed: Error: .NET installation timed out
- Java学习-066-Mybatis + druid 报错: com.alibaba.druid.sql.parser.ParserException: syntax error, error in :'code LIKE "%"?"%"
- 编译boost程序出现如下错误fatal error LNK1104: cannot open file 'libboost_system-vc100-mt-gd-1_54.lib'的解决方法
- 【stm32疑难杂症】:Error: L6218E: Undefined symbol TIM_Cmd (referred from timer.o).
- XXX.C(261): error C100: unprintable character 0xA1/3 skipped
- redis启动出错Creating Server TCP listening socket 127.0.0.1:6379: bind: No error(转)
- 【ERROR】No value supplied for the SQL parameter ‘XXXXX‘: No value registered for key ‘XXXXX‘