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

2016-07-05 Thread Johannes Pfau via Digitalmars-d-learn
Am Tue, 5 Jul 2016 00:37:54 -0700 schrieb Ali Çehreli : > 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

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

2016-07-05 Thread Ali Çehreli via Digitalmars-d-learn
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

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

2016-07-05 Thread Andrea Fontana via Digitalmars-d-learn
On Tuesday, 5 July 2016 at 03:32:25 UTC, WhatMeWorry wrote: Just learning Linux. Got my first vibe/dub project which dies at: Compiling diet template 'index.dt'... Linking... /usr/bin/ld: cannot find -lsqlite3 collect2: error: ld returned 1 exit status I downloaded DUB's d2sqlite3 and built

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

2016-07-04 Thread lobo via Digitalmars-d-learn
On Tuesday, 5 July 2016 at 03:32:25 UTC, WhatMeWorry wrote: Just learning Linux. Got my first vibe/dub project which dies at: [...] You need to install sqlite3, or download and build it yourself, to get libsqlite3.a. I don't use Ubuntu so not sure of the package but you will be able to

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

2016-07-04 Thread via Digitalmars-d-learn
On Tue, Jul 05, 2016 at 03:32:25AM +, WhatMeWorry via Digitalmars-d-learn wrote: > $ sudo apt-get install sqlite3 I'm just guessing, but try install sqlite3-devel too

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

2016-07-04 Thread WhatMeWorry via Digitalmars-d-learn
Just learning Linux. Got my first vibe/dub project which dies at: Compiling diet template 'index.dt'... Linking... /usr/bin/ld: cannot find -lsqlite3 collect2: error: ld returned 1 exit status I downloaded DUB's d2sqlite3 and built it fine. I've got sqlite3 on my system by default (came with