Install glibc-debug for glibc-2.11.3-17.31.1 on SLES 11

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Install glibc-debug for glibc-2.11.3-17.31.1 on SLES 11
# 1  
Old 03-12-2013
Install glibc-debug for glibc-2.11.3-17.31.1 on SLES 11

I have to debug a function getopt_long in glibc-2.11.3-17.31.1.
For that how can I download and install its corresponding glibc-debug on SLES 11?
# 2  
Old 03-12-2013
You'll have to compile the source with debug symbols.
Once you download the tarball; un-tar the same and then do the following (inside the source directory which produces post un-tar -Run the following):

1)
./configure

2)
make

3)
make_install
This User Gave Thanks to Praveen_218 For This Post:
# 3  
Old 03-12-2013
Thanks praveen for the reply.
I am sorry if I am not clear but my question was from which site and how can I download the corresponding glibc-debug and glibc source for glibc-2.11.3-17.31.1 for SLES 11?

---------- Post updated at 09:34 PM ---------- Previous update was at 08:52 PM ----------

Will glibc source from GNU Project Archives be useful for SLES 11?
# 4  
Old 03-12-2013
If getopt_long is crashing, it's quite probably because you've given it bad values, not because something's buggy inside it. Look at the values you give it carefully.
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 03-12-2013
sure corona.
I did not find any issue with the passed inputs.
But I will check it.
# 6  
Old 03-12-2013
Dunno what OS, but in Solaris you can truss to see calls using -u'*'. Can strace do that? I don't think tusc can.
This User Gave Thanks to DGPickett For This Post:
# 7  
Old 03-12-2013
I am using suse linux enterprise server.
strace was not of much help.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Trying to install glibc-common 686 on a x64 system

Hi, I hoping someone can help me. I am running a 64 bit RH 6.5 Server, and have to install glibc.686 for a Symantec package I need to install. A prerequisite for glibc.686 is glibc-common. I'm trying to install this manually, as it's not on our local repository, but when I try, I get the... (1 Reply)
Discussion started by: badoshi
1 Replies

2. Programming

Hidden strcmp in glibc

In glibc in file strcmp I see a definition of strcmp function and below it there is a macro "libc_hidden_builtin_def (strcmp)". This macro "libc_hidden_builtin_def (strcmp)" looks to be defining some platform(x32-64, i386) specific implementation of strcmp. Question is when is this... (7 Replies)
Discussion started by: rupeshkp728
7 Replies

3. UNIX for Advanced & Expert Users

got error when install glibc

hi all, i am play LFS recently. but i can not go on for a an error when install glibc. here is the error log: if test -r /usr/include/gnu/stubs-32.h && cmp -s /mnt/lfs/sources/glibc-build/stubs.h /usr/include/gnu/stubs-32.h; \ then echo 'stubs.h unchanged'; \ else /usr/bin/install -c... (1 Reply)
Discussion started by: arnold.king
1 Replies

4. UNIX for Dummies Questions & Answers

Help installing GLIBC on SuSe 11.

I need help updating the glibc in my suse box. I have no clue how to do this and I am afraid of breaking this box. Can someone please give me some direction? Thanks! (2 Replies)
Discussion started by: OptimusPrime1
2 Replies

5. UNIX for Dummies Questions & Answers

locale and glibc and charset

what's the relationship among locale, glibc, charset, charmap and fonts? why locale needs to be generated by glibc? how? what are in the locale-archive file? and what are in font files? (0 Replies)
Discussion started by: vistastar
0 Replies

6. Ubuntu

glibc version

I need glibc version 2.2 - 2.11 for a installation. but i got glibc 2.0-2.1 from software centre... what to do? can u help? (8 Replies)
Discussion started by: paramad
8 Replies

7. UNIX for Dummies Questions & Answers

message about glibc

Hi I have a strange phenomenon on putty session connected to RHEL4 server. My session is active but without any activity for 2 or 3 hours and suddenly this message appears on the prompt : $ *** glibc detected *** free(): invalid pointer: 0xb66e0d50 *** Could you have an idea about it ? (2 Replies)
Discussion started by: madmat
2 Replies

8. Programming

glibc error

Hi All, This is my first time posting on this forum. I'd like to participate actively on this list. Here we go! I'm making a little application and I'm using ncurses. After a while using it, I receive the following error and the stack trace is shown: ***glibc detected*** malloc() :... (6 Replies)
Discussion started by: lagigliaivan
6 Replies

9. UNIX for Advanced & Expert Users

install glibc-2.6.1

Hi, I have downloaded glibc-2.6.1.tar.tar. But I do not know how to install it on Xubuntu. Do you know ? Thank you. (4 Replies)
Discussion started by: big123456
4 Replies

10. UNIX for Dummies Questions & Answers

glibc 2.2.2

After installing glibc 2.2.2 on my redhat 6.1 (with all necessary updates). I try to restart but my compter say i do not existst like you deleted root account and you are root. (i have seen people doing that ;-P ). I run configure with these command --bindir=/bin --sbindir=/sbin --libdir=/lib... (1 Reply)
Discussion started by: jurrien
1 Replies
Login or Register to Ask a Question