[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with getgrgid when using "gcc -static"
From: |
Zack Weinberg |
Subject: |
Re: problem with getgrgid when using "gcc -static" |
Date: |
Wed, 13 Nov 2002 16:30:28 -0800 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu) |
David Stuart <address@hidden> writes:
Please do not top post.
>>Statically linking the program makes it unable to load the 'name
>>service switch' modules which look up the group name. Don't
>>statically link programs that need to use any of the getXXbyYY or
>>getXXid routines.
>
> two follow up questions, though...
>
> When I boot from my 7.2 "rescue" disk, I am able to do the same thing,
> but it works (i.e. the "-static" run reports "users" for the
> group). Does this make sense?
It _can_ work, in a highly controlled environment such as the rescue
disk. It is not to be relied upon.
zw
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: problem with getgrgid when using "gcc -static",
Zack Weinberg <=