Probably trivial Linux link problem that I've spent hours on.

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 5 00:37:54 PDT 2016


On 07/04/2016 08:32 PM, WhatMeWorry wrote:

 > /usr/bin/ld: cannot find -lsqlite3
 > collect2: error: ld returned 1 exit status

I had the same issue when building Button with dub on Ubuntu 16.04. My 
hack was to create the following symlink to the already existing 
libsqlite3.so.0:

   sudo ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 
/usr/lib/x86_64-linux-gnu/libsqlite3.so

Ali



More information about the Digitalmars-d-learn mailing list