/usr/bin/ld: cannot find -levent_pthreads

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 29 04:05:40 PST 2016


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


More information about the Digitalmars-d-learn mailing list