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 was to create the fol

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 i

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 "apt

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 Xu

Re: Link problem in std.regex with DMD git master

2014-09-17 Thread Nordlöw
On Thursday, 18 September 2014 at 00:38:33 UTC, Nordlöw wrote: I guess make install in Phobos is a bit to blame in this regard. I'll add some logic in my bash wrapper scripts that removes the installation of Phobos before the new is written there. I guess the same goes for druntime.

Re: Link problem in std.regex with DMD git master

2014-09-17 Thread Nordlöw
On Thursday, 18 September 2014 at 00:18:41 UTC, Vladimir Panteleev wrote: std.regex was recently split up into a package. Make sure your makefiles are up to date. My installation script for Phobos just copied (appended) to target directory. I guess it picked the old version of std.regex. Work

Re: Link problem in std.regex with DMD git master

2014-09-17 Thread Nordlöw
On Thursday, 18 September 2014 at 00:35:37 UTC, Nordlöw wrote: My installation script for Phobos just copied (appended) to target directory. I guess it picked the old version of I guess make install in Phobos is a bit to blame in this regard. I'll add some logic in my bash wrapper scripts that

Re: Link problem in std.regex with DMD git master

2014-09-17 Thread Vladimir Panteleev via Digitalmars-d-learn
On Wednesday, 17 September 2014 at 23:46:13 UTC, Nordlöw wrote: Since a couple of days my DMD git master has start to error as below when I compiled programs that import std.regex. What's wrong? How are you building Phobos? std.regex was recently split up into a package. Make sure your makef

Link problem in std.regex with DMD git master

2014-09-17 Thread Nordlöw
Since a couple of days my DMD git master has start to error as below when I compiled programs that import std.regex. What's wrong? dmd -vcolumns -debug -g -gs -unittest -wi -main conceptnet5.d /home/per/Work/justd/languages.d /home/per/Work/justd/algorithm_ex.d /home/per/Work/justd/dbg.d /ho

Re: Link problem in std.regex with DMD git master

2014-09-17 Thread Nordlöw
On Wednesday, 17 September 2014 at 23:46:13 UTC, Nordlöw wrote: Since a couple of days my DMD git master has start to error as below when I compiled programs that import std.regex. What's wrong? The error doesn't occur on DMD version 2.066.

Re: Link problem with Derelict3

2013-07-22 Thread truc
Justin Whear wrote: > On Mon, 22 Jul 2013 20:07:28 +0200, moechofe wrote: > >> Hi, >> >> I have a problem when I try to compile Derelict3 under linux. I try >> different orders of the linked libraries without success. >> >> I've got this error: >> >> /home/martin/Derelict3/lib/dmd/libDerelictS

Re: Link problem with Derelict3

2013-07-22 Thread Justin Whear
On Mon, 22 Jul 2013 20:07:28 +0200, moechofe wrote: > Hi, > > I have a problem when I try to compile Derelict3 under linux. I try > different orders of the linked libraries without success. > > I've got this error: > > /home/martin/Derelict3/lib/dmd/libDerelictSDL2.a(sdl_106_698.o):(.rodata +0x

Link problem with Derelict3

2013-07-22 Thread moechofe
Hi, I have a problem when I try to compile Derelict3 under linux. I try different orders of the linked libraries without success. I've got this error: /home/martin/Derelict3/lib/dmd/libDerelictSDL2.a(sdl_106_698.o):(.rodata+0x3094): référence indéfinie vers « _D6object6Object8opEqualsMFC6Obj

Re: Link Problem

2009-03-04 Thread Qian Xu
Steven Schveighoffer wrote: > It appears that the SaxParser module is not defined in the library. I > would guess that your tango lib is not compiled from the .d files you are > using for imports, one of those two is out of date. > > -Steve Thanks. The build system links with another SaxParser

Re: Link Problem

2009-03-03 Thread Steven Schveighoffer
"Qian Xu" wrote > Hi All (again), > > > I got the following error message when my program is going to be linked: > > error --- > default/common/configuration/Configuration_1.o:(.data+0x98): undefined > reference to `_D5tango4text3xml9SaxParser12

Link Problem

2009-03-03 Thread Qian Xu
Hi All (again), I got the following error message when my program is going to be linked: error --- default/common/configuration/Configuration_1.o:(.data+0x98): undefined reference to `_D5tango4text3xml9SaxParser12_ModuleInfoZ' -