diff --git a/lib/config.cpp b/lib/config.cpp
index 99b1503a..09361779 100644
--- a/lib/config.cpp
+++ b/lib/config.cpp
@@ -23,6 +23,7 @@
 #include <fstream>
 
 bool Util::Config::is_active = false;
+std::string Util::Config::libver = PACKAGE_VERSION;
 
 /// Creates a new configuration manager.
 Util::Config::Config(std::string cmd, std::string version){
diff --git a/lib/config.h b/lib/config.h
index 4ae72c40..099c9685 100644
--- a/lib/config.h
+++ b/lib/config.h
@@ -16,6 +16,7 @@ namespace Util{
       static void signal_handler(int signum);
     public:
       //variables
+      static std::string libver; ///< Version number of the library as a string.
       static bool is_active; ///< Set to true by activate(), set to false by the signal handler.
       //functions
       Config(std::string cmd, std::string version);