首页
社区
课程
招聘
[求助]关于执行lipo -info错误dyld: lazy symbol binding failed: Symbol not found: _map_fd
发表于: 2013-5-2 23:45 9196

[求助]关于执行lipo -info错误dyld: lazy symbol binding failed: Symbol not found: _map_fd

2013-5-2 23:45
9196
iPhone:/usr/bin root# lipo -info ldid
dyld: lazy symbol binding failed: Symbol not found: _map_fd
Referenced from: /usr/bin/lipo
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _map_fd
Referenced from: /usr/bin/lipo
Expected in: /usr/lib/libSystem.B.dylib

Trace/BPT trap: 5


之前用IOS 4.3.3没碰到这个问题,现在用IOS 5.1.1,搜了很多资料没能解决,请教下大家。

lipo尝试过两个版本,一个是从cydia下的,拖到电脑上用lipo查看的结果是:Non-fat file: lipo is architecture: arm;
另一个是群友goldenegg给的,armv7版本;

libSystem.B.dylib用的是Architectures in the fat file: libSystem.B.dylib are: armv6 armv7版本,拖到UE里搜索符号_map_fd倒是能搜索到的。

不知道有没坛友正在用ios 5,然后lipo可以正常使用的?

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 0
支持
分享
最新回复 (3)
雪    币: 2166
活跃值: (11)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
运气不错,又找到了点资料,看样子有望解决了
http://www.iphonedevwiki.net/index.php/Dyld_shared_cache

dyld_shared_cache
Jump to: navigation, search


Starting from iPhoneOS 3.1, all default libraries are combined into a big cache file in /System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv6 (or _armv7) to improve performance. The original files are no longer useful for non-on-device-developers, so they are eliminated from the system.
Cache Extraction

Developers who does not use the SDK cannot link programs on the iOS directly due to the missing dylibs. One first need to extract the appropriate dylibs from the dyld_shared_cache. One could use dyld_decache by KennyTM~ to extract these dylibs.

Alternatively, one could also use DySlim by comex to mount the whole cache file on Mac OS X.
2013-5-3 00:02
0
雪    币: 2166
活跃值: (11)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
用从ios5.1.1里的dyld_shared_cache_armv7解压出来的libSystem.B.dylib,还是会提示同样错误。。
此问题还未解决,暂时搁浅,还是先用用cygwin里的lipo算了
2013-5-4 11:54
0
雪    币: 6
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
还不知道是什么问题,等等好好研究下。
2013-5-6 09:23
0
游客
登录 | 注册 方可回帖
返回
//