[Nix-dev] _rtld_global_ro at GLIBC_PRIVATE

Eelco Dolstra eelco at cs.uu.nl
Tue Nov 16 20:14:57 CET 2004


On 15-nov-04, at 5:15, Eelco Visser wrote:

> When compiling Stratego programs with gcc 3.3.3 from nix-pkgs, I get
>
> /usr/lib/libm.so: undefined reference to 
> `_rtld_global_ro at GLIBC_PRIVATE'
> collect2: ld returned 1 exit status
> make: *** [strc] Error 1

Maybe you are using gcc without the "gcc wrapper" that sets the right 
environment variables so that the Nix glibc is used.  Check that 
$(which gcc) is a shell script, not an executable.  Likewise for ld.

-- 
Eelco Dolstra | http://www.cs.uu.nl/~eelco




More information about the nix-dev mailing list