分页: 1 / 2

libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 9:13
ys38079456
有报错error while loading shared libraries: libXp.so.6

所以在网上搜索如何安装去这个网站看了
http://www.linuxdiyf.com/viewarticle.php?id=108903

现在是已经有了这个文件,但系统就是找不到,如图所示

谁能告诉我怎么用 apt-get install 来装啊,

就是install后面加什么有这个库呢

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 9:18
qy117121
sudo apt install libxp6

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 9:21
ys38079456
qy117121 写了:sudo apt install libxp6

显示无法定位软件包

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 9:24
qy117121
sudo apt update了没

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 9:34
ys38079456
qy117121 写了:sudo apt update了没
这个还没有,我正在运行,好长时间了

获取:143 http://security.ubuntu.com wily-security/main Translation-en [279 kB]
这个有好多

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 11:22
ys38079456
qy117121 写了:sudo apt update了没
都4000多了,这是个啥,update还没完

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 11:30
qy117121
怎么会那么多。。。。
/etc/apt/sources.list文件内容复制上来看看

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 11:32
ys38079456
qy117121 写了:怎么会那么多。。。。
/etc/apt/sources.list文件内容复制上来看看
# deb cdrom:[Ubuntu 15.10 _Wily Werewolf_ - Release amd64 (20151021)]/ wily main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ wily main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ wily main restricted

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ wily universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ wily universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ wily multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ wily multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ wily-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ wily-backports main restricted universe multiverse


## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu wily partner
# deb-src http://archive.canonical.com/ubuntu wily partner
deb http://security.ubuntu.com/ubuntu/ wily-security multiverse universe main restricted
deb http://cn.archive.ubuntu.com/ubuntu/ wily-updates multiverse universe main restricted

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 11:33
ys38079456
是不是要注释掉哪个

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 11:46
ys38079456
qy117121 写了:怎么会那么多。。。。
/etc/apt/sources.list文件内容复制上来看看
我注释了那个网站,跳过了那几千个

现在变成这样了

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 11:54
qy117121
sources文件没什么问题,那就安装libxp6吧

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 12:31
ys38079456
qy117121 写了:sources文件没什么问题,那就安装libxp6吧
兄弟,依然无法定位软件包

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 12:47
qy117121
额,貌似是个bug? https://bugs.launchpad.net/ubuntu/+sour ... ug/1517884

http://mirrors.ustc.edu.cn/ubuntu/pool/main/libx/libxp/ 去这里下载deb安装试试

也可以试试sudo apt install libxp-dev

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 13:05
ys38079456
qy117121 写了:额,貌似是个bug? https://bugs.launchpad.net/ubuntu/+sour ... ug/1517884

http://mirrors.ustc.edu.cn/ubuntu/pool/main/libx/libxp/ 去这里下载deb安装试试

也可以试试sudo apt install libxp-dev
跪谢,deb就ok了,

再顺便问一下,如果报错缺少哪个库,我咋知道apt get install 后面加什么呢

有没有搜索软件包的指令,还有就是我按一开始那个教程,算是源码安装吗,安装好电脑里有libxp6的库了已经(如一楼所示),但系统仍提示找不到,怎么给系统添加路径呢

Re: libXp.so.6怎么用apt-get安装

发表于 : 2017-03-27 13:38
qy117121
apt-file 可以查找 viewtopic.php?f=120&t=188146
那个教程不是源码安装,系统安装的库文件要放在合适的目录下才行,可能是你放的位置不对也可能是别的问题,不太了解
添加路径是说系统库文件路径?不了解