首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >安装后不可能运行texstudio

安装后不可能运行texstudio
EN

Ask Ubuntu用户
提问于 2019-09-20 15:45:25
回答 2查看 318关注 0票数 1

我正在运行一个新安装的Ubuntu18.04.3。因此,我的问题是:当我以通常的方式安装带有终端的texstudio时,一切看起来都很顺利:

代码语言:javascript
运行
复制
zosiah@zosiah-HP-255-G6-Notebook-PC:~$ sudo apt install texstudio
[sudo] password for zosiah: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libqt5concurrent5
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  texstudio-l10n
Suggested packages:
  latex-beamer
The following NEW packages will be installed:
  texstudio texstudio-l10n
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/5.775 kB of archives.
After this operation, 16,5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 365865 files and directories currently installed.)
Preparing to unpack .../texstudio_2.12.6+debian-2_amd64.deb ...
Unpacking texstudio (2.12.6+debian-2) ...
Selecting previously unselected package texstudio-l10n.
Preparing to unpack .../texstudio-l10n_2.12.6+debian-2_all.deb ...
Unpacking texstudio-l10n (2.12.6+debian-2) ...
Setting up texstudio (2.12.6+debian-2) ...
Setting up texstudio-l10n (2.12.6+debian-2) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...

但当我尝试运行texstudio终端时,会说:

代码语言:javascript
运行
复制
zosiah@zosiah-HP-255-G6-Notebook-PC:~$ texstudio
texstudio: error while loading shared libraries: libdouble-conversion.so.1: cannot open shared object file: No such file or directory

我已经搜索了一段时间了,但我还没有找到解决办法.有什么想法吗?我也不能安装文本制作器和emacs25。这件事对我来说听起来很奇怪,因为到目前为止,我从来没有遇到过这样的问题,无论是突触问题,还是apt问题等等。怎么回事?

编辑:嗨,N0rbert,谢谢你的回复!以下是所要求的产出:

代码语言:javascript
运行
复制
zosiah@zosiah-HP-255-G6-Notebook-PC:~$ which texstudio
/usr/bin/texstudio
代码语言:javascript
运行
复制
zosiah@zosiah-HP-255-G6-Notebook-PC:~$ ldd $(which texstudio) | grep not

(这里没有输出)

代码语言:javascript
运行
复制
zosiah@zosiah-HP-255-G6-Notebook-PC:~$ apt-cache policy texstudio libdouble-conversion1
texstudio:
  Installed: 2.12.6+debian-2
  Candidate: 2.12.6+debian-2
  Version table:
 *** 2.12.6+debian-2 500
        500 http://it.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status
libdouble-conversion1:
  Installed: 2.0.1-4ubuntu1
  Candidate: 2.0.1-4ubuntu1
  Version table:
 *** 2.0.1-4ubuntu1 500
        500 http://it.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

编辑2我正在添加ldd $的输出(找到libdouble-转换.so.1):

代码语言:javascript
运行
复制
zosiah@zosiah-HP-255-G6-Notebook-PC:~$ ldd $(locate libdouble-conversion.so.1)
/usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1:
    linux-vdso.so.1 (0x00007ffe54bc4000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f80a84b9000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f80a8119000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f80a7d21000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f80a8a61000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f80a7b09000)
/usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1.0:
    linux-vdso.so.1 (0x00007ffcb9ee4000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa819d01000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa819961000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa819569000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fa81a2a9000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa819351000)

编辑3:用以下终端命令重新安装库后解决的问题:

代码语言:javascript
运行
复制
sudo apt install --reinstall libxcb-xinerama0
EN

回答 2

Ask Ubuntu用户

发布于 2019-09-24 10:42:46

只要使用以下终端命令重新安装库libxcb-xinerama0 0就可以解决问题:

代码语言:javascript
运行
复制
sudo apt install --reinstall libxcb-xinerama0
票数 0
EN

Ask Ubuntu用户

发布于 2020-07-13 06:08:05

代码语言:javascript
运行
复制
 sudo apt install --reinstall libdouble-conversion1

在运行texstudio时,我也有相同的初始错误。然而,ldd $(which texstudio | grep not)报告了libdouble-conversion.so.1 => not found

解决方案是重新安装库,正如本发射台上的线程由用户‘曼弗雷德’在这里。中所建议的那样

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1175517

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档