Am 04.08.2015 um 12:45 schrieb Misu:

Hello,

I'm trying to compile a little vibed app on fresh Ubuntu 14.04.2 LTS install but it's not working.

No problem on windows.

This is what I have when I use dub command :

...
Performing "debug" build using dmd for x8664.
Building dauth 0.6.2 configuration "library"...
Building vibe-d 0.7.24-rc.2 configuration "libevent"...
Building portfolio ~master configuration "application"...
Compiling diet template 'admin.index.dt'...
Compiling diet template 'admin.login.dt'...
Compiling diet template 'admin.posts.dt'...
Compiling diet template 'admin.add
post.dt'...
Compiling diet template 'home.index.dt'...
Linking...
/usr/bin/ld: ne peut trouver -levent
/usr/bin/ld: ne peut trouver -levent_pthreads
/usr/bin/ld: ne peut trouver -lssl
/usr/bin/ld: ne peut trouver -lcrypto
collect2: error: ld returned 1 exit status
--- errorlevel 1
dmd failed with exit code 1.
...

"ne peut trouver" = "can't find"

Do you know what is the problem ? thanks

The Windows version has libevent and OpenSSL binaries included, but on
other systems you need to install them. On Ubuntu:

 sudo apt-get install libevent-dev libssl-dev