www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - /usr/bin/ld: cannot find -levent_pthreads

reply Suliman <evermind live.ru> writes:
I have never tried to build my code on Linux (Ubuntu). Now I have 
error:

/usr/bin/ld: cannot find -levent
/usr/bin/ld: cannot find -levent_pthreads

Where I can get this lib?
Feb 29 2016
parent reply Guest62942 <guest dlang.org> writes:
On Monday, 29 February 2016 at 11:48:35 UTC, Suliman wrote:
 I have never tried to build my code on Linux (Ubuntu). Now I 
 have error:

 /usr/bin/ld: cannot find -levent
 /usr/bin/ld: cannot find -levent_pthreads

 Where I can get this lib?
http://geeksww.com/tutorials/operating_systems/linux/installation/how_to_install_libevent_on_debianubuntucentos_linux.php Try `apt search <libXXX>`, you'll need an up to date package manager and internet access to download.
Feb 29 2016
parent Jacob Carlborg <doob me.com> writes:
On 2016-02-29 12:58, Guest62942 wrote:
 On Monday, 29 February 2016 at 11:48:35 UTC, Suliman wrote:
 I have never tried to build my code on Linux (Ubuntu). Now I have error:

 /usr/bin/ld: cannot find -levent
 /usr/bin/ld: cannot find -levent_pthreads

 Where I can get this lib?
http://geeksww.com/tutorials/operating_systems/linux/installation/how_to_install_libevent_on_debianubuntucentos_linux.php Try `apt search <libXXX>`, you'll need an up to date package manager and internet access to download.
Make sure it's libevent2 and you install the developer package as well. -- /Jacob Carlborg
Feb 29 2016