libgcc_s.so.1 needs to be included [sysinfo will not run.]
Moderators: jelco, bert_the_turtle, Chris, andy, John
libgcc_s.so.1 needs to be included [sysinfo will not run.]
I'm running Debian 3.0 (Woody), and I'm seeing this:
$ ./sysinfo
./sysinfo: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by ./sysinfo)
I'm running this gcc:
$ cc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
Running 'strings' on libgcc_s.so.1, I see GCC_3.0. (Also GLIBC_2.0 and GLIBC_2.1.3.)
Perhaps I missed the minimum requirements for software levels - is this just a problem with sysinfo, or will I need to upgrade for Darwinia too?
Thanks,
$ ./sysinfo
./sysinfo: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by ./sysinfo)
I'm running this gcc:
$ cc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
Running 'strings' on libgcc_s.so.1, I see GCC_3.0. (Also GLIBC_2.0 and GLIBC_2.1.3.)
Perhaps I missed the minimum requirements for software levels - is this just a problem with sysinfo, or will I need to upgrade for Darwinia too?
Thanks,
-
icarus.lnx
- level0
- Posts: 3
- Joined: Sat Nov 13, 2004 5:39 pm
check if you have /lib/libgcc_s.so.1 or if you even have a libgcc_s.so.1 on your system.
I don't have one there (Gentoo) but I do have /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libgcc_s.so.1 which is obviously version 3.3 (which I know Debian doesn NOT have)
Worse case, you don't have gcc libraries installed, but if that is the case it looks like the darwinia package has this, which you could try dropping in /lib since that's where it's looking (or fumble around with /etc/ld.so.conf if you prefer)
I don't have one there (Gentoo) but I do have /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libgcc_s.so.1 which is obviously version 3.3 (which I know Debian doesn NOT have)
Worse case, you don't have gcc libraries installed, but if that is the case it looks like the darwinia package has this, which you could try dropping in /lib since that's where it's looking (or fumble around with /etc/ld.so.conf if you prefer)
Hi, I'm back.
I'm running Debian Stable = Debian Woody, and I have gcc-3.0 installed already.
Running 'dpkg -L gcc-3.0|grep libgcc' gives
/usr/lib/gcc-lib/i386-linux/3.0.4/libgcc.a
/usr/lib/gcc-lib/i386-linux/3.0.4/libgcc_s.so
and
/usr/lib/gcc-lib/i386-linux/3.0.4/libgcc_s.so -> /lib/libgcc_s.so.1
which is the file in which strings found GCC_3.0 but no GCC_3.3.
I can't get the version from the Darwinia package without the output from this program... :)
Looks like I need the static link version from John. At least if Darwinia contains this file, I shouldn't have this problem with it.
Thanks for your help.
I'm running Debian Stable = Debian Woody, and I have gcc-3.0 installed already.
Running 'dpkg -L gcc-3.0|grep libgcc' gives
/usr/lib/gcc-lib/i386-linux/3.0.4/libgcc.a
/usr/lib/gcc-lib/i386-linux/3.0.4/libgcc_s.so
and
/usr/lib/gcc-lib/i386-linux/3.0.4/libgcc_s.so -> /lib/libgcc_s.so.1
which is the file in which strings found GCC_3.0 but no GCC_3.3.
I can't get the version from the Darwinia package without the output from this program... :)
Looks like I need the static link version from John. At least if Darwinia contains this file, I shouldn't have this problem with it.
Thanks for your help.
Hi
Can you download http://www.darwinia.co.uk/test/libgcc_s.so.1 and pop it in the same directory as sysinfo, then do an export LD_LIBRARY_PATH=that-directory and then try running sysinfo?
Thanks
John
Can you download http://www.darwinia.co.uk/test/libgcc_s.so.1 and pop it in the same directory as sysinfo, then do an export LD_LIBRARY_PATH=that-directory and then try running sysinfo?
Thanks
John
Thanks, that worked perfectly, and I've successfully downloaded the darwinia beta now. However, when I ran the ./darwinia script, it gave me this:
$ ./darwinia
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./darwinia.x86)
./darwinia.x86: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by ./darwinia.x86)
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./libSDL-1.2.so.0)
./darwinia.x86: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by ./libSDL-1.2.so.0)
I tried swapping $here and /lib in a copy of the script:
$ ./darwinia-swap
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./darwinia.x86)
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./libSDL-1.2.so.0)
./darwinia.x86: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by ./libSDL-1.2.so.0)
Running ldd:
$ ldd ./darwinia.x86
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./darwinia.x86)
./darwinia.x86: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by ./darwinia.x86)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x4001f000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x40089000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x400e6000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40163000)
libc.so.6 => /lib/libc.so.6 (0x4016a000)
libm.so.6 => /lib/libm.so.6 (0x40287000)
libpthread.so.0 => /lib/libpthread.so.0 (0x402a8000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402bc000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40396000)
libdl.so.2 => /lib/libdl.so.2 (0x403a3000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x403a7000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40852000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
and trying ldd with $here before /lib:
$ LD_LIBRARY_PATH=. ldd darwinia.x86
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./darwinia.x86)
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./libSDL-1.2.so.0)
./darwinia.x86: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by ./libSDL-1.2.so.0)
libSDL-1.2.so.0 => ./libSDL-1.2.so.0 (0x40014000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x400cf000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x4012b000)
libgcc_s.so.1 => ./libgcc_s.so.1 (0x401a8000)
libc.so.6 => /lib/libc.so.6 (0x401b1000)
libm.so.6 => /lib/libm.so.6 (0x402ce000)
libpthread.so.0 => /lib/libpthread.so.0 (0x402ef000)
libdl.so.2 => /lib/libdl.so.2 (0x40303000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40306000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x403e1000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x403ee000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40899000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Cheers,
Tim
$ ./darwinia
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./darwinia.x86)
./darwinia.x86: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by ./darwinia.x86)
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./libSDL-1.2.so.0)
./darwinia.x86: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by ./libSDL-1.2.so.0)
I tried swapping $here and /lib in a copy of the script:
$ ./darwinia-swap
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./darwinia.x86)
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./libSDL-1.2.so.0)
./darwinia.x86: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by ./libSDL-1.2.so.0)
Running ldd:
$ ldd ./darwinia.x86
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./darwinia.x86)
./darwinia.x86: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by ./darwinia.x86)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x4001f000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x40089000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x400e6000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40163000)
libc.so.6 => /lib/libc.so.6 (0x4016a000)
libm.so.6 => /lib/libm.so.6 (0x40287000)
libpthread.so.0 => /lib/libpthread.so.0 (0x402a8000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402bc000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40396000)
libdl.so.2 => /lib/libdl.so.2 (0x403a3000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x403a7000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40852000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
and trying ldd with $here before /lib:
$ LD_LIBRARY_PATH=. ldd darwinia.x86
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./darwinia.x86)
./darwinia.x86: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./libSDL-1.2.so.0)
./darwinia.x86: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by ./libSDL-1.2.so.0)
libSDL-1.2.so.0 => ./libSDL-1.2.so.0 (0x40014000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x400cf000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x4012b000)
libgcc_s.so.1 => ./libgcc_s.so.1 (0x401a8000)
libc.so.6 => /lib/libc.so.6 (0x401b1000)
libm.so.6 => /lib/libm.so.6 (0x402ce000)
libpthread.so.0 => /lib/libpthread.so.0 (0x402ef000)
libdl.so.2 => /lib/libdl.so.2 (0x40303000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40306000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x403e1000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x403ee000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40899000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Cheers,
Tim
Hi.
The new beta does this:
./lib/darwinia.bin.x86: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Gah. Looks like Debian's Stable really is a bit old.
I tried changing my apt sources.config to include testing/main, to get just libstdc++5, but that threatened to install kernel headers.
I've noticed there's a stdc++.so.5 in OpenOffice:
LD_LIBRARY_PATH=/usr/local/OpenOffice.org1.1.1/program:. lib/darwinia.bin.x86
SDL Version: Compiled against 1.2.8, running with 1.2.8
Creating ResourceManager: 0.6
Creating SoundSystem: 3.4
Creating ClientToServer: 3.4
Initialising SoundSystem : 3.6
Initialising SDL Audio
At this point, the screen goes blank except for the mouse pointer, and nothing happens. I ctl-alt-f1'd to a console and killed it.
The new beta does this:
./lib/darwinia.bin.x86: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Gah. Looks like Debian's Stable really is a bit old.
I tried changing my apt sources.config to include testing/main, to get just libstdc++5, but that threatened to install kernel headers.
I've noticed there's a stdc++.so.5 in OpenOffice:
LD_LIBRARY_PATH=/usr/local/OpenOffice.org1.1.1/program:. lib/darwinia.bin.x86
SDL Version: Compiled against 1.2.8, running with 1.2.8
Creating ResourceManager: 0.6
Creating SoundSystem: 3.4
Creating ClientToServer: 3.4
Initialising SoundSystem : 3.6
Initialising SDL Audio
At this point, the screen goes blank except for the mouse pointer, and nothing happens. I ctl-alt-f1'd to a console and killed it.
I found this on apt-get.org:
http://www.fs.tum.de/~bunk/packages/woody/bunk-1.html
Maybe the libstdc++-5 package will help?
For information, what kernel are you running, what soundcard do you use and what graphics card and drivers?
http://www.fs.tum.de/~bunk/packages/woody/bunk-1.html
Maybe the libstdc++-5 package will help?
For information, what kernel are you running, what soundcard do you use and what graphics card and drivers?
Maybe the libstdc++-5 package will help?
I edited my post a couple of times. I found a libstdc++.so.5 in OpenOffice, so I tried that with the results above. I don't know whether you were responding to an earlier version of my post.
I'll try installing that.
For information, what kernel are you running, what soundcard do you use and what graphics card and drivers?
Kernel 2.4.18 - the highest standard kernel for Debian/Woody (as far as I know).
I'm not sure what the sound card is off-hand... SonicFury? Here's what the kernel thinks:
Code: Select all
Jan 3 12:09:28 cardinal kernel: Crystal 4280/46xx + AC97 Audio, version 1.28.32, 01:40:19 Apr 24 2004
Jan 3 12:09:28 cardinal kernel: cs46xx: Card found at 0xdbfee000 and 0xdbe00000, IRQ 17
Jan 3 12:09:28 cardinal kernel: cs46xx: Voyetra (5053:3357) at 0xdbfee000/0xdbe00000, IRQ 17
The graphics card is an NVidia G4Ti4200-dt64, and I'm using the NVidia drivers (from the NVidia website).
The sysinfo tool reports an old PCI graphics card that I haven't removed, but which I don't use - is that a problem?
Hi.
ScreenWindowed=1 meant I could kill the program without having to switch into a text console - yay - but it behaved a little oddly: ^C did nothing, ^Z made it say 'Fatal signal: Keyboard Quit (SDL Parachute Deployed)' but I still had to kill %% it.
SoundMixFreq = 48000 didn't improve matters, sadly, it still hung at 'Initialisng SDL Audio':
I didn't see a blackbox file.
On the good side, I thought to run strace -o /tmp/darwinia.strace -ff ./darwinia:
I've uploaded these to http://www.baverstock.org.uk/tim/darwin ... inia-1.tgz in case that's useful.
ScreenWindowed=1 meant I could kill the program without having to switch into a text console - yay - but it behaved a little oddly: ^C did nothing, ^Z made it say 'Fatal signal: Keyboard Quit (SDL Parachute Deployed)' but I still had to kill %% it.
SoundMixFreq = 48000 didn't improve matters, sadly, it still hung at 'Initialisng SDL Audio':
Code: Select all
$ diff ~/.darwinia/demo/preferences.txt*
9c9
< SoundMixFreq = 48000
---
> SoundMixFreq = 22050
17c17
< ScreenWindowed = 1
---
> ScreenWindowed = 0
$ ./darwinia
SDL Version: Compiled against 1.2.8, running with 1.2.8
Creating ResourceManager: 0.6
Creating SoundSystem: 3.3
Creating ClientToServer: 3.3
Initialising SoundSystem : 3.5
Initialising SDL Audio
Fatal signal: Keyboard Quit (SDL Parachute Deployed)
[1]+ Stopped ./darwinia
warwick@cardinal:~/darwinia/darwinia$ fg
./darwinia
^K
[1]+ Stopped ./darwinia
warwick@cardinal:~/darwinia/darwinia$ kill %%
[1]+ Stopped ./darwinia
warwick@cardinal:~/darwinia/darwinia$
[1]+ Terminated ./darwinia
warwick@cardinal:~/darwinia/darwinia$
I didn't see a blackbox file.
On the good side, I thought to run strace -o /tmp/darwinia.strace -ff ./darwinia:
Code: Select all
warwick@cardinal:~/darwinia/darwinia$ strace -o /tmp/darwinia.strace -ff ./darwinia
Process 1584 attached
Process 1584 detached
Process 1585 attached
Process 1583 suspended
SDL Version: Compiled against 1.2.8, running with 1.2.8
Creating ResourceManager: 0.5
Creating SoundSystem: 1.4
Creating ClientToServer: 1.4
Initialising SoundSystem : 1.6
Initialising SDL Audio
Process 1588 attached
Process 1589 attached
[2]+ Stopped strace -o /tmp/darwinia.strace -ff ./darwinia
warwick@cardinal:~/darwinia/darwinia$ kill %%
[2]+ Stopped strace -o /tmp/darwinia.strace -ff ./darwinia
warwick@cardinal:~/darwinia/darwinia$ Process 1583 resumed
Process 1585 detached
Process 1589 detached
Process 1588 suspended
I've uploaded these to http://www.baverstock.org.uk/tim/darwin ... inia-1.tgz in case that's useful.
Thanks for the tests. We should eliminate the possibility of it being the sound drivers. Can you try with ALSA or with the disk-writer driver as below:
ALSA:
You will need to set the environment variable SDL_AUDIODRIVER
export SDL_AUDIODRIVER=alsa
DISK-WRITER (dev/null):
An alternative is to try the disk-audio-writer for /dev/null.
export SDL_AUDIODRIVER=disk
export SDL_DISKAUDIOFILE=/dev/null
Let me know if it still hangs
Thanks
ALSA:
You will need to set the environment variable SDL_AUDIODRIVER
export SDL_AUDIODRIVER=alsa
DISK-WRITER (dev/null):
An alternative is to try the disk-audio-writer for /dev/null.
export SDL_AUDIODRIVER=disk
export SDL_DISKAUDIOFILE=/dev/null
Let me know if it still hangs
Thanks
Who is online
Users browsing this forum: No registered users and 2 guests




