martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.2k stars 258 forks source link

built vis can't find libtermkey.so.1 file #972

Closed honestSalami closed 2 years ago

honestSalami commented 2 years ago

I've just made a build of vis with the latest version (the one with commit hash "1a958f221404b09cb8b0612fb34301e6b9783cf9"). I've installed all the dependencies, as stated in the readme, even the latest version of libtermkey (0.22). But when I run vis, it fails with this error message: vis: error while loading shared libraries: libtermkey.so.1: cannot open shared object file: No such file or directory. Is this a known error?

I'm running ubuntu server, and this is the result of running uname -a: Linux HOST 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

honestSalami commented 2 years ago

I solved it, as per this comment in stack overflow (https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s#comment7282227_480764) I just ran sudo ldconfig. It seems that that updated the list of available libraries.