今天翻看《完全手册》,发现kscop可以替代source insight,我一直在wine下用si,想看看kscope。
直接apt-get install 安装kscope是不行的。貌似源里头没有了?
google下,说是9.04用的是个脚本:
参考http://code.google.com/p/solrex/source/browse/trunk/scripts/bash/
#!/bin/bash
# This script helps you install Kscope on Ubuntu 9.04.
# You can also use it to fix "Kscope doesn't run in KDE4" bug.
echo "Determining machine hardware name... "
MACHINE=`uname -m`
case "$MACHINE" in
i386 | i586 | i686)
ARCH="i386"
;;
x86_64)
ARCH="amd64"
;;
*)
ARCH="i386"
;;
esac
# If Kscope is not installed, install it.
which kscope &> /dev/null
if [ $? -ne 0 ]; then
echo "Installing kscope..."
sudo apt-get install kscope || \
wget http://archive.ubuntu.com/ubuntu/pool/universe/k/kscope/kscope_1.6.0-1_${ARCH}.deb && \
sudo dpkg -i kscope_*.deb || \
sudo apt-get -fy install || \
echo "Oops, some error happens..."
fi
kscope -v &> /dev/null
if [ $? -eq 0 ]; then
echo "Kscope works fine."
exit
fi
echo "Downloading KDE3 libraries needed by kscope..."
wget http://ftp.debian.org/debian/pool/main/k/kdebase/kate_3.5.9.dfsg.1-6_${ARCH}.deb
dpkg -x kate_3*.deb kate
echo "Installing KDE3 libraries..."
sudo cp kate/usr/lib/libkateinterfaces.so.0.0.0 /usr/local/lib/
sudo cp kate/usr/lib/libkateutils.so.0.0.0 /usr/local/lib
sudo ln -s /usr/local/lib/libkateinterfaces.so.0.0.0 /usr/local/lib/libkateinterfaces.so.0
sudo ln -s /usr/local/lib/libkateutils.so.0.0.0 /usr/local/lib/libkateutils.so.0
sudo ldconfig
echo "Finished."
没想到重新安装了qt3和qt4的环境,下载了很多很多的包。还建议安装ffmpeg的。
这个ubuntu的qt4是4.6的。我还没搞清楚这个作为系统库的qt4和我安装的qtsdk,在使用上会不会有冲突。我估计qtsdk的东西,似乎没有进入系统路径??
希望可以安然。
kate可以运行的,但是版本较新。kscope受不了。
这个新版的。
刚刚那个脚本没能进入ftp,只好自己去下了。
http://ftp.debian.org/debian/pool/main/k/kdebase/
参考http://hi.baidu.com/sdsau/blog/item/246e4767c21ea8c5e7113a91.html
发现新版本的kate没有那些目录。把so都直接放到/usr/local/lib目录下。
这样就可以启动kscope了:
这些文件,我已经打包放到我的资源共享里头了。
http://download.csdn.net/detail/commshare/3799774
=========================================
zhangbin@ubuntu:~$ sudo su
[sudo] password for zhangbin:Sorry, try again.
[sudo] password for zhangbin:
root@ubuntu:/home/zhangbin# apt-get install kscope
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package kscope
root@ubuntu:/home/zhangbin# gedit weatherman.sh
root@ubuntu:/home/zhangbin# ./weatherman.sh
bash: ./weatherman.sh: Permission denied
root@ubuntu:/home/zhangbin# chomd +x weatherman.sh
No command 'chomd' found, did you mean:
Command 'chmod' from package 'coreutils' (main)
chomd: command not found
root@ubuntu:/home/zhangbin# chmod +x weatherman.sh
root@ubuntu:/home/zhangbin# ./weatherman.sh
./weatherman.sh: line 124: sendsms: command not found
./weatherman.sh: line 124: sendsms: command not found
root@ubuntu:/home/zhangbin# gedit fix_kscope.sh
root@ubuntu:/home/zhangbin# chmod +x fix_kscope.sh
root@ubuntu:/home/zhangbin# ./fix_kscope.sh
Determining machine hardware name...
Installing kscope...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package kscope
--2011-11-16 07:29:33-- http://archive.ubuntu.com/ubuntu/pool/universe/k/kscope/kscope_1.6.0-1_i386.deb
Resolving archive.ubuntu.com... 91.189.92.170, 91.189.88.31, 91.189.88.40, ...
Connecting to archive.ubuntu.com|91.189.92.170|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1528118 (1.5M) [application/x-debian-package]
Saving to: `kscope_1.6.0-1_i386.deb'
100%[======================================>] 1,528,118 29.3K/s in 52s
2011-11-16 07:30:27 (28.6 KB/s) - `kscope_1.6.0-1_i386.deb' saved [1528118/1528118]
Selecting previously deselected package kscope.
(Reading database ... 159222 files and directories currently installed.)
Unpacking kscope (from kscope_1.6.0-1_i386.deb) ...
dpkg: dependency problems prevent configuration of kscope:
kscope depends on kate (>= 4:3.5.7-1); however:
Package kate is not installed.
kscope depends on kdelibs4c2a (>= 4:3.5.7-1); however:
Package kdelibs4c2a is not installed.
kscope depends on libqt3-mt (>= 3:3.3.8really3.3.7); however:
Package libqt3-mt is not installed.
dpkg: error processing kscope (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for man-db ...
Processing triggers for python-support ...
Errors were encountered while processing:
kscope
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
exiv2 gdebi-kde install-package kate kdebase-runtime kdebase-runtime-data
kdelibs-bin kdelibs-data kdelibs4c2a kdelibs5 kdelibs5-data kdepimlibs-data
kdepimlibs5 kdesudo kpackagekit kubuntu-debug-installer libakonadiprivate1
libattica0 libavahi-qt3-1 libboost-program-options1.40.0 libclucene0ldbl
libdbusmenu-qt2 libexiv2-6 libiodbc2 liblua50 liblualib50 libmodplug0c2
libmpcdec3 libmysqlclient16 libpackagekit-glib2-12 libpackagekit-qt-12
libphonon4 libplasma3 libpolkit-qt-1-0 libqca2 libqt3-mt libqt4-assistant
libqt4-dbus libqt4-designer libqt4-gui libqt4-help libqt4-network
libqt4-opengl libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql
libqt4-sql-mysql libqt4-svg libqt4-test libqt4-webkit libqt4-xml
libqt4-xmlpatterns libqtcore4 libqtgui4 libsoprano4 libssh-4
libstreamanalyzer0 libstreams0 libxcb-shape0 libxcb-shm0 libxcb-xv0 libxine1
libxine1-bin libxine1-console libxine1-misc-plugins libxine1-x mysql-common
oxygen-icon-theme packagekit packagekit-backend-apt phonon
phonon-backend-xine plasma-scriptengine-javascript polkit-kde-1 python-kde4
python-packagekit python-qt4 python-sip shared-desktop-ontologies
software-properties-kde soprano-daemon ttf-dejavu ttf-dejavu-extra
update-manager-kde virtuoso-nepomuk
Suggested packages:
khelpcenter4 konsole djvulibre-bin perl-suid hspell akonadi-server
libqca2-plugin-cyrus-sasl libqca2-plugin-gnupg libqca2-plugin-ossl
libqca2-plugin-pkcs11 libqt3-mt-psql libqt3-mt-mysql libqt3-mt-odbc
libqt4-dev qt4-qtconfig gxine xine-ui libxine1-doc libxine-doc
libxine1-ffmpeg phonon-backend-gstreamer phonon-backend-vlc
phonon-backend-mplayer kcm-phonon-xine python-qt4-dbg
The following NEW packages will be installed:
exiv2 gdebi-kde install-package kate kdebase-runtime kdebase-runtime-data
kdelibs-bin kdelibs-data kdelibs4c2a kdelibs5 kdelibs5-data kdepimlibs-data
kdepimlibs5 kdesudo kpackagekit kubuntu-debug-installer libakonadiprivate1
libattica0 libavahi-qt3-1 libboost-program-options1.40.0 libclucene0ldbl
libdbusmenu-qt2 libexiv2-6 libiodbc2 liblua50 liblualib50 libmodplug0c2
libmpcdec3 libmysqlclient16 libpackagekit-glib2-12 libpackagekit-qt-12
libphonon4 libplasma3 libpolkit-qt-1-0 libqca2 libqt3-mt libqt4-help
libqt4-qt3support libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-test
libqt4-webkit libqt4-xmlpatterns libsoprano4 libssh-4 libstreamanalyzer0
libstreams0 libxcb-shape0 libxcb-shm0 libxcb-xv0 libxine1 libxine1-bin
libxine1-console libxine1-misc-plugins libxine1-x mysql-common
oxygen-icon-theme packagekit packagekit-backend-apt phonon
phonon-backend-xine plasma-scriptengine-javascript polkit-kde-1 python-kde4
python-packagekit python-qt4 python-sip shared-desktop-ontologies
software-properties-kde soprano-daemon ttf-dejavu ttf-dejavu-extra
update-manager-kde virtuoso-nepomuk
The following packages will be upgraded:
libqt4-assistant libqt4-dbus libqt4-designer libqt4-gui libqt4-network
libqt4-opengl libqt4-script libqt4-svg libqt4-xml libqtcore4 libqtgui4
11 upgraded, 75 newly installed, 0 to remove and 311 not upgraded.
1 not fully installed or removed.
Need to get 101MB of archives.
After this operation, 304MB of additional disk space will be used.
Get:1 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-gui 4:4.6.2-0ubuntu5.3 [36.5kB]
Get:2 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-opengl 4:4.6.2-0ubuntu5.3 [266kB]
Get:3 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-svg 4:4.6.2-0ubuntu5.3 [168kB]
Get:4 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-assistant 4:4.6.2-0ubuntu5.3 [46.4kB]
Get:5 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-designer 4:4.6.2-0ubuntu5.3 [4,718kB]
Get:6 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-script 4:4.6.2-0ubuntu5.3 [793kB]
Get:7 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-dbus 4:4.6.2-0ubuntu5.3 [224kB]
Get:8 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-xml 4:4.6.2-0ubuntu5.3 [124kB]
Get:9 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-network 4:4.6.2-0ubuntu5.3 [445kB]
Get:10 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqtgui4 4:4.6.2-0ubuntu5.3 [4,013kB]
10% [10 libqtgui4 3,854kB/4,013kB 96%] 87.9kB/s 17min 5s
Get:44 http://Ubuntu.cn99.com/ubuntu/ lucid/main libxine1-console 1.1.17-1ubuntu3 [45.0kB]
Get:45 http://Ubuntu.cn99.com/ubuntu/ lucid/main libxine1 1.1.17-1ubuntu3 [1,614B]
Get:46 http://Ubuntu.cn99.com/ubuntu/ lucid/main phonon-backend-xine 4:4.4.0-0ubuntu2 [140kB]
Get:47 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main plasma-scriptengine-javascript 4:4.4.5-0ubuntu1 [333kB]
Get:48 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main kdebase-runtime 4:4.4.5-0ubuntu1 [1,497kB]
Get:49 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main kate 4:4.4.5-0ubuntu1 [907kB]
Get:50 http://Ubuntu.cn99.com/ubuntu/ lucid/main libqt3-mt 3:3.3.8-b-6ubuntu2 [3,282kB]
Get:51 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libavahi-qt3-1 0.6.25-1ubuntu6.2 [36.5kB]
Get:52 http://Ubuntu.cn99.com/ubuntu/ lucid/universe liblua50 5.0.3-4 [50.8kB]
Get:53 http://Ubuntu.cn99.com/ubuntu/ lucid/universe liblualib50 5.0.3-4 [35.6kB]
Get:54 http://Ubuntu.cn99.com/ubuntu/ lucid-security/universe kdelibs-data 4:3.5.10.dfsg.1-3ubuntu2.10.04.1 [7,056kB]
Get:55 http://Ubuntu.cn99.com/ubuntu/ lucid-security/universe kdelibs4c2a 4:3.5.10.dfsg.1-3ubuntu2.10.04.1 [10.0MB]
Get:56 http://Ubuntu.cn99.com/ubuntu/ lucid/main exiv2 0.19-1 [94.1kB]
Get:57 http://Ubuntu.cn99.com/ubuntu/ lucid/main libboost-program-options1.40.0 1.40.0-4ubuntu4 [127kB]
Get:58 http://Ubuntu.cn99.com/ubuntu/ lucid/main libakonadiprivate1 1.3.1-0ubuntu3 [500kB]
Get:59 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main kdepimlibs-data 4:4.4.5-0ubuntu1.1 [148kB]
Get:60 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main kdepimlibs5 4:4.4.5-0ubuntu1.1 [2,351kB]
Get:61 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main phonon 4:4.6.2-0ubuntu5.3 [36.5kB]
Get:62 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-help 4:4.6.2-0ubuntu5.3 [220kB]
Get:63 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-scripttools 4:4.6.2-0ubuntu5.3 [261kB]
Get:64 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-test 4:4.6.2-0ubuntu5.3 [87.5kB]
Get:65 http://Ubuntu.cn99.com/ubuntu/ lucid/main python-sip 4.10.1-0ubuntu1 [66.2kB]
Get:66 http://Ubuntu.cn99.com/ubuntu/ lucid/main python-qt4 4.7.2-0ubuntu1 [2,536kB]
Get:67 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main python-kde4 4:4.4.5-0ubuntu1 [4,609kB]
Get:68 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main kdesudo 3.4.2.3-0ubuntu1.1 [36.2kB]
Get:69 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main gdebi-kde 0.6.0ubuntu2 [24.0kB]
Get:70 http://Ubuntu.cn99.com/ubuntu/ lucid/main install-package 0.5.2 [7,232B]
Get:71 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main libpackagekit-qt-12 0.5.7-0ubuntu2.2 [177kB]
Get:72 http://Ubuntu.cn99.com/ubuntu/ lucid/main polkit-kde-1 0.95.1-2ubuntu1 [22.0kB]
Get:73 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main software-properties-kde 0.75.10.1 [23.2kB]
Get:74 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main libpackagekit-glib2-12 0.5.7-0ubuntu2.2 [150kB]
Get:75 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main python-packagekit 0.5.7-0ubuntu2.2 [93.2kB]
Get:76 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main packagekit-backend-apt 0.5.7-0ubuntu2.2 [29.2kB]
Get:77 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main packagekit 0.5.7-0ubuntu2.2 [181kB]
Get:78 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main update-manager-kde 1:0.134.11 [50.0kB]
Get:79 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main kpackagekit 0.5.4-0ubuntu4.3 [473kB]
Get:80 http://Ubuntu.cn99.com/ubuntu/ lucid/main kubuntu-debug-installer 10.04ubuntu4 [12.4kB]
Get:81 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main mysql-common 5.1.41-3ubuntu12.10 [98.9kB]
Get:82 http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main libmysqlclient16 5.1.41-3ubuntu12.10 [1,933kB]
Get:83 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libqt4-sql-mysql 4:4.6.2-0ubuntu5.3 [60.0kB]
Get:84 http://Ubuntu.cn99.com/ubuntu/ lucid/main ttf-dejavu-extra 2.30-2 [3,107kB]
Get:85 http://Ubuntu.cn99.com/ubuntu/ lucid/main ttf-dejavu 2.30-2 [3,164B]
Get:86 http://Ubuntu.cn99.com/ubuntu/ lucid/main virtuoso-nepomuk 6.1.0-0ubuntu3 [3,369kB]
Fetched 101MB in 16min 20s (103kB/s)
Extracting templates from packages: 100%
(Reading database ... 159291 files and directories currently installed.)
Preparing to replace libqt4-gui 4:4.6.2-0ubuntu5.2 (using .../libqt4-gui_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Unpacking replacement libqt4-gui ...
Preparing to replace libqt4-opengl 4:4.6.2-0ubuntu5.2 (using .../libqt4-opengl_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Unpacking replacement libqt4-opengl ...
Preparing to replace libqt4-svg 4:4.6.2-0ubuntu5.2 (using .../libqt4-svg_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Unpacking replacement libqt4-svg ...
Preparing to replace libqt4-assistant 4:4.6.2-0ubuntu5.2 (using .../libqt4-assistant_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Unpacking replacement libqt4-assistant ...
Preparing to replace libqt4-designer 4:4.6.2-0ubuntu5.2 (using .../libqt4-designer_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Unpacking replacement libqt4-designer ...
Preparing to replace libqt4-script 4:4.6.2-0ubuntu5.2 (using .../libqt4-script_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Unpacking replacement libqt4-script ...
Preparing to replace libqt4-dbus 4:4.6.2-0ubuntu5.2 (using .../libqt4-dbus_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Unpacking replacement libqt4-dbus ...
Preparing to replace libqt4-xml 4:4.6.2-0ubuntu5.2 (using .../libqt4-xml_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Unpacking replacement libqt4-xml ...
Preparing to replace libqt4-network 4:4.6.2-0ubuntu5.2 (using .../libqt4-network_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Unpacking replacement libqt4-network ...
Preparing to replace libqtgui4 4:4.6.2-0ubuntu5.2 (using .../libqtgui4_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Unpacking replacement libqtgui4 ...
Preparing to replace libqtcore4 4:4.6.2-0ubuntu5.2 (using .../libqtcore4_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Unpacking replacement libqtcore4 ...
Selecting previously deselected package libattica0.
Unpacking libattica0 (from .../libattica0_0.1.3-0ubuntu1_i386.deb) ...
Selecting previously deselected package libdbusmenu-qt2.
Unpacking libdbusmenu-qt2 (from .../libdbusmenu-qt2_0.3.2-0ubuntu1_i386.deb) ...
Selecting previously deselected package libphonon4.
Unpacking libphonon4 (from .../libphonon4_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Selecting previously deselected package libpolkit-qt-1-0.
Unpacking libpolkit-qt-1-0 (from .../libpolkit-qt-1-0_0.95.1-1fakesync1_i386.deb) ...
Selecting previously deselected package libqt4-sql.
Unpacking libqt4-sql (from .../libqt4-sql_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Selecting previously deselected package libqt4-qt3support.
Unpacking libqt4-qt3support (from .../libqt4-qt3support_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Selecting previously deselected package libqt4-xmlpatterns.
Unpacking libqt4-xmlpatterns (from .../libqt4-xmlpatterns_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Selecting previously deselected package libqt4-webkit.
Unpacking libqt4-webkit (from .../libqt4-webkit_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Selecting previously deselected package libclucene0ldbl.
Unpacking libclucene0ldbl (from .../libclucene0ldbl_0.9.21b-2_i386.deb) ...
Selecting previously deselected package libiodbc2.
Unpacking libiodbc2 (from .../libiodbc2_3.52.6-4_i386.deb) ...
Selecting previously deselected package soprano-daemon.
Unpacking soprano-daemon (from .../soprano-daemon_2.4.2+dfsg.1-0ubuntu1.1_i386.deb) ...
Selecting previously deselected package libsoprano4.
Unpacking libsoprano4 (from .../libsoprano4_2.4.2+dfsg.1-0ubuntu1.1_i386.deb) ...
Selecting previously deselected package libexiv2-6.
Unpacking libexiv2-6 (from .../libexiv2-6_0.19-1_i386.deb) ...
Selecting previously deselected package libstreams0.
Unpacking libstreams0 (from .../libstreams0_0.7.2-0ubuntu1_i386.deb) ...
Selecting previously deselected package libstreamanalyzer0.
Unpacking libstreamanalyzer0 (from .../libstreamanalyzer0_0.7.2-0ubuntu1_i386.deb) ...
Selecting previously deselected package kdelibs5-data.
Unpacking kdelibs5-data (from .../kdelibs5-data_4%3a4.4.5-0ubuntu1.2_all.deb) ...
Selecting previously deselected package kdelibs-bin.
Unpacking kdelibs-bin (from .../kdelibs-bin_4%3a4.4.5-0ubuntu1.2_i386.deb) ...
Selecting previously deselected package shared-desktop-ontologies.
Unpacking shared-desktop-ontologies (from .../shared-desktop-ontologies_0.3-1_all.deb) ...
Selecting previously deselected package kdelibs5.
Unpacking kdelibs5 (from .../kdelibs5_4%3a4.4.5-0ubuntu1.2_i386.deb) ...
Selecting previously deselected package libqca2.
Unpacking libqca2 (from .../libqca2_2.0.2-1ubuntu2_i386.deb) ...
Selecting previously deselected package libplasma3.
Unpacking libplasma3 (from .../libplasma3_4%3a4.4.5-0ubuntu1.2_i386.deb) ...
Selecting previously deselected package libssh-4.
Unpacking libssh-4 (from .../libssh-4_0.4.2-1ubuntu1_i386.deb) ...
Selecting previously deselected package kdebase-runtime-data.
Unpacking kdebase-runtime-data (from .../kdebase-runtime-data_4%3a4.4.5-0ubuntu1_all.deb) ...
Selecting previously deselected package oxygen-icon-theme.
Unpacking oxygen-icon-theme (from .../oxygen-icon-theme_4%3a4.4.5-0ubuntu1_all.deb) ...
Selecting previously deselected package libmodplug0c2.
Unpacking libmodplug0c2 (from .../libmodplug0c2_1%3a0.8.7-1ubuntu0.3_i386.deb) ...
Selecting previously deselected package libmpcdec3.
Unpacking libmpcdec3 (from .../libmpcdec3_1%3a1.2.2-2.1ubuntu1_i386.deb) ...
Selecting previously deselected package libxine1-bin.
Unpacking libxine1-bin (from .../libxine1-bin_1.1.17-1ubuntu3_i386.deb) ...
Selecting previously deselected package libxine1-misc-plugins.
Unpacking libxine1-misc-plugins (from .../libxine1-misc-plugins_1.1.17-1ubuntu3_i386.deb) ...
Selecting previously deselected package libxcb-shape0.
Unpacking libxcb-shape0 (from .../libxcb-shape0_1.5-2_i386.deb) ...
Selecting previously deselected package libxcb-shm0.
Unpacking libxcb-shm0 (from .../libxcb-shm0_1.5-2_i386.deb) ...
Selecting previously deselected package libxcb-xv0.
Unpacking libxcb-xv0 (from .../libxcb-xv0_1.5-2_i386.deb) ...
Selecting previously deselected package libxine1-x.
Unpacking libxine1-x (from .../libxine1-x_1.1.17-1ubuntu3_i386.deb) ...
Selecting previously deselected package libxine1-console.
Unpacking libxine1-console (from .../libxine1-console_1.1.17-1ubuntu3_i386.deb) ...
Selecting previously deselected package libxine1.
Unpacking libxine1 (from .../libxine1_1.1.17-1ubuntu3_i386.deb) ...
Selecting previously deselected package phonon-backend-xine.
Unpacking phonon-backend-xine (from .../phonon-backend-xine_4%3a4.4.0-0ubuntu2_i386.deb) ...
Selecting previously deselected package plasma-scriptengine-javascript.
Unpacking plasma-scriptengine-javascript (from .../plasma-scriptengine-javascript_4%3a4.4.5-0ubuntu1_i386.deb) ...
Selecting previously deselected package kdebase-runtime.
Unpacking kdebase-runtime (from .../kdebase-runtime_4%3a4.4.5-0ubuntu1_i386.deb) ...
Selecting previously deselected package kate.
Unpacking kate (from .../kate_4%3a4.4.5-0ubuntu1_i386.deb) ...
Selecting previously deselected package libqt3-mt.
Unpacking libqt3-mt (from .../libqt3-mt_3%3a3.3.8-b-6ubuntu2_i386.deb) ...
Selecting previously deselected package libavahi-qt3-1.
Unpacking libavahi-qt3-1 (from .../libavahi-qt3-1_0.6.25-1ubuntu6.2_i386.deb) ...
Selecting previously deselected package liblua50.
Unpacking liblua50 (from .../liblua50_5.0.3-4_i386.deb) ...
Selecting previously deselected package liblualib50.
Unpacking liblualib50 (from .../liblualib50_5.0.3-4_i386.deb) ...
Selecting previously deselected package kdelibs-data.
Unpacking kdelibs-data (from .../kdelibs-data_4%3a3.5.10.dfsg.1-3ubuntu2.10.04.1_all.deb) ...
Selecting previously deselected package kdelibs4c2a.
Unpacking kdelibs4c2a (from .../kdelibs4c2a_4%3a3.5.10.dfsg.1-3ubuntu2.10.04.1_i386.deb) ...
Selecting previously deselected package exiv2.
Unpacking exiv2 (from .../archives/exiv2_0.19-1_i386.deb) ...
Selecting previously deselected package libboost-program-options1.40.0.
Unpacking libboost-program-options1.40.0 (from .../libboost-program-options1.40.0_1.40.0-4ubuntu4_i386.deb) ...
Selecting previously deselected package libakonadiprivate1.
Unpacking libakonadiprivate1 (from .../libakonadiprivate1_1.3.1-0ubuntu3_i386.deb) ...
Selecting previously deselected package kdepimlibs-data.
Unpacking kdepimlibs-data (from .../kdepimlibs-data_4%3a4.4.5-0ubuntu1.1_all.deb) ...
Selecting previously deselected package kdepimlibs5.
Unpacking kdepimlibs5 (from .../kdepimlibs5_4%3a4.4.5-0ubuntu1.1_i386.deb) ...
Selecting previously deselected package phonon.
Unpacking phonon (from .../phonon_4%3a4.6.2-0ubuntu5.3_all.deb) ...
Selecting previously deselected package libqt4-help.
Unpacking libqt4-help (from .../libqt4-help_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Selecting previously deselected package libqt4-scripttools.
Unpacking libqt4-scripttools (from .../libqt4-scripttools_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Selecting previously deselected package libqt4-test.
Unpacking libqt4-test (from .../libqt4-test_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Selecting previously deselected package python-sip.
Unpacking python-sip (from .../python-sip_4.10.1-0ubuntu1_i386.deb) ...
Selecting previously deselected package python-qt4.
Unpacking python-qt4 (from .../python-qt4_4.7.2-0ubuntu1_i386.deb) ...
Selecting previously deselected package python-kde4.
Unpacking python-kde4 (from .../python-kde4_4%3a4.4.5-0ubuntu1_i386.deb) ...
Selecting previously deselected package kdesudo.
Unpacking kdesudo (from .../kdesudo_3.4.2.3-0ubuntu1.1_i386.deb) ...
Selecting previously deselected package gdebi-kde.
Unpacking gdebi-kde (from .../gdebi-kde_0.6.0ubuntu2_all.deb) ...
Selecting previously deselected package install-package.
Unpacking install-package (from .../install-package_0.5.2_all.deb) ...
Selecting previously deselected package libpackagekit-qt-12.
Unpacking libpackagekit-qt-12 (from .../libpackagekit-qt-12_0.5.7-0ubuntu2.2_i386.deb) ...
Selecting previously deselected package polkit-kde-1.
Unpacking polkit-kde-1 (from .../polkit-kde-1_0.95.1-2ubuntu1_i386.deb) ...
Selecting previously deselected package software-properties-kde.
Unpacking software-properties-kde (from .../software-properties-kde_0.75.10.1_all.deb) ...
Selecting previously deselected package libpackagekit-glib2-12.
Unpacking libpackagekit-glib2-12 (from .../libpackagekit-glib2-12_0.5.7-0ubuntu2.2_i386.deb) ...
Selecting previously deselected package python-packagekit.
Unpacking python-packagekit (from .../python-packagekit_0.5.7-0ubuntu2.2_all.deb) ...
Selecting previously deselected package packagekit-backend-apt.
Unpacking packagekit-backend-apt (from .../packagekit-backend-apt_0.5.7-0ubuntu2.2_i386.deb) ...
Selecting previously deselected package packagekit.
Unpacking packagekit (from .../packagekit_0.5.7-0ubuntu2.2_i386.deb) ...
Selecting previously deselected package update-manager-kde.
Unpacking update-manager-kde (from .../update-manager-kde_1%3a0.134.11_all.deb) ...
Selecting previously deselected package kpackagekit.
Unpacking kpackagekit (from .../kpackagekit_0.5.4-0ubuntu4.3_i386.deb) ...
Selecting previously deselected package kubuntu-debug-installer.
Unpacking kubuntu-debug-installer (from .../kubuntu-debug-installer_10.04ubuntu4_i386.deb) ...
Selecting previously deselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.1.41-3ubuntu12.10_all.deb) ...
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.41-3ubuntu12.10_i386.deb) ...
Selecting previously deselected package libqt4-sql-mysql.
Unpacking libqt4-sql-mysql (from .../libqt4-sql-mysql_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
Selecting previously deselected package ttf-dejavu-extra.
Unpacking ttf-dejavu-extra (from .../ttf-dejavu-extra_2.30-2_all.deb) ...
Selecting previously deselected package ttf-dejavu.
Unpacking ttf-dejavu (from .../ttf-dejavu_2.30-2_all.deb) ...
Selecting previously deselected package virtuoso-nepomuk.
Unpacking virtuoso-nepomuk (from .../virtuoso-nepomuk_6.1.0-0ubuntu3_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'fonts/package'
Unknown media type in type 'interface/x-winamp-skin'
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for fontconfig ...
Processing triggers for python-support ...
Setting up libqtcore4 (4:4.6.2-0ubuntu5.3) ...
Setting up libqtgui4 (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-svg (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-opengl (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-xml (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-dbus (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-script (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-designer (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-network (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-assistant (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-gui (4:4.6.2-0ubuntu5.3) ...
Setting up libattica0 (0.1.3-0ubuntu1) ...
Setting up libdbusmenu-qt2 (0.3.2-0ubuntu1) ...
Setting up libphonon4 (4:4.6.2-0ubuntu5.3) ...
Setting up libpolkit-qt-1-0 (0.95.1-1fakesync1) ...
Setting up libqt4-sql (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-qt3support (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-xmlpatterns (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-webkit (4:4.6.2-0ubuntu5.3) ...
Setting up libclucene0ldbl (0.9.21b-2) ...
Setting up libiodbc2 (3.52.6-4) ...
Setting up soprano-daemon (2.4.2+dfsg.1-0ubuntu1.1) ...
Setting up libsoprano4 (2.4.2+dfsg.1-0ubuntu1.1) ...
Setting up libexiv2-6 (0.19-1) ...
Setting up libstreams0 (0.7.2-0ubuntu1) ...
Setting up libstreamanalyzer0 (0.7.2-0ubuntu1) ...
Setting up kdelibs5-data (4:4.4.5-0ubuntu1.2) ...
Setting up shared-desktop-ontologies (0.3-1) ...
Setting up libqca2 (2.0.2-1ubuntu2) ...
Setting up libssh-4 (0.4.2-1ubuntu1) ...
Setting up kdebase-runtime-data (4:4.4.5-0ubuntu1) ...
Setting up oxygen-icon-theme (4:4.4.5-0ubuntu1) ...
Setting up libmodplug0c2 (1:0.8.7-1ubuntu0.3) ...
Setting up libmpcdec3 (1:1.2.2-2.1ubuntu1) ...
Setting up libxine1-bin (1.1.17-1ubuntu3) ...
Setting up libxine1-misc-plugins (1.1.17-1ubuntu3) ...
Setting up libxcb-shape0 (1.5-2) ...
Setting up libxcb-shm0 (1.5-2) ...
Setting up libxcb-xv0 (1.5-2) ...
Setting up libxine1-x (1.1.17-1ubuntu3) ...
Setting up libxine1-console (1.1.17-1ubuntu3) ...
Setting up libxine1 (1.1.17-1ubuntu3) ...
Setting up phonon-backend-xine (4:4.4.0-0ubuntu2) ...
Setting up libqt3-mt (3:3.3.8-b-6ubuntu2) ...
Setting up libavahi-qt3-1 (0.6.25-1ubuntu6.2) ...
Setting up liblua50 (5.0.3-4) ...
Setting up liblualib50 (5.0.3-4) ...
Setting up kdelibs-data (4:3.5.10.dfsg.1-3ubuntu2.10.04.1) ...
Setting up kdelibs4c2a (4:3.5.10.dfsg.1-3ubuntu2.10.04.1) ...
Setting up exiv2 (0.19-1) ...
Setting up libboost-program-options1.40.0 (1.40.0-4ubuntu4) ...
Setting up libakonadiprivate1 (1.3.1-0ubuntu3) ...
Setting up kdepimlibs-data (4:4.4.5-0ubuntu1.1) ...
Setting up phonon (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-help (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-scripttools (4:4.6.2-0ubuntu5.3) ...
Setting up libqt4-test (4:4.6.2-0ubuntu5.3) ...
Setting up python-sip (4.10.1-0ubuntu1) ...
Setting up python-qt4 (4.7.2-0ubuntu1) ...
Setting up libpackagekit-qt-12 (0.5.7-0ubuntu2.2) ...
Setting up libpackagekit-glib2-12 (0.5.7-0ubuntu2.2) ...
Setting up python-packagekit (0.5.7-0ubuntu2.2) ...
Setting up mysql-common (5.1.41-3ubuntu12.10) ...
Setting up libmysqlclient16 (5.1.41-3ubuntu12.10) ...
Setting up libqt4-sql-mysql (4:4.6.2-0ubuntu5.3) ...
Setting up ttf-dejavu-extra (2.30-2) ...
Setting up ttf-dejavu (2.30-2) ...
Setting up virtuoso-nepomuk (6.1.0-0ubuntu3) ...
Processing triggers for python-central ...
Setting up packagekit-backend-apt (0.5.7-0ubuntu2.2) ...
Generating mime/codec maps...
Processing triggers for python-central ...
Setting up packagekit (0.5.7-0ubuntu2.2) ...
Setting up kdelibs-bin (4:4.4.5-0ubuntu1.2) ...
Setting up kdelibs5 (4:4.4.5-0ubuntu1.2) ...
Setting up libplasma3 (4:4.4.5-0ubuntu1.2) ...
Setting up plasma-scriptengine-javascript (4:4.4.5-0ubuntu1) ...
Setting up kdepimlibs5 (4:4.4.5-0ubuntu1.1) ...
Setting up kdebase-runtime (4:4.4.5-0ubuntu1) ...
update-alternatives: using /usr/lib/kde4/libexec/kdesu-distrib/kdesu to provide /usr/lib/kde4/libexec/kdesu (kdesu) in auto mode.
Setting up kate (4:4.4.5-0ubuntu1) ...
Setting up kscope (1.6.0-1) ...
Setting up python-kde4 (4:4.4.5-0ubuntu1) ...
Setting up kdesudo (3.4.2.3-0ubuntu1.1) ...
update-alternatives: using /usr/bin/kdesudo to provide /usr/lib/kde4/libexec/kdesu (kdesu) in auto mode.
Setting up gdebi-kde (0.6.0ubuntu2) ...
Setting up polkit-kde-1 (0.95.1-2ubuntu1) ...
Setting up update-manager-kde (1:0.134.11) ...
Processing triggers for python-central ...
Setting up install-package (0.5.2) ...
Setting up software-properties-kde (0.75.10.1) ...
Processing triggers for python-central ...
Setting up kpackagekit (0.5.4-0ubuntu4.3) ...
Setting up kubuntu-debug-installer (10.04ubuntu4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
Downloading KDE3 libraries needed by kscope...
--2011-11-16 07:48:57-- http://ftp.debian.org/debian/pool/main/k/kdebase/kate_3.5.9.dfsg.1-6_i386.deb
Resolving ftp.debian.org... 130.89.149.226, 2001:610:1908:a000::149:226
Connecting to ftp.debian.org|130.89.149.226|:80... failed: Connection timed out.
Connecting to ftp.debian.org|2001:610:1908:a000::149:226|:80... failed: Network is unreachable.
dpkg-deb: failed to read archive `kate_3*.deb': No such file or directory
Installing KDE3 libraries...
cp: cannot stat `kate/usr/lib/libkateinterfaces.so.0.0.0': No such file or directory
cp: cannot stat `kate/usr/lib/libkateutils.so.0.0.0': No such file or directory
Finished.
root@ubuntu:/home/zhangbin#
root@ubuntu:/home/zhangbin# kscope
kscope: error while loading shared libraries: libkateinterfaces.so.0: cannot open shared object file: No such file or directory
root@ubuntu:/home/zhangbin#
还可以用
root@ubuntu:/home/zhangbin# ffmpegFFmpeg version git-N-28432-g4786076, Copyright (c) 2000-2011 the FFmpeg developers
built on May 11 2011 21:51:59 with gcc 4.4.3
configuration: --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3 --enable-libx264 --enable-postproc --enable-libvpx --enable-libvorbis
libavutil 50. 39. 0 / 50. 39. 0
libavcodec 52.114. 0 / 52.114. 0
libavformat 52.103. 0 / 52.103. 0
libavdevice 52. 3. 0 / 52. 3. 0
libavfilter 1. 76. 0 / 1. 76. 0
libswscale 0. 12. 0 / 0. 12. 0
libpostproc 51. 2. 0 / 51. 2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
root@ubuntu:/home/zhangbin# kscope
kscope: error while loading shared libraries: libkateinterfaces.so.0: cannot open shared object file: No such file or directory
root@ubuntu:/home/zhangbin# apt-get install kate
Reading package lists... Done
Building dependency tree
Reading state information... Done
kate is already the newest version.
kate set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 311 not upgraded.
root@ubuntu:/home/zhangbin# kate
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kded4.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
kbuildsycoca4(4328) KBuildMimeTypeFactory::createEntry: Missing <comment> field in "application/x-note.xml"
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/local/share/applications/Nokia-QtCreator.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/local/share/applications/Nokia-QtCreator.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kde/kscope.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328)/kdecore (services) KServicePrivate::init: The desktop entry file "/usr/share/applications/kde/kresources.desktop" has Type= "Application" but also has a X-KDE-Library key. This works for now, but makes user-preference handling difficult, so support for this might be removed at some point. Consider splitting it into two desktop files.
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/screensavers/fiberlamp.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/screensavers/glschool.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/screensavers/antspotlight.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/screensavers/glcells.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/screensavers/hypertorus.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/screensavers/fuzzyflakes.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/screensavers/glmatrix.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/screensavers/glslideshow.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/screensavers/glblur.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/screensavers/gltext.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(4328) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gcalctool.desktop" is not compliant with XDG standard (missing trailing semicolon).
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
root@ubuntu:/home/zhangbin#
没有ldconfig下。
root@ubuntu:/home/zhangbin# kscope
kscope: error while loading shared libraries: libkateinterfaces.so.0: cannot open shared object file: No such file or directory
直接复制过来的,貌似符号链接失效了。
root@ubuntu:/home/zhangbin# ldconfig/sbin/ldconfig.real: /usr/local/lib/libkateinterfaces.so.0 is not a symbolic link
/sbin/ldconfig.real: /usr/local/lib/libkateutils.so.0 is not a symbolic link
root@ubuntu:/home/zhangbin#
root@ubuntu:/usr/local/lib# ln -s /usr/local/lib/libkateinterfaces.so.0.0.0 /usr/local/lib/libkateinterfaces.so.0
ln: creating symbolic link `/usr/local/lib/libkateinterfaces.so.0': File exists
root@ubuntu:/usr/local/lib# rm libkateinterfaces.so.0
root@ubuntu:/usr/local/lib# ln -s /usr/local/lib/libkateinterfaces.so.0.0.0 /usr/local/lib/libkateinterfaces.so.0
root@ubuntu:/usr/local/lib# ln -s libkateutils.so.0 libkateutils.so.0.0.0
ln: creating symbolic link `libkateutils.so.0.0.0': File exists
root@ubuntu:/usr/local/lib#
root@ubuntu:/usr/local/lib# ln -s libkateutils.so.0.0.0 libkateutils.so.0 //前面的是库,后面的是符号链接。
root@ubuntu:/usr/local/lib# kscope
kbuildsycoca running...
root@ubuntu:/usr/local/lib#