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?
(Abbreviated for your sanity)
Undefined symbols for architecture x8664:<br>"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<br>D6deimos7openssl3ssl25T19SSLCTXsetoptionsZ19SSLCTXsetoptionsUNbPS6deimos7openssl3ssl10sslctxstlZl<br>in daytime.d.o<br>"SSLread", referenced from:<br>D4vibe6stream3ssl9SslStream4readMFAhZv in daytime.d.o
"SSLnew", referenced from:
"BIOfree", referenced from:
D4vibe6stream3ssl9SslStream6dtorMFZv in daytime.d.o<br>"BIOsetexdata", referenced from:<br>BIOsetappdata in daytime.d.o<br>"SSLv23clientmethod", referenced from:
D4vibe6crypto3ssl10SslContext6ctorMFE4vibe6crypto3ssl10SSLVersionZC4vibe6crypto3ssl10SslContext<br>in daytime.d.o<br>"BIOnew", referenced from:<br>D4vibe6stream3ssl9SslStream6__ctorMFC4vibe6stream6stream6StreamC4vibe6crypto3ssl10SslContextE4vibe6stream3ssl14SslStreamStateZC4vibe6stream3ssl9SslStream
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.