[Nix-dev] C compiler cannot create executables

Eelco Visser visser at cs.uu.nl
Fri Jan 7 22:56:32 CET 2005


On Fri, 2005-01-07 at 22:55, Martin Bravenboer wrote:
> > visser at linux:~/wip/config-install-scripts/StrategoXT> env | grep NIX
> > NIX_CFLAGS_COMPILE=-I/usr/include
> > NIXPKGS=/home/visser/.nix-profile
> > NIX_LDFLAGS=-L/usr/lib -L/lib
> > NIX_CFLAGS_LINK=-L/home/visser/.nix-profile/lib -L/usr/lib -L/lib
> 
> Humz, just guessing ... maybe you need to set the LD_LIBRARY_PATH as well?
> 
> export LD_LIBRARY_PATH=/usr/lib:/lib

No, I copied your .bashrc

-- Eelco

------------------------------------------------------------------------
Eelco Visser            Institute of Information and Computing Sciences
mail:visser at cs.uu.nl    Universiteit Utrecht
  or:visser at acm.org     P.O. Box 80089, 3508 TB Utrecht, The Netherlands
http://www.cs.uu.nl/~visser/ Phone: +31-30-253 4592 Fax: +31-30-251 3791
------------------------------------------------------------------------





More information about the nix-dev mailing list