[ug-bosug] Re: BeleniX Remastering Toolkit

Moinak Ghosh Moinak.Ghosh at Sun.COM
Thu Aug 24 09:48:27 PDT 2006


Eric Boutilier wrote:
> [...]
> http://www.genunix.org/distributions/belenix_site/BeleniX-Remaster-HOWTO.html#AddSW 
>
>
> ... and experiment with adding SFW packages for a custom LiveCD.
>
> I have no problems getting the 0.9.7 libs to work in the main root
> environment. To do that, I simply got copies from a Solaris Express box
> and put them in /usr/sfw/lib and re-do the symlinks. But when I do the
> exact same thing in /space/livecd_proto/usr/sfw/lib, and then chroot to
> /space/livecd_proto, applications that link to libssl/libcrypto still act
> as if the 0.9.7 versions aren't there. Here's a cut-n-paste from my
> terminal session showing the problem:
>
> -bash-3.00# chroot /space/livecd_proto /usr/bin/bash
> Must be attached to terminal for 'am I' option
> ()# pkgadd
> ld.so.1: pkgadd: fatal: libssl.so.0.9.7: open failed: No such file or 
> directory
> Killed
> ()#
   Question: Are you doing the symlink before chroot ? If so then try 
symlinking
   after doing a chroot.

   An output of ldd on pkgadd in the chrooted environment should give more
   clues.

Regards,
Moinak.
>
> Any ideas? Is there some anomaly about chroot environments
> that prevents this work-around from working?
>
> Thanks in advance,
> Eric
>
> P.S. Moinak -- GREAT job with the remastering tools -- this
> is very cool stuff.
> _______________________________________________
> ug-bosug mailing list
> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> List-Owner: mailto:ug-bosug-owner at opensolaris.org
> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54




More information about the ug-bosug mailing list