[CLOSED] Command-not-found : using older shared library

#1

Hi all

This only happens to me when tmux is running.
I’m on zsh, so…

┌─[spiros@HOME] - [~] - [Πεμ Οκτ 18, 09:36]
└─[$] <> not-a-command
cnf-lookup: error while loading shared libraries: libboost_system.so.1.67.0: cannot open shared object file: No such file or directory
zsh: not-a-command: command not found

About cnf-lookup:

┌─[spiros@HOME] - [~] - [Πεμ Οκτ 18, 09:37]
└─[$] <> pacman -Qo cnf-lookup
/usr/bin/cnf-lookup is owned by command-not-found 0.6.2-2
┌─[spiros@HOME] - [~] - [Πεμ Οκτ 18, 09:45]
└─[$] <> LANG=en_US pacman -Qi command-not-found
Name : command-not-found
Version : 0.6.2-2
Description : In case a command could not be found this utility searches for packages containing this or a similar command (bash,zsh).
Architecture : x86_64
URL : http://github.com/metti/command-not-found
Licenses : GPL
Groups : None
Provides : None
Depends On : boost-libs libarchive tdb wget
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 606.00 KiB
Packager : Bernhard Landauer oberon@manjaro.org
Build Date : Fri Jul 13 13:55:55 2018
Install Date : Wed Oct 17 19:04:16 2018
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature

And here is the library:

┌─[spiros@HOME] - [~] - [Πεμ Οκτ 18, 09:36]                                                                                                                                                    
└─[$] <> pacman -Qs boost                                                                                                                                                                      
local/boost 1.68.0-1                                                                                                                                                                           
    Free peer-reviewed portable C++ source libraries - development headers                                                                                                                     
local/boost-libs 1.68.0-1                                                                                                                                                                      
    Free peer-reviewed portable C++ source libraries - runtime libraries                                                                                                                       
┌─[spiros@HOME] - [~] - [Πεμ Οκτ 18, 09:37]                                                                                                                                                    
└─[$] <> pacman -Ql boost-libs|grep system                                                                                                                                                     
boost-libs /usr/lib/libboost_filesystem.so                                                                                                                                                     
boost-libs /usr/lib/libboost_filesystem.so.1.68.0                                                                                                                                              
boost-libs /usr/lib/libboost_system.so                                                                                                                                                         
boost-libs /usr/lib/libboost_system.so.1.68.0

I have tried re-installing command-no-found, but no luck

Now, I know I could probably be able to “fix” it by linking the library, but it would be nice to have it right…

1 Like

#2

Sounds like command-not-found needs a rebuild, @oberon :slight_smile:

2 Likes

#3

I’ve rebuilt it, look for 0.6.2-2.0 (and -2.1 in unstable).

2 Likes

#4

Yes!
Thank you very much
Closed

0 Likes

closed #5

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

0 Likes