Ubuntu 18.04を新規インストールし、grub-customizerをインストールしました。しかし、起動しようとすると、次の出力が表示されます。
user@ubuntu:~$ grub-customizer
grub-customizer: error while loading shared libraries: libpangomm-1.4.so.1: cannot open shared object file: No such file or directory
Libpangommを再インストールしてgrub-customizerを再インストールしようとしましたが、何も機能しませんでした。私にできることは何ですか?
Grubカスタマイザー
$ Sudo apt install g++ g++-5 libarchive-dev libssl-dev libgtkmm-3.0-dev
$ git clone https://git.launchpad.net/grub-customizer
$ cd grub-customizer/ && mkdir build18
$ cd build18/
$ CC=gcc-5 CXX=g++-5 cmake .. && make && Sudo make install
インストール結果からUbuntu 18.04パッケージをビルドします。
$ dpkg-shlibdeps -t grub-customizer // get the dependencies for the control file
Directory : grub-customizer/{ DEBIAN/{control, md5}}, usr/
$ dpkg-deb -b grub-customizer grub-customizer_5.0.7-1git050618-ubuntu18_AMD64.deb
リンク、パッケージ https://drive.google.com/file/d/1sdMSjj2Cf2uEM5VHUztYdM7QkyjBAE7M/view?usp=sharing
ダウンロードしてインストールします:Sudo gdebi Downloads/grub-customizer_5.0.7-1git050618-ubuntu18_AMD64.deb
18.04.1(64ビット)で実行している(GUIアプリとして開いて実行される)執筆の時点で、今は大丈夫のようです。私が働いていることがわかった私のステップは次のとおりです:
Sudo apt-get update && Sudo apt-get upgrade && Sudo apt-get dist-upgrade
Sudo add-apt-repository ppa:danielrichter2007/grub-customizer
Sudo apt-get update
Sudo apt-get install grub-customizer
(ベース: https://launchpad.net/~danielrichter2007/+archive/ubuntu/grub-customizer )
次に、上記のステップ2以降の端末出力を示します。
robdaviswork@Workstation-U64:~$ Sudo add-apt-repository ppa:danielrichter2007/grub-customizer
This PPA contains the latest release of Grub Customizer.
Sudo add-apt-repository ppa:danielrichter2007/grub-customizer
Sudo apt-get update
Sudo apt-get install grub-customizer
More info: https://launchpad.net/~danielrichter2007/+archive/ubuntu/grub-customizer
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:3 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease [15.4 kB]
Hit:4 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Ign:6 http://www.scootersoftware.com bcompare4 InRelease
Hit:7 http://www.scootersoftware.com bcompare4 Release
Get:8 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic/main AMD64 Packages [680 B]
Get:10 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic/main i386 Packages [680 B]
Get:11 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic/main Translation-en [356 B]
Fetched 100 kB in 1s (163 kB/s)
Reading package lists... Done
robdaviswork@Workstation-U64:~$ Sudo apt-get update
Hit:1 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Ign:6 http://www.scootersoftware.com bcompare4 InRelease
Hit:7 http://www.scootersoftware.com bcompare4 Release
Fetched 83.2 kB in 1s (133 kB/s)
Reading package lists... Done
robdaviswork@Workstation-U64:~$ Sudo apt-get install grub-customizer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
hwinfo libgtkmm-3.0-1v5 libhd21 libx86emu1
The following NEW packages will be installed
grub-customizer hwinfo libgtkmm-3.0-1v5 libhd21 libx86emu1
0 to upgrade, 5 to newly install, 0 to remove and 0 not to upgrade.
Need to get 2,762 kB of archives.
After this operation, 16.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic/main AMD64 grub-customizer AMD64 5.0.8-0ubuntu1~ppa1b [1,152 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu bionic/main AMD64 libgtkmm-3.0-1v5 AMD64 3.22.2-2 [850 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu bionic/universe AMD64 libx86emu1 AMD64 1.12-1 [48.1 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu bionic/universe AMD64 libhd21 AMD64 21.52-1 [694 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu bionic/universe AMD64 hwinfo AMD64 21.52-1 [18.0 kB]
Fetched 2,762 kB in 2s (1,391 kB/s)
Selecting previously unselected package libgtkmm-3.0-1v5:AMD64.
(Reading database ... 168557 files and directories currently installed.)
Preparing to unpack .../libgtkmm-3.0-1v5_3.22.2-2_AMD64.deb ...
Unpacking libgtkmm-3.0-1v5:AMD64 (3.22.2-2) ...
Selecting previously unselected package grub-customizer.
Preparing to unpack .../grub-customizer_5.0.8-0ubuntu1~ppa1b_AMD64.deb ...
Unpacking grub-customizer (5.0.8-0ubuntu1~ppa1b) ...
Selecting previously unselected package libx86emu1:AMD64.
Preparing to unpack .../libx86emu1_1.12-1_AMD64.deb ...
Unpacking libx86emu1:AMD64 (1.12-1) ...
Selecting previously unselected package libhd21:AMD64.
Preparing to unpack .../libhd21_21.52-1_AMD64.deb ...
Unpacking libhd21:AMD64 (21.52-1) ...
Selecting previously unselected package hwinfo.
Preparing to unpack .../hwinfo_21.52-1_AMD64.deb ...
Unpacking hwinfo (21.52-1) ...
Setting up libx86emu1:AMD64 (1.12-1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Setting up libgtkmm-3.0-1v5:AMD64 (3.22.2-2) ...
Setting up grub-customizer (5.0.8-0ubuntu1~ppa1b) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up libhd21:AMD64 (21.52-1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up hwinfo (21.52-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
robdaviswork@Workstation-U64:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
robdaviswork@Workstation-U64:~$