关于l ibrary not found for -lz.1.2.3 编译错误
来源:互联网 发布:手机免费听歌软件 编辑:程序博客网 时间:2024/04/26 15:43
今天在下载一个Demo编译时,提示如下错误
- ld: library not found for -lz.1.2.3
- collect2: ld returned 1 exit status
- Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
lz.1.2.3指的是libz.1.2.3.dylib动态库文件,这是因为iOS5以后,也就是xcode4.2以后就没有libz.1.2.3.dylib了,取而代之是libz.1.2.5.dylib;
解决办法:删除libz.1.2.3.dylib,添加libz.1.2.5.dylib,运行成功,如果直接在原来工程上添加libz.1.2.5.dylib,仍会编译错误,所以要删除libz.1.2.3.dylib;
- 关于l ibrary not found for -lz.1.2.3 编译错误
- 关于l ibrary not found for -lz.1.2.3 编译错误
- library not found for -lz.1.2.3 编译错误 解决
- "ld: library not found for -lz.1.2.3"的问题解决
- ld: library not found for -lz
- 在编译工程时,有时会遇到类似“ld: library not found for -l…” 的错误提示
- warning: directory not found for option ' -L/...'
- "ld: library not found for -l...."
- 去掉xcode编译warning:ld: warning: directory not found for option '-L
- 去掉xcode编译warning:ld: warning: directory not found for option '-L
- xcode 编译报错directory not found for option '-L' “—F”
- 去掉xcode编译warning:ld: warning: directory not found for option '-L
- 去掉xcode编译warning:ld: warning: directory not found for option '-L
- 去掉xcode编译warning:ld: warning: directory not found for option '-L
- 去掉xcode编译warning:ld: warning: directory not found for option '-L
- 去掉xcode编译warning:ld: warning: directory not found for option '-L/User.....
- 去掉xcode编译warning:ld: warning: directory not found for option '-L
- 去掉xcode编译warning:ld: warning: directory not found for option '-L
- ntp服务器配置for linux
- oracle学习笔记2
- poj2449-A*算法+优先队列+第k最短路
- 众数问题分析
- JSTL JSP标准标签库(四)
- 关于l ibrary not found for -lz.1.2.3 编译错误
- bzip2压缩实例
- 媒体查询:支持不同的视口
- 自己使用Fedora18过程中,一些问题解决备忘!
- c# 二进制读写
- POJ 3592 Instantaneous Transference
- DB2 表空间之SMS、DMS
- IOS自动释放池
- Android之编辑框(EditText)控件