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
Would be nice if I could somehow get the collector to work. I would be grateful for any help!
For the last few years I had it running on a Centos 7 system - there I was able to compile it without any problems ... But in the meantime the old server was getting on in years and so I installed a more up-to-date operating system.
Best regards,
Andreas
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to compile the Collector on a RHEL 8 system, but I run into an error:
g++ -o collectord main.o IoHandler.o SerialHandler.o SendingSerialHandler.o TcpHandler.o CommandHandler.o ApiCommandParser.o CommandScheduler.o DataHandler.o EmsMessage.o ValueApi.o ValueCache.o Options.o PidFile.o Database.o -lpthread -lboost_system -lboost_program_options -lmysqlpp Database.o: In Funktion »Database::connect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)«: Database.cpp:(.text+0x7546): Warnung: undefinierter Verweis auf »mysqlpp::Connection::select_db(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)« Database.o: In Funktion »Database::connect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .cold.446]«: Database.cpp:(.text.unlikely+0x105c): Warnung: undefinierter Verweis auf »mysqlpp::Connection::create_db(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)« Database.cpp:(.text.unlikely+0x1094): Warnung: undefinierter Verweis auf »mysqlpp::Connection::select_db(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)« Database.o: In Funktion »std::ostream& operator<< <mysqlpp::quote_type0>(std::ostream&, StateSensorValue_value_list<mysqlpp::quote_type0> const&)«: Database.cpp:(.text._ZlsIN7mysqlpp11quote_type0EERSoS2_RK27StateSensorValue_value_listIT_E[_ZlsIN7mysqlpp11quote_type0EERSoS2_RK27StateSensorValue_value_listIT_E]+0x70): Warnung: undefinierter Verweis auf »mysqlpp::SQLTypeAdapter::SQLTypeAdapter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)« collect2: Fehler: ld gab 1 als Ende-Status zurück make: *** [Makefile:48: collectord] Fehler 1
Unfortunately, I'm not a programmer, so I don't have that much experience.
The mysql++ and mysql++-devel packages are installed:
root@monitoring /opt/ems-collector/collector # dnf list installed | grep mysql
mysql++.x86_64 3.1.0-12.el7 @System
mysql++-devel.x86_64 3.1.0-12.el7 @System
mysql-common.x86_64 8.0.26-1.module+el8.4.0+12359+b8928c02 @rhel-8-for-x86_64-appstream-rpms
mysql-community-client-plugins.x86_64 8.0.27-1.el8 @System
mysql-community-common.x86_64 8.0.27-1.el8 @System
mysql-community-libs.x86_64 8.0.27-1.el8 @System
mysql-connector-c++.x86_64 8.0.12-1.el7 @System
mysql-devel.x86_64 8.0.26-1.module+el8.4.0+12359+b8928c02 @rhel-8-for-x86_64-appstream-rpms
Would be nice if I could somehow get the collector to work. I would be grateful for any help!
For the last few years I had it running on a Centos 7 system - there I was able to compile it without any problems ... But in the meantime the old server was getting on in years and so I installed a more up-to-date operating system.
Best regards,
Andreas
The text was updated successfully, but these errors were encountered: