Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Linenoise for Perl6 on CentOS: cannot find library "luv"

Tags:

I'm trying to install Linenoise for zef in perl6.

user@centos:/illumina/runs/Scripts/perl6/zef$ sudo bin/zef install Linenoise --force-build
===> Searching for: Linenoise
===> Searching for missing dependencies: LibraryMake
===> Searching for missing dependencies: Shell::Command
===> Searching for missing dependencies: File::Which, File::Find
===> Building: Linenoise:ver<0.1.1>:auth<Rob Hoelz>
/bin/ld: cannot find -luv
collect2: error: ld returned 1 exit status
make: *** [/root/.zef/store/p6-linenoise.git/480fd919b2c082e691c518fd50c19ad8719532b6/resources/libraries/liblinenoise.so] Error 1

I don't know how to locate and install this library "-luv". I cannot find information on internet search engines.

I've tried yum search & yum search all and I can't find out how to install this.

like image 307
con Avatar asked Feb 06 '19 18:02

con


1 Answers

The solution is simple

sudo yum install libuv.x86_64 libuv-devel.x86_64 libuv-static.x86_64

the issue was that if libuv isn't installed, it gives an error with -luv which doesn't really help me know what library I need. @raiph gave me the hint I needed

like image 106
con Avatar answered Jan 04 '23 17:01

con