dlang / ddox

Advanced D documentation engine
MIT License
63 stars 21 forks source link

Link error despite vibe's #1651 being closed #186

Open Abscissa opened 6 years ago

Abscissa commented 6 years ago

After this:

dub fetch ddox --version=0.16.6
cd ~/.dub/packages/ddox-0.16.6/ddox
dub build

I'm getting the same linker errors mentioned in https://github.com/vibe-d/vibe.d/issues/1651

On Manjaro (Arch fork), and I have these packages installed:

And I'm not sure how to tell dub on the commandline to use the mentioned version identifier workarounds.

Abscissa commented 6 years ago

Currently working around this by hacking up dub's cached version of ddox-0.16.6, adding "VibeUseOpenSSL11" to its dub.json, but that seems very dirty.

s-ludwig commented 6 years ago

When vibe.d 0.8.2 is released next week, I'll upgrade ddox to use it. Then it's at least possible to manually switch the configuration with dub build ddox --override-config vibe-d:tls/openssl-1.1.

Would be nice to do something better on DUB's side, such as supporting version specifiers for import libraries. At least pkg-config could then select the right library or would error out if the right version is not available.