Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] gettext errors - recompile glibc?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Geoffrey Derber <Geoffrey.Derber AT Trinity.edu>
  • To: Eric Sandall <eric AT sandall.us>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] gettext errors - recompile glibc?
  • Date: Sat, 08 Feb 2003 15:32:10 -0600

Eric Sandall wrote:
Andrew said:

No. The problem was that sorcery messes things up if the old and the
new dynamic linkers are not compatible.

uhm, thats a bold statement, if you are trying to explain to me why
glibc wasnt installing before. I spent a weekend trying to fix it. Id
love to see you convince me it was sorcery's fault, the problem was that
the makefile would remove the old dynamic loader, ala mv, then try to
link in the new one ala ln, but ln is a dynamic...oops.


It is most likely a sorcery/spell problem as both Gentoo and Lunar (IIRC)
have no problem on the upgrade, not sure about Sorcery.

-One of Four
a.k.a. sandalle


I noticed the lunar 'spell' had the following lines in it's BUILD file:

# Preserve the old glibc temporarily
cp /lib/ld-linux.so.2 /lib/ld-lunar.so &&
cp /lib/libc.so.6 /lib/libc-lunar.so &&
cp /lib/libdl.so.2 /lib/libdl-lunar.so &&
cp /lib/libm.so.6 /lib/libm-lunar.so &&
cp /lib/librt.so.1 /lib/librt-lunar.so &&
cp /lib/libpthread.so.0 /lib/libpthread-lunar.so &&
cp /lib/libnss_files.so.2 /lib/libnss_files-lunar.so &&
cp /lib/libutil.so.1 /lib/libutil-lunar.so &&

# Setup links for libraries
sln /lib/ld-lunar.so /lib/ld-linux.so.2 &&
sln /lib/libc-lunar.so /lib/libc.so.6 &&
sln /lib/libdl-lunar.so /lib/libdl.so.2 &&
sln /lib/libm-lunar.so /lib/libm.so.6 &&
sln /lib/librt-lunar.so /lib/librt.so.1 &&
sln /lib/libpthread-lunar.so /lib/libpthread.so.0 &&
sln /lib/libnss_files-lunar.so /lib/libnss_files.so.2 &&
sln /lib/libutil-lunar.so /lib/libutil.so.1 &&

# This removes the old glibc
prepare_install &&

# And now we install the new
make install &&

# Rebuild the ld cache
rm -f /etc/ld.so.cache 2>/dev/null &&
ldconfig &&

# Remove the temporary libc
rm /lib/ld-lunar.so &&
rm /lib/libc-lunar.so &&
rm /lib/libdl-lunar.so &&
rm /lib/libm-lunar.so &&
rm /lib/librt-lunar.so &&
rm /lib/libpthread-lunar.so &&
rm /lib/libnss_files-lunar.so &&
rm /lib/libutil-lunar.so &&

That could be why they didn't have that problem.

Geoff





Archive powered by MHonArc 2.6.24.

Top of Page