LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2009, 04:19 AM   #1
mpk1988
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
'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]thread.c:
undefined referenceto `_h_errno'
/root/Desktop/glibc_2.3.4/build/linuxthreads/libpthread.so]thread.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
 
Old 06-29-2009, 08:02 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
Old 06-29-2009, 08:13 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
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.
 
Old 06-29-2009, 08:35 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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.)
.....
 
Old 07-01-2009, 07:51 AM   #5
mpk1988
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
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..
 
Old 07-03-2009, 01:23 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Suse 9.0 ... OK.

Not really any update available for glibc.

Last edited by knudfl; 07-04-2009 at 02:46 PM.
 
Old 07-06-2009, 04:31 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
Quote:
Originally Posted by mpk1988 View Post
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
 
  


Reply

Tags
pthread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 04:22 PM
Need help with glibc installation meo_beo Linux - Software 3 01-16-2009 02:44 AM
Glibc 2.4 installation in Slackware 11 irfanhab Slackware 4 11-11-2006 11:50 PM
glibc 2.2 installation on RHEL kars_jk Red Hat 4 01-20-2006 06:19 AM
glibc 2.3 installation pneumatix Linux - Newbie 2 04-20-2004 05:03 PM


All times are GMT -5. The time now is 08:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration