DUB Errors

Brian Hechinger via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 3 16:00:52 PDT 2014


On Friday, 3 October 2014 at 15:50:13 UTC, John Colvin wrote:
> On Friday, 3 October 2014 at 15:14:36 UTC, Nordlöw wrote:
>> My vibe.d base project no longer builds with DUB git master 
>> but instead errors as
>>
>> Building vibe-d ~master configuration "libevent", build type 
>> debug.
>> Running dmd...
>> ../../.dub/packages/openssl-master/deimos/openssl/ossl_typ.d(209): 
>> Error: undefined identifier ssl_ctx_st
>> ../../.dub/packages/openssl-master/deimos/openssl/ssl.d(435): 
>> Error: ExternC!(extern (C) c_long function(SSL_CTX* ctx, int 
>> cmd, c_long larg, void* parg)) had previous errors
>> ../../.dub/packages/openssl-master/deimos/openssl/ssl.d(447): 
>> Error: ExternC!(extern (C) c_long function(SSL_CTX* s, int 
>> cb_id, ExternC!(extern (C) void function()) fp)) had previous 
>> errors
>> FAIL 
>> ../../.dub/packages/vibe-d-master/.dub/build/libevent-debug-linux.posix-x86_64-dmd_2066-78BF44FED20E955E6BD4F1280160FDD5/ 
>> vibe-d staticLibrary
>> Error executing command run: dmd failed with exit code 1.
>>
>> What's wrong?
>>
>> With DMD 2.066 on Ubuntu 10.04.
>
> doesn't look like a dub problem, looks more like a problem with 
> the ssl bindings. The relevant error is the first one:
>
>> ../../.dub/packages/openssl-master/deimos/openssl/ossl_typ.d(209): 
>> Error: undefined identifier ssl_ctx_st

With my old set of packages I had no problems. I just now deleted
~/.dub and now I too get this error. Some issue with the openssl
module, yes, but what? This is a bit of an issue. :)


More information about the Digitalmars-d-learn mailing list