Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire]Glibc casting

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire]Glibc casting
  • Date: Sat, 16 Nov 2002 22:41:05 -0800

On Sun, Nov 17, 2002 at 02:00:27PM +0800, Craig Dyke wrote:
> Doh ... i used cp -r /lib /tmp
> And then changed conf file
>
> Craig

i think then you'd want to add /lib/lib to ld.so.conf in that case,
but your probably figured that out

alternatively you could comment out the prepare_install from BUILD

..which reminds me of...

So this guy goes to the doctor complaining of pains in his knee. The
doctor asks him whats going on, the patient says "It hurts when I do this"
and touches his knee. The doctor says "Well then just dont do that!"

its crude but works.

perhaps the following changes should be made to the BUILD spell from now on:
change:
make
prepare_install
make install

to:

make

mkdir /tmp/lib
cp -vp /lib/* /tmp/lib
echo /tmp/lib} >> /etc/ld.so.conf
ldconfig 2>/dev/null

prepare_install
make install

grep -v "/tmp/lib" /etc/ld.so.conf >/tmp/ld.co.conf
cp /tmp/ld.so.conf /etc
ldconfig 2>/dev/null
rm -rf /tmp/lib






Archive powered by MHonArc 2.6.24.

Top of Page