mhulden / foma

Automatically exported from code.google.com/p/foma
115 stars 90 forks source link

problem installing foma on Ubuntu 20.04.2 #131

Closed leoalenc closed 3 years ago

leoalenc commented 3 years ago

Hi! I've tried to run the pre-combiled Foma binary on my Ubuntu system, but I got the following error message:

foma: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory

My system doesn't have libtermcap.so.2 in the /lib directory. I've also run the following command:

sudo apt install foma

Although no error was reported, the same error message was displayed when executing the command foma. Finally, I've tried to compile foma from source, running:

sudo make; make install

It was reported that -ltermcap was not found. Foma is a great tool! I've used it on my mac systems as well as on older linux systems for years. So I would appreciate any hints on how to install it on Ubuntu 20.04.2.

AmbientLighter commented 3 years ago

pls try to install libncurses-dev

leoalenc commented 3 years ago

pls try to install libncurses-dev

@AmbientLighter, thanks! I followed your suggestion and this time I could successfully install foma from source.

leoalenc commented 3 years ago

Since the problem was solved, I'm closing the issue.