Chinaunix首页 | 论坛 | 博客
  • 博客访问: 92699
  • 博文数量: 16
  • 博客积分: 1466
  • 博客等级: 上尉
  • 技术积分: 187
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-27 11:48
文章分类

全部博文(16)

文章存档

2012年(1)

2011年(2)

2010年(5)

2008年(8)

我的朋友

分类: LINUX

2008-07-27 12:37:17

各位前辈:最近一直做qtopia4.3.3的交叉编译,可就是一直报错,我现有已经把qtopia4.3.3的生成路径/usr/local/Trolltech/QtopiaCore-4.3.3-arm  mount 到了板子上的/mnt下。PATH路径设定为/mnt/bin:/usr/bin:/bin:/usr/sbin:/sbin 。可是现在关键是老是报庫相关的错误。我把LD_LBRARRY_PATH设定为/lib:/usr/lib:/mnt/lib 。运行/mnt/example/mainwidow/applicatiohn/下的./application
它提示:
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by ./application)                
./application: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /mnt/lib/libQtGui.so.4)         
./application: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /mnt/lib/libQtGui.so.4)         
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /mnt/lib/libQtGui.so.4)       
./application: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /mnt/lib/libQtNetwork.so.4)     
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /mnt/lib/libQtNetwork.so.4)   
./application: /lib/libm.so.6: version `GLIBC_2.2' not found (required by /mnt/lib/libQtCore.so.4)        
./application: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /mnt/lib/libQtCore.so.4)        
./application: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /mnt/lib/libQtCore.so.4)        
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /mnt/lib/libQtCore.so.4)      
./application: /lib/libc.so.6: version `GLIBC_2.1.2' not found (required by /mnt/lib/libQtCore.so.4)      
./application: /lib/libpthread.so.0: version `GLIBC_2.2' not found (required by /mnt/lib/libQtCore.so.4)  
./application: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by /mnt/lib/libQtCore.so.4)
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /mnt/lib/libstdc++.so.6)      
./application: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /mnt/lib/libstdc++.so.6)        
./application: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /mnt/lib/libstdc++.so.6)        
./application: /lib/libc.so.6: version `GLIBC_2.2.4' not found (required by /mnt/lib/libgcc_s.so.1)       
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /mnt/lib/libgcc_s.so.1)
我已经把libstdc++.so.6拷贝到了/mnt/lib下了,可它却去/lib下去找。
当我把D_LBRARRY_PATH设定为/mnt/lib:/lib:/usr/lib
它又提示:
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libdl.so.2)    
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libpthread.so.0)
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libc.so.6)
我已经把ld-linux.so.2拷贝到了/mnt/lib下了
 
这时候运行任何命令都提示:
clear
clear: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libc.so.6)
然后我就再改变LD_LIBRARY_PATH的庫顺序
unset  LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mnt/lib:/usr/lib:/lib
结果和第一次错误一样。

它老提示我/lib下缺少**文件,可是我/mnt/lib下已经有了相应文件。可我的板子上的文件系统除了/tmp其它都是不可写的,连链接也不可以呀!
改变其它的像:
export LD_LIBRARY_PATH=/mnt/lib  
提示:
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libdl.so.2)    
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libpthread.so.0)
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libc.so.6)  

它现在就是提示/lib下没有**文件,可是在我的挂载的/mnt/lib下我已经 从arm-linux-gcc交叉编译器的/arm-linux/lib目录下拷贝过来了。你们说这该怎么办。

阅读(1625) | 评论(2) | 转发(0) |
0

上一篇:没有了

下一篇:Linux mmc+sd 2G驱动

给主人留下些什么吧!~~

chinaunix网友2008-11-06 20:35:47

我已经不用QTOPIA了,我现在用MINIGUI.我估计是我的内存太小了.qtopia要求至少32M内存.如果你的硬件配置够的话,一般是环境变量的设置,或者是动态链接库的版本不对.

chinaunix网友2008-11-05 16:34:39

我也遇到这个问题,我用的是4.3.5的,不知道兄台解决了没有???