On Sun Oct 10 1999 at 03:17, Tony Nugent wrote:
[ I just love talking to myself :]
After a couple of emails, it seems that I need to clarify all this...
> Oops! Ok, this has changed...
>
> $ RedHat/base/genhdlist
> RedHat/base/genhdlist: error in loading shared libraries: librpm.so.0: cannot
>open shared object file: No such file or directory
>
> Uh-oh, that's Not Good News.
>
> $ ldd genhdlist
> librpm.so.0 => not found
> libc.so.6 => /lib/libc.so.6 (0x40019000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> Is it wise to have genhdlist dynamically linked rather than static
> like it has always been?
>
> Further investigation shows that libz.so.1, libdb.so.2 and libbz2.so.0
> are also needed for librpm.so.0.
>
> Ouch, from now on my script will have to become something like this...
>
> (
> [ -d $SOURCEDIR/RedHat/RPMS ] &&
> cd $SOURCEDIR &&
> LD_LIBRARY_PATH=$SOURCEDIR/RedHat/instimage/usr/lib \
> $SOURCEDIR/RedHat/base/genhdlist $(pwd)
> )
>
> That's unfortunate, really ugly.
The LD_LIBRARY_PATH addition is only needed for non-redhat 6.1
systems. RedHat 6.0 and below need it.
Which doesn't really negate my point... it should be possible to
rebuild a redhat 6.1 installation iso image on a non-6.1 system.
Cheers
Tony
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
Tony Nugent <[EMAIL PROTECTED]> Systems Administrator
GrowZone OnLine (a project of) GrowZone Development Network
POBox 475 Toowoomba Oueensland Australia 4350 Ph: 07 4632 8344
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null