You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys! I tried to use Ubuntu system TZ DB for an app on date.h (built without curl support - Manual_TZ_DB=ON)
But after start my simple app I see a coredump and error message "Can not find version for TZ DB"
I tried to copy the version file from downloaded IANA TZ DB to Linux path: "/usr/share/zoneinfo"
but after that I had a coredump anyway with an error message: Can not find TimeZone - America/New_York (my app uses it just as an example).
So the question: Can we use somehow system Ubuntu's TZ DB instead of downloading TZ DB from IANA web site? or are they incompatible? Thank you for your time and reply anyway.
The text was updated successfully, but these errors were encountered:
nirvikalpa7
changed the title
An app does not work on date.h (Build Manual_TZ_DB=ON + install config string = "/usr/share/zoneinfo" on Ubuntu 22/24)
Looks like date.h does not work with Ubuntu's system TZ DB (Build Manual_TZ_DB=ON + install string = "/usr/share/zoneinfo" on Ubuntu)
Nov 19, 2024
If you have gcc-14 and C++20 available, using std::chrono should be your first choice. Otherwise I do not recommend using CMake unless you are an expert at it.
Hi guys! I tried to use Ubuntu system TZ DB for an app on date.h (built without curl support - Manual_TZ_DB=ON)
But after start my simple app I see a coredump and error message "Can not find version for TZ DB"
I tried to copy the version file from downloaded IANA TZ DB to Linux path: "/usr/share/zoneinfo"
but after that I had a coredump anyway with an error message: Can not find TimeZone - America/New_York (my app uses it just as an example).
So the question: Can we use somehow system Ubuntu's TZ DB instead of downloading TZ DB from IANA web site? or are they incompatible? Thank you for your time and reply anyway.
The text was updated successfully, but these errors were encountered: