LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-04-2013, 04:09 AM   #1
ankit3jain41
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Rep: Reputation: 0
unable to set local time zone after updating to glibc-2.31.0 on centOS6.4


Hello guys,

I am using centOS 6.4(32bit) on normal Intel Core 3rd gen i5 grade PC with normal setup.

I am trying to use Blackfly IP camera sdk on it, which require minimum version of glibc(GLIBCXX_3.4.15) whereas CentOS 6.4 has only GLIBCXX_3.4.12. It need to compile couple of other Software( like gcc, glibmm etc) also. I have install all software in non standard path using --perfix option. And I am able to use Blackfly SDK with it.

Now problem is after exporting LD_LIBRARY_PATH, some of the system command start giving me seg faults(cause of different Glibc's lib) and not able to set proper time zone. Because of which date time appear in log file without GMT standard. and when run date command, output is like below,

Wed Sep 3 15:59:56 Local time zone must be set--see zic manual page 2013

Also tried to search on google, but hard luck, not able to get any working solution.

Kindly suggest.

Thanks in advance


It costs 38 Trillion dollars to create OXYGEN for 6 months for all Human beings on earth. "TREES DO IT FOR FREE" "Respect them and Save them"
 
Old 09-04-2013, 06:49 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.
Quote:
unable to set local time zone after updating to glibc-2.31.0
First : Glibc is your OS ( together with the kernel ),
and can not be changed. And: There is no such thing as glibc-2.31.0 .

Secondly, "GLIBCXX" has nothing to do with glibc :
GLIBCXX means gnu...libc++, and is `libstdc++' !


Changing libstdc++ to a later version, example ..
http://packages.debian.org/wheezy/libstdc++6
http://ftp.de.debian.org/debian/pool...7.2-5_i386.deb
You can plug out libstdc++.so.6.0.17 from libstdc++6_4.7.2-4_i386.deb.
( $ ar -x libstdc++6_4.7.2-4_i386.deb ; $ tar xvf data.tar.gz ).

# cp libstdc++.so.6.0.17 /usr/lib/
# cd /usr/lib/
# rm libstdc++.so.6
# ln -s libstdc++.so.6.0.17 libstdc++.so.6

-

Last edited by knudfl; 09-04-2013 at 06:56 AM.
 
Old 09-04-2013, 08:15 AM   #3
ankit3jain41
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your quick response,

1.glibc-2.31.0 is a source package name for glibc. As far I was able to locate on google, libstdc++ is now part of Glibc and I was not able to find its source.

2. I have tried your suggested way, but it was not working in my case.


Once again thanks for your reply.

Last edited by ankit3jain41; 09-04-2013 at 08:16 AM. Reason: by mistake hit enter
 
Old 09-04-2013, 09:38 AM   #4
ankit3jain41
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Original Poster
Rep: Reputation: 0
My mistake libstdc++ is now part of GCC not glibc.

But I was required new version of Glibc that's why only I have updated it.
 
Old 09-04-2013, 09:52 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 4 .

If you changed glibc : Do not expect your OS to work fully.
If you mean glib-2.31.0 : Some gtk applications (Gnome, etc.) will probably fail.
 
Old 09-07-2013, 12:57 AM   #6
ankit3jain41
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Dear All,

Thanks for your Replies,

Actually that SDK require lot of update packages and one of the dependency require updated glibc at compile time, so had to compile that and exported it at run time also which start creating problem.

But after removing its path from LD_LIBRARY_PATH at run time, my problem resolved it is not asking for glibc for run time.

My fault , once again thanks to all of you.
 
  


Reply

Tags
glibcxx



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
Local time zone must be set--see zic manual page Mig21 Slackware 2 02-11-2011 10:34 AM
Time skew of 580 min when I set my time zone in Gentoo scooter2 Linux - Newbie 1 03-05-2009 10:27 AM
Local time zone must be set - zic simopal6 Linux - Software 1 09-15-2007 06:38 AM
Cannot set time/date to other time zone than UTC (Kubuntu) jamangold Ubuntu 1 12-23-2005 05:42 PM
Local Time zone must be set ?? satanic_linux Slackware 2 02-08-2004 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 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
Open Source Consulting | Domain Registration