missing libnss et al.

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Sun Apr 4 14:11:00 GMT 2010


NG, All,

On Sunday 04 April 2010 15:22:26 ng@piments.com wrote:
> I'm probably missing something obvious but I can't do ssh log in to my 
> embedded system build using ct-ng.
> From digging around,  it appears that the problem is missing nss libs.
> It seems that they should be provided by glibc
> http://www.linuxfromscratch.org/lfs/view/6.5/chapter06/glibc.html
> I'm using ct-ng-1.4.0 configured to produce glibc-2.9
> What have I missed ?

Almost nothing. :-)

Those libraries *are* built by glibc (and eglibc) but no application
are linked against those libs. glibc will dlopen(3) those libraries
depending on the configuration of /etc/nsswitch.conf(5).

So you need to
- manually copy /lib/libnss_*.so matching your configuration
- add a properly configured /etc/nsswitch.conf

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list