* Is there a way to get static linking against nsswitch to work ?
@ 2020-07-12 8:43 William Tambe
2020-07-12 9:22 ` Florian Weimer
0 siblings, 1 reply; 2+ messages in thread
From: William Tambe @ 2020-07-12 8:43 UTC (permalink / raw)
To: William Tambe via Libc-help
I am statically building an executable that uses getpwuid(); but it
always returns null.
A google search shows the problem is due to statically linking against nsswitch.
Our GLIBC port does not currently support shared libraries; is there a
way to get static linking against nsswitch working ?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Is there a way to get static linking against nsswitch to work ?
2020-07-12 8:43 Is there a way to get static linking against nsswitch to work ? William Tambe
@ 2020-07-12 9:22 ` Florian Weimer
0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2020-07-12 9:22 UTC (permalink / raw)
To: William Tambe via Libc-help
* William Tambe via Libc-help:
> Our GLIBC port does not currently support shared libraries; is there
> a way to get static linking against nsswitch working ?
It's possible to configure with --enable-static-nss, but it may
require some work to get it working again.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-12 9:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12 8:43 Is there a way to get static linking against nsswitch to work ? William Tambe
2020-07-12 9:22 ` Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).