This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: vi and glibc 2.12: Assertion `_rtld_global_ro._dl_pagesize != 0
Arkadiusz Miskiewicz <arekm@maven.pl> writes:
>> > [arekm@carme-pld ~]$ gcc a.c -static
>> > /home/users/arekm/tmp/ccedPM2o.o: In function `main':
>> > a.c:(.text+0xa): warning: Using 'getpwnam' in statically linked
>> > applications requires at runtime the shared libraries from the glibc
>> > version used for linking
> a.out built in 1) and 2) environments works in these but fails on my glibc
> 2.12 env.
See above, you must run the statically linked binary in the same
environment that you used for linking.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."