[Nix-dev] C compiler cannot create executables

Martin Bravenboer martin at cs.uu.nl
Fri Jan 7 22:55:22 CET 2005


> 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

-- 
Martin Bravenboer
---------------------------------------------------------------------
Center for Software Technology
Institute of Information and Computing Sciences
Utrecht University




More information about the nix-dev mailing list