Tiny Core Linux

General TC => General TC Talk => Topic started by: lindee on June 16, 2009, 12:07:42 PM

Title: trouble on a remaster
Post by: lindee on June 16, 2009, 12:07:42 PM
I am trying to use a remastered microcore.gz image to PXE-boot the compute nodes for a Beowulf cluster.

The extensions I need for what I am trying to do are nfs-utils, openssh, and curl.

I followed the directions for remastering in the wiki section and extracted the microcore filesystem.

Extracted the following packages into the filesystem

When the node boots from the modified image, it gives errors when trying to run anything related to ssh or curl saying "error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory" or the same thing with libcurl.so.4. I have tried adding /usr/local/lib to both the PATH and LD_LIBRARY_PATH variables in /etc/profile and remastering again to no success.

Also, when I try to mount an nfs share, it gives the following error:
   rpcbind: server localhost not responding, timed out
   RPC: failed to contact local rpcbind server (errno 5).

Does anyone have any experience with this or know of something I should have done differently?
Title: Re: trouble on a remaster
Post by: curaga on June 16, 2009, 01:29:38 PM
After extracting library extensions you need to manually run ldconfig (it would be run if you used the appbrowser):

ldconfig -r /path/to/extracted/root
Title: Re: trouble on a remaster
Post by: mikshaw on June 16, 2009, 02:38:18 PM
Last I saw, ldconfig is already run from tc-config, unless "nolocal" is specified.  Has this changed in 2.x?
Title: Re: trouble on a remaster
Post by: curaga on June 16, 2009, 03:04:40 PM
Mik, that's only in effect if persistent local is used.
Title: Re: trouble on a remaster
Post by: robc on June 16, 2009, 03:12:39 PM
is there a reason for using ldconfig only when there is a persistent local? why wouldn't/shouldn't it be used for every boot?
Title: Re: trouble on a remaster
Post by: ^thehatsrule^ on June 16, 2009, 03:29:45 PM
robc: usually the cache is prebuilt, so no updating is necessary unless there are new libraries present

although it seems to always run it in 2.0 if the edition is TC