You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using 'dub' to create a sub 'vibe.d' application, the linking fails with the following:
$ dub
Checking dependencies in '/home/gordon/projects/test'
Building configuration "application", build type debug
Compiling...
Linking...
/data/gordon/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -levent_pthreads
collect2: error: ld returned 1 exit status
--- errorlevel 1
Error: Link command failed with exit code 1
Run 'dub help' for usage information.
The reason is that on this (old) system, 'libevent' still uses the old stable version 1.14.x instead of the 2.0.x version - and it does not include the "event_pthreads" library.
I do not know if 'dub' has a way to specify minimum required version (of a system library) during installation or compilation. Perhaps, at the very least, mention in the documentation or README that libevent version 2.0.X is required ?
-gordon
The text was updated successfully, but these errors were encountered:
Hello,
Using 'dub' to create a sub 'vibe.d' application, the linking fails with the following:
The reason is that on this (old) system, 'libevent' still uses the old stable version 1.14.x instead of the 2.0.x version - and it does not include the "event_pthreads" library.
I do not know if 'dub' has a way to specify minimum required version (of a system library) during installation or compilation. Perhaps, at the very least, mention in the documentation or README that libevent version 2.0.X is required ?
-gordon
The text was updated successfully, but these errors were encountered: