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: "Chris Brien" <christopher_brien AT hotmail.com>
  • To: afrayedknot AT thefrayedknot.armory.com, sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire]Glibc casting
  • Date: Sun, 17 Nov 2002 20:53:50 +0000


So, it's not the fault of the save_libraries function (which is working perfectly, otherwise you wouldnt have got that far).

T'would be easy to sedit the makefile to do "ln -sf" instead of "rm ; ln -s". Which wouldn't break anything.

Or, you could replace the "ln" call with "ldconfig".

Or, you could have a statically linked "ln". Or, you could do "make install installroot=/some/where/ ; cp -a /some/where /".

Chris

From: Andrew <afrayedknot AT thefrayedknot.armory.com>
so on my latest glibc compile i noticed that it does this:

/usr/bin/install -c ../libc.so /lib/libc-2.3.1.so.new
mv -f /lib/libc-2.3.1.so.new /lib/libc-2.3.1.so
rm -f /lib/ld-linux.so.2
ln -s ld-2.3.1.so /lib/ld-linux.so.2
make[1]: ln: Command not found


oops, glibc's makefile seems to politely remove ld-linux.so.2 then try to
link it back again. Right after the rm nothing will run, that is until you
run ldconfig to fix the symlink. so somehow we need to fix that.

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus





Archive powered by MHonArc 2.6.24.

Top of Page