LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   'HELP'... problem with GLIBC-2.3.4 installation (https://www.linuxquestions.org/questions/linux-newbie-8/help-problem-with-glibc-2-3-4-installation-736336/)

mpk1988 06-29-2009 03:19 AM

'HELP'... problem with GLIBC-2.3.4 installation
 
Hi,
Am new to linux and am using it basically for some simulation n computation purposes..

Recently I successfully installed a VLSI designing software Alliance 5.0 2007..

After the installation I found out that a particular tool NERO was not working and gave the following error-

nero: /lib/i686/libc.so.6: version 'GLIBC_2.3.4' not found (required by nero)

so i decided to install GLIBC_2.3.4
downloaded the tar version, extracted it and ran configure..

2 warnings pop up
one is not to install in /usr/local as it can make ur system unusable n also to whether i wanted to enable or disable linuxthreads.
If i chose to ignore then I was to type
-
configure --disable-sanity-checks

then it runs smoothly till I hit the following error
=
bla, bla, bla, ....
-I../sysdeps/generic/elf -I../sysdeps/generic -I /lib/modules/2.4.21-251-smp/build/include -include ../include/libc-symbols.h -o /home/daniel/glibc/glibc-build/assert/assert.o -MD -MP -MF /home/daniel/glibc/glibc-build/assert/assert.o.dt
In file included from ../include/pthread.h:1,
from ../sysdeps/unix/sysv/linux/fatal-prepare.h:19,
from assert.c:42:
/usr/include/pthread.h:163: parse error before '*' token
/usr/include/pthread.h:165: `pthread_create' declared as function returning a function
/usr/include/pthread.h:166: parse error before "void"
/usr/include/pthread.h:169: parse error before "pthread_self"
/usr/include/pthread.h:172: parse error before "__thread1"
/usr/include/pthread.h:181: parse error before "__th"
/usr/include/pthread.h:187: parse error before "__th"
/usr/include/pthread.h:195: parse error before '*' token
/usr/include/pthread.h:198: parse error before '*' token
/usr/include/pthread.h:201: parse error before '*' token
/usr/include/pthread.h:205: parse error before '*' token
.... and continues

so i downloaded the appropriate glibc linuxthreads_2.3.4, unzipped em , added em to the glibc directory den typed

configure --prefix=/usr/local/glibc2 --enable-add-ons=linuxthreads

well....

it does the trick , n no warnings this time

so I type make

n then it starts doing everything perfectly till it finally pops up with the error=

--bla--bla bla
/root/Desktop/glibc_2.3.4/build/linuxthreads/libpthread.so]: In
function `pthread_initialize':
pthread.c: undefined reference to `_res'
/root/Desktop/glibc_2.3.4/build/linuxthreads/libpthread.so]: In
function `__pthread_reset_main_thread':
pthread.c: undefined reference to `_errno'
/root/Desktop/glibc_2.3.4/build/linuxthreads/libpthread.so]:pthread.c:
undefined referenceto `_h_errno'
/root/Desktop/glibc_2.3.4/build/linuxthreads/libpthread.so]:pthread.c:
undefined referenceto `_res'
/root/Desktop/glibc_2.3.4/build/linuxthreads/libpthread.so]:
undefined reference to `_errno'
/root/Desktop/glibc_2.3.4/build/linuxthreads/libpthread.so]:
undefined reference to `_h_errno'
/root/Desktop/glibc_2.3.4/build/linuxthreads/libpthread.so]:
undefined reference to `_res'
collect2: ld returned 1 exit status
make[2]: *** [/root/Desktop/glibc_2.3.4/build/linuxthreads/libpthread.so] Error 1
make[2]: Leaving directory `/root/Desktop/glibc_2.3.4/linuxthreads'

someone please help..
I heve been at this for days n looked at some suggestions at other places, but none help
in dire state

Thank you in advance

MANU

masand 06-29-2009 07:02 AM

hi MANU,

What Linux OS you are using ?
I would recommend that you install the required packages from the packages provided in the Linux OS CD/DVD.
GLIBC will have a lot of dependencies and it would take good amount of effort to download the sources and install the dependencies, so install the pre-compiled packages provided with your Linux OS CD/DVD or through some online repository.

regards

linuxlover.chaitanya 06-29-2009 07:13 AM

Yes, the best way is to install it through the package manager of your distribution. I suggest not to tinker with glibc. It can as error says make your system unstable and at times completely break it and make it unusable.

knudfl 06-29-2009 07:35 AM

The 'Nero' for Linux is nothing like the Nero
for windows, and probably not at all any effort
worth installing.
Changing the 'GLIBC' may trash your system,
not to be usable ever again.

Better tools than "Nero for Linux" are available
for cd / DVD burning. ( I prefer k3b.)
.....

mpk1988 07-01-2009 06:51 AM

Thnx a lot guys... but the fact is the sys is really old n pretty much f***ed n i dont have the installation Cd's/DVD's.. :(.. SCREWED... I kno.. but i got to get this thing done
oh yeah.. I have SUSE 9.0.. n if I was not clear I am not talkin abt NER the DVD burner.. am referrin to a cell router- a tool under ALLIANCE set of VLSI design tools..

.. n i dont think the sys would be under any trouble coz i'll b istallin the stuff not where the main libs are present.. twill b at a temp location like /usr/local/glibc... or so.. then i dnt think it'll harm the sys.. besides i'll rename the include folder to make it completely safe..

:(.. hope u guys r able to find a solution.. stuck at a number o probs coz o this crap..

.. again.. help guys..

knudfl 07-03-2009 12:23 AM

Suse 9.0 ... OK.

Not really any update available for glibc.

masand 07-06-2009 03:31 AM

Quote:

Originally Posted by mpk1988 (Post 3592818)
Thnx a lot guys... but the fact is the sys is really old n pretty much f***ed n i dont have the installation Cd's/DVD's.. :(.. SCREWED... I kno.. but i got to get this thing done
oh yeah.. I have SUSE 9.0.. n if I was not clear I am not talkin abt NER the DVD burner.. am referrin to a cell router- a tool under ALLIANCE set of VLSI design tools..

.. n i dont think the sys would be under any trouble coz i'll b istallin the stuff not where the main libs are present.. twill b at a temp location like /usr/local/glibc... or so.. then i dnt think it'll harm the sys.. besides i'll rename the include folder to make it completely safe..

:(.. hope u guys r able to find a solution.. stuck at a number o probs coz o this crap..

.. again.. help guys..

hi there

If are looking to install pre-compile RPMs try this

Do you an internet connection on this box?
if Yes, start yast/yast2 and configure suse9.0 repo and install packages
Or go to any repo like
rpm.pbone.net
and search for Suse 9.0 RPMS

The problem with compiling thelibs is that you need to get the compatible version of various dependent packages with GLIBC_2.3.4 like GCC compiler and other libs

regards


All times are GMT -5. The time now is 02:10 PM.