This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: missing libnss et al.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]