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" |
Welcome to LQ.
Quote:
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 - |
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. |
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. |
# 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. |
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. |
All times are GMT -5. The time now is 03:50 PM. |