Am 05.06.2012 08:10, schrieb Nathan M. Swan:

This is probably something I haven't installed right, but could you
point me in the right direction?

$ sh run_example.sh daytime

causes the link error below. What library have I failed to install?

NMS

(Abbreviated for your sanity)
Undefined symbols for architecture x8664:
"
SSLCTXctrl", referenced from:
SSLCTXsettlsextservernamearg in daytime.d.o
SSLCTXgettlsextticketkeys in daytime.d.o
SSLCTXsettlsextticketkeys in daytime.d.o
SSLCTXsettlsextstatusarg in daytime.d.o
SSLCTXsettlsextopaqueprfinputcallbackarg in daytime.d.o
D6deimos7openssl3ssl25T19SSLCTXsetoptionsZ19SSLCTXsetoptionsUNbPS6deimos7openssl3ssl10sslctxstlZl
in daytime.d.o
"
SSLread", referenced from:
D4vibe6stream3ssl9SslStream4readMFAhZv in daytime.d.o
"SSLnew", referenced from:
D4vibe6crypto3ssl10SslContext15createClientCtxMFZPS6deimos7openssl3ssl6sslst
in daytime.d.o
"BIOfree", referenced from:
D4vibe6stream3ssl9SslStream6dtorMFZv in daytime.d.o
"
BIOsetexdata", referenced from:
BIOsetappdata in daytime.d.o
"
SSLv23clientmethod", referenced from:
D4vibe6crypto3ssl10SslContext6ctorMFE4vibe6crypto3ssl10SSLVersionZC4vibe6crypto3ssl10SslContext
in daytime.d.o
"
BIOnew", referenced from:
D4vibe6stream3ssl9SslStream6__ctorMFC4vibe6stream6stream6StreamC4vibe6crypto3ssl10SslContextE4vibe6stream3ssl14SslStreamStateZC4vibe6stream3ssl9SslStream
in daytime.d.o

This was actually a problem of the run_example.sh script. At some point
it became necessary to link against libssl explicitly and it wasn't updated.

The latest master version has it fixed now and I'll probably make a new
version today, where the examples are run using 'vibe' just as normal
applications to avoid this in the future.

Regards