LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   GLIBC 2.4 in Debian 4.0 (https://www.linuxquestions.org/questions/debian-26/glibc-2-4-in-debian-4-0-a-668781/)

posix_memalign 09-09-2008 06:38 PM

GLIBC 2.4 in Debian 4.0
 
I need >= GLIBC 2.4 in Debian 4.0, this is needed in order to run e.g. OpenArena 0.8.
However, the latest version available in Debian Etch through apt is 2.3.6, how do I solve this issue?

Valery Reznic 09-10-2008 02:24 AM

Quote:

Originally Posted by posix_memalign (Post 3275152)
I need >= GLIBC 2.4 in Debian 4.0, this is needed in order to run e.g. OpenArena 0.8.
However, the latest version available in Debian Etch through apt is 2.3.6, how do I solve this issue?

You can install glibc >= 2.4 somewhere in the system let's say in directory
/OpenArena.
Then run OpenArena as
LD_LIBRARY_PATH=/OpenArene OpenArena.

Or you can on another box, which has needed glibc install OpenArena,
pack it using Ermine (http://magicErmine.com) or staifier (http://statifier.sf.net)
and then copy packed executable to your Debian box. Packed executable will have all needed libraries embedded, so virtually it has no dependencies.

fhleung 09-13-2008 11:00 AM

Can not find version 2.4 but

Package libstdc++2.10-glibc2.2
* etch (stable) (libs): The GNU stdc++ library


http://www.debian.org/distrib/packages#search_packages

posix_memalign 10-08-2008 02:16 PM

When I attempt to compile glibc 2.4 or glibc 2.7 I get the following errors:

Prior to the errors I have unpacked, created the directory "build" from which I execute the configure script with --prefix=/opt/glibc as argument.
Then I do "make 2> errors.log" and get the following errors in errors.log:

Code:

mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd ...
mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd ...
make[1]: *** No rule to make target `/home/foo/temp_install/glibc-2.4/build/Versions.all', needed by `/home/foo/temp_install/glibc-2.4/build/abi-versions.h'.  Stop.
make: *** [all] Error 2


posix_memalign 10-08-2008 02:50 PM

Never mind, I corrected the bad use of regex in the script.

posix_memalign 10-08-2008 02:52 PM

However, even with the environment variable LD_LIBRARY_PATH=/opt/glibc240 when I execute openarena I get:

Code:

x86-1$ ./openarena.i386
./openarena.i386: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./openarena.i386)
x86-1$ echo $LD_LIBRARY_PATH
/opt/glibc240/
x86-1$

Any ideas?

Total-MAdMaN 10-08-2008 02:59 PM

Did you run ldconfig after installing glibc? You might also want to add the directory to /etc/ld.so.conf

posix_memalign 10-09-2008 08:07 AM

Quote:

Originally Posted by Total-MAdMaN (Post 3304434)
Did you run ldconfig after installing glibc? You might also want to add the directory to /etc/ld.so.conf

Yes, unfortunately I've tried that as well, it doesn't seem to do anything at all.

posix_memalign 10-15-2008 11:27 AM

What if I merely compile and install the glibc manually, and overwrite the old (Debian package-based) system wide glibc-install? Will that correct the issue, or will it cause hell with Debian's package manager/system?


All times are GMT -5. The time now is 06:22 PM.