[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] 0.26pre1 on old systems, libstdc++.so.6: cannot open sh
From: |
Henry Nestler |
Subject: |
[Monotone-devel] 0.26pre1 on old systems, libstdc++.so.6: cannot open shared object |
Date: |
Wed, 18 Jan 2006 19:49:16 +0100 |
User-agent: |
Mozilla Thunderbird 0.6 (Windows/20040502) |
Hello,
how can I run monotone on old RH9 linux, where not installed GLIBC6?
I can't build monotone on this box. On this system I'm only a user and
can not upgrading big things, for sample GLIBC. Building boost and
other libs are also very difficoult. That's why, I try an other way.
The GLIBC, that monotone "linux x86/glibc 2.3" needs is a new version
from gcc 4.x.x, this is mostly not installed in my production systems.
This problem is long known, since 0.21 I thing.
I build the GCC 4.0.2 local for my user account with prefix and set
LD_LIBRARY_PATH to the directory of libstdc++.so.6.0.6, see attached
dobuild.sh
This trick works on SuSE 9.0 Linux, a system with libstdc++.so.5.0.5
(gnu/gcc 3.3.1).
I tried the same idea on the RH9 box with libstdc++.so.5.0.3 (gnu/gcc
3.2.2). This works as client, but with warnings, every time I run
monotone or ldd:
./monotone-0.26pre1-linux-x86:
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no
version information available (required by ./monotone-0.26pre1-linux-x86)
Next problem is: This can not running as server, something is wrong with
DNS resolving. But DNS with command 'host ...' works.
Some times I use unofficial semistatic versions from Thomas (Many
thanks!). This version has same problem in server bindings and DNS.
This is an other problem, see other mail and
http://www.henrynestler.com/monotone-trace/
--
Henry Nestler
address@hidden mt-0.26]$ export
LD_LIBRARY_PATH=/home/henry/i686-gcc402-linux/i686-pc-linux/lib
address@hidden mt-0.26]$ ./monotone-0.26pre1-linux-x86 --version
./monotone-0.26pre1-linux-x86:
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version
information available (required by ./monotone-0.26pre1-linux-x86)
./monotone-0.26pre1-linux-x86:
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version
information available (required by ./monotone-0.26pre1-linux-x86)
./monotone-0.26pre1-linux-x86:
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version
information available (required by ./monotone-0.26pre1-linux-x86)
./monotone-0.26pre1-linux-x86:
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version
information available (required by ./monotone-0.26pre1-linux-x86)
./monotone-0.26pre1-linux-x86:
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version
information available (required by ./monotone-0.26pre1-linux-x86)
monotone 0.26pre1 (base revision: a0d2b450c6ee230bb77275eae8ae1d9335aba4da)
address@hidden mt-0.26]$ ldd monotone-0.26pre1-linux-x86
./monotone-0.26pre1-linux-x86:
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version
information available (required by ./monotone-0.26pre1-linux-x86)
./monotone-0.26pre1-linux-x86:
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version
information available (required by ./monotone-0.26pre1-linux-x86)
./monotone-0.26pre1-linux-x86:
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version
information available (required by ./monotone-0.26pre1-linux-x86)
./monotone-0.26pre1-linux-x86:
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version
information available (required by ./monotone-0.26pre1-linux-x86)
./monotone-0.26pre1-linux-x86:
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version
information available (required by ./monotone-0.26pre1-linux-x86)
libz.so.1 => /usr/lib/libz.so.1 (0x40020000)
libdl.so.2 => /lib/libdl.so.2 (0x4002e000)
libstdc++.so.6 =>
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6 (0x40032000)
libm.so.6 => /lib/tls/libm.so.6 (0x4011e000)
libgcc_s.so.1 =>
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libgcc_s.so.1 (0x40140000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
(I removed the lines with "no version information" for cut after this point)
address@hidden mt-0.26]$ ./monotone-0.26pre1-linux-x86 --db=colinux-testing.db
--rcfile=serv_anonymous.lua serve --bind=monotone.colinux.org:55555 '*'
monotone: network error: name resolution failure for monotone.colinux.org
address@hidden mt-0.26]$ ./monotone-0.26pre1-linux-x86 --db=colinux-testing.db
--rcfile=serv_anonymous.lua serve --bind=:55555 '*'
monotone: fatal: std::runtime_error: network error: failure from socket(2):
Address family not supported by protocol
monotone:
monotone: this is almost certainly a bug in monotone.
monotone: please send this error message, the output of 'monotone
--full-version',
monotone: and a description of what you were doing to address@hidden
monotone: discarding debug log (maybe you want --debug or --dump?)
#!/bin/sh -x
# Building GCC 4.0.2 for local user
# Flags for building gcc (not for target)
BUILD_FLAGS="CFLAGS=-O2 LDFLAGS=-s"
BUILD_LOG=`pwd`/build-$$.log
PREFIX=$HOME/i686-gcc402-linux
GCC_TARGET=i686-pc-linux
SOURCE_DIR=`pwd`/gcc-4.0.2
echo "Configure gcc"
mkdir "gcc-$GCC_TARGET"
cd "gcc-$GCC_TARGET"
"$SOURCE_DIR/configure" -v \
--program-prefix="${GCC_TARGET}-" \
--prefix="$PREFIX/$GCC_TARGET" \
--enable-languages="c,c++" \
>>$BUILD_LOG 2>&1 || exit 1
echo "Building gcc"
make $BUILD_FLAGS >>$BUILD_LOG 2>&1 || exit 2
test $? -ne 0 && error_exit 1 "make guest gcc failed"
echo "Installing gcc"
make install >>$BUILD_LOG 2>&1 || exit 3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-devel] 0.26pre1 on old systems, libstdc++.so.6: cannot open shared object,
Henry Nestler <=