12-28-2010
Quote:
Originally Posted by
fpmurphy
That sounds like you are running a very old version of Ubuntu. Why not upgrade to a more recent version? For example, Gutsy uses glibc 2.6.
i am using Ubuntu 10.10
- the Maverick Meerkat - released in October 2010
how do u say it is old : help!!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Advanced & Expert Users
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
3. Programming
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
4. UNIX for Dummies Questions & Answers
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
5. UNIX for Dummies Questions & Answers
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. UNIX for Dummies Questions & Answers
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
7. UNIX for Advanced & Expert Users
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
8. UNIX for Dummies Questions & Answers
Hello,
I currently have glibc 2.13. I was wondering if you could teach me how to switch to : glibc2.3.2
I would really appreciate it if you tell me how to do it step by step since I am a beginner .
thanks. (1 Reply)
Discussion started by: alireza6485
1 Replies
9. SuSE
Hi,
I am trying to install OpenFT and got the following message:
usmlva0001tsrv:/mnt/iso/linuxi64 # ./install.all
error: Failed dependencies:
libc.so.6.1()(64bit) is needed by PCMX-6.0A90-05.ia64
libc.so.6.1(GLIBC_2.2)(64bit) is needed by PCMX-6.0A90-05.ia64... (1 Reply)
Discussion started by: 300zxmuro
1 Replies
10. UNIX and Linux Applications
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? (8 Replies)
Discussion started by: rupeshkp728
8 Replies
PUTENV(3) Linux Programmer's Manual PUTENV(3)
NAME
putenv - change or add an environment variable
SYNOPSIS
#include <stdlib.h>
int putenv(char *string);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
putenv(): _SVID_SOURCE || _XOPEN_SOURCE
DESCRIPTION
The putenv() function adds or changes the value of environment variables. The argument string is of the form name=value. If name does not
already exist in the environment, then string is added to the environment. If name does exist, then the value of name in the environment
is changed to value. The string pointed to by string becomes part of the environment, so altering the string changes the environment.
RETURN VALUE
The putenv() function returns zero on success, or nonzero if an error occurs.
ERRORS
ENOMEM Insufficient space to allocate new environment.
CONFORMING TO
SVr4, POSIX.1-2001, 4.3BSD.
NOTES
The putenv() function is not required to be reentrant, and the one in libc4, libc5 and glibc 2.0 is not, but the glibc 2.1 version is.
Description for libc4, libc5, glibc: If the argument string is of the form name, and does not contain an '=' character, then the variable
name is removed from the environment. If putenv() has to allocate a new array environ, and the previous array was also allocated by
putenv(), then it will be freed. In no case will the old storage associated to the environment variable itself be freed.
The libc4 and libc5 and glibc 2.1.2 versions conform to SUSv2: the pointer string given to putenv() is used. In particular, this string
becomes part of the environment; changing it later will change the environment. (Thus, it is an error is to call putenv() with an auto-
matic variable as the argument, then return from the calling function while string is still part of the environment.) However, glibc
2.0-2.1.1 differs: a copy of the string is used. On the one hand this causes a memory leak, and on the other hand it violates SUSv2. This
has been fixed in glibc 2.1.2.
The 4.4BSD version, like glibc 2.0, uses a copy.
SUSv2 removes the const from the prototype, and so does glibc 2.1.3.
SEE ALSO
clearenv(3), getenv(3), setenv(3), unsetenv(3), environ(7)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU
2007-07-26 PUTENV(3)