[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file:



In fedora system, you can run
"su -" => input your root password

Then run " ldconfig" .

2013/6/20 上午9:24 於 "Mark Ellzey" <mthomas@xxxxxxxxxx> 寫道:
On Fri, Jun 14, 2013 at 04:49:44PM +0200, wen lui wrote:
> I'm using libevent for a program, I compile my program on two computers A
> and B, on A the execution is successful, but on B I got the following
> errors:
>
>     error while loading shared libraries: libevent-1.4.so.2: cannot open
> shared object file: No such file or directory
>

type ldconfig -p | grep libevent

if it's not there, put the libraries in the ldpath and run 'sudo ldconfig'
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.