LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 667|回复: 3

编译qt 问题

[复制链接]
发表于 2003-10-27 09:08:05 | 显示全部楼层 |阅读模式
编译的时候出错
说是 libqt.so.3 没找到,在网上找了一下解决办法

In very few cases you may need to run /sbin/ldconfig or something
    similar at this point if you are using shared libraries.

    If you have problems running the example programs, e.g. messages like

         can't load library 'libqt.so.3'

    you probably need to put a reference to the qt library in a
    configuration file and run /sbin/ldconfig as root on your system.
    And don't forget to set LD_LIBRARY_PATH as explained in (2) above.

但是没有用。不知道有没有人碰到类似的问题,怎么解决的

另外,qt-x/free。3。3。2
有个patch,有些安装说明里要打这个patch,有些没有打
不知道这个patch是干什么用的。会不会影响安装
发表于 2003-10-27 09:23:00 | 显示全部楼层
编译qt出错也太痛苦了,so long time……
我记得一般用的qt库是 libqt-mt.so啊,这里为什么要用libqt.so呢?
你的qt库有没有加到/etc/ld.so.conf路径里面?
 楼主| 发表于 2003-10-28 10:34:49 | 显示全部楼层
找到原因了,是要把qt编译时目录下的/lib加到LD_LIBRARY_PATH里
BLFS里没有讲.......
发表于 2003-10-28 11:32:53 | 显示全部楼层
可是blfs里不是你用的qt版本啊,老大.
出了问题,别把责任怪在别人身上.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表