1.为了看pdg文件,安装boox viewer ,遇到错误:
error while loading shared libraries: libborqt-6.9.0-qt2.3.so: cannot open shared object file: No such file or directory
2.看到有下面的提示
"if system can't find bxv after your installation ,you can always set it by hand .
if you use bash
vi ~/.bash_profile
add two lines at the end of the file:
export LD_LIBRARY_PATH=${installdir}
export PATH=$PATH:${installdir}
where ${installdir} is the dir where bxv and lib*.so located
按照上面描述的做了。跟1一样的错误。找不到shared object file.
3.现在搜索下,大部分的解决方法都是把libbor*.so cp到/usr/lib下面,试了下还是不行。
error while loading shared libraries: libborqt-6.9.0-qt2.3.so: cannot open shared object file: No such file or directory
从返回的error来看,是找不到libbor*.so文件.看样子libbor*.so 不在程序bxv的查询路径里面.
4.在一个帖子里面有这样的提示。(地址:地址http://www.fedoraforum.org/forum/showthread.php?t=167942)
Please post the result of:
echo $LD_LIBRARY_PATH
file /root/Desktop/bxviewer/libborqt-6.9.0-qt2.3.so
ldd ~/bin/bxv
我的bash回复是
{
1.echo $LD_LIBRARY_PATH 回复为空。
2.file */libborqt-6.9.0-qt2.3.so的回复
ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
3.ldd */bxviewer/bxv
linux-gate.so.1 => (0xf770a000)
libborqt-6.9.0-qt2.3.so => not found
libm.so.6 => /lib32/libm.so.6 (0xf76c5000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf75a7000)
libdl.so.2 => /lib32/libdl.so.2 (0xf75a3000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf758a000)
libc.so.6 => /lib32/libc.so.6 (0xf7430000)
/lib/ld-linux.so.2 (0xf770b000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7416000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7411000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf740b000
}
看到bxv的许多shared library dependencies都是在/usr/lib32目录下面,就把libbor*.so cp到/usr/lib32下面,竟然可以用了!
虽说弄出来了,却有些不明不白的,有几点疑问,求高人解答。
1.网上推荐的/usr/lib而我的却是/usr/lib32,是不是跟我用AMD64的系统有关?
2.设置的~.bash_profile为什么在echo时候没有起到作用呢?
pdg 阅读器 boox viewer的安装问题
-
- 帖子: 4
- 注册时间: 2010-07-03 14:10
- SmallV
- 论坛版主
- 帖子: 9017
- 注册时间: 2011-01-26 17:52
- 来自: 万林丛中的一抹浓绿,夹带落日余晖的安祥
-
- 帖子: 4
- 注册时间: 2010-07-03 14:10
Re: pdg 阅读器 boox viewer的安装问题
超星也有linux版吗?SmallV 写了:boox viewer不大熟,
我用超星阅读器看pdg,楼主不妨试试
- SmallV
- 论坛版主
- 帖子: 9017
- 注册时间: 2011-01-26 17:52
- 来自: 万林丛中的一抹浓绿,夹带落日余晖的安祥