dub: symbol lookup error: dub: undefined symbol: _D3std3net4curl4HTTP9__mixin376onSendMFNdDFAvZmZv

Steven Schveighoffer schveiguy at gmail.com
Mon Dec 21 15:37:03 UTC 2020


On 12/20/20 10:17 PM, Andrew Pennebaker wrote:
> Hi,
> 
> I read about the amazing cross-compilation support with -mtriple, but 
> unfortunately I am unable to use dub at the moment to build my D 
> projects. It appears to have broken in Debian (Ubuntu) again.
> 
> $ dub --version
> dub: symbol lookup error: dub: undefined symbol: 
> _D3std3net4curl4HTTP9__mixin376onSendMFNdDFAvZmZv
> 
> $ dpkg --list | grep dub
> ii  dub                                  1.19.0-1build2          
> amd64        Package and build management system for D
> 
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:    Ubuntu 20.04.1 LTS
> Release:        20.04
> Codename:       focal
> 
> Is the situation any better in Ubuntu 20.10 Groovy Gorilla?

I confirm, this is the situation on my Ubuntu 20.04 release. I Have not 
upgraded yet to 20.10.

The package needs to be rebuilt. I think the phobos dependency is out of 
date or something. I found a similar problem here: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931825

I generally do not use the packaged releases of the compilers from the 
OS, but rely on DVM to manage my D compiler (dmd only really). I just 
did a quick install of dub via apt-get to test.

-Steve


More information about the Digitalmars-d mailing list