Tiny Core Linux
General TC => General TC Talk => Topic started 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
- curl.tcel
- nfs-utils.tce
- openssh.tce
- openssl-0.9.8h.tcel
- portmap.tce
- tcp_wrappers.tcel
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?
-
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
-
Last I saw, ldconfig is already run from tc-config, unless "nolocal" is specified. Has this changed in 2.x?
-
Mik, that's only in effect if persistent local is used.
-
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?
-
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