УкраїнськаEnglishmRussian
Вход/Новый
В теме нет новых постов

RHEL 8.2 - building and installing openscada from source


Автор Сообщение
Сообщение создано: 20. 07. 2022 [10:55]
thomas
Thomas Vetter
Создатель темы
Зарегистрирован(а) с: 19.07.2022
Сообщения: 1
Hello,

I have build openscada from source on RHEL 8.2 with "configure --disable-PostgreSQL --disable-FireBird --disable-SoundCard".

When I start openscada after installation from cmdline the following error appears:

2022-07-20T03:34:40 3[/sub_ModSched/] Anfangsstation > Module Scheduler: Fehler SO '/usr/lib/openscada/ui_QTStarter.so': /usr/lib/openscada/ui_QTStarter.so: undefined symbol: _ZTVN9QTStarter11StartDialogE

I can't find the undefined symbol in the sources. Maybe it's an internal qt problem. I have installed the following qt5 packages:

[root@openscada openscada_installation]# rpm -qa | grep qt5
qt5-qtbase-common-5.12.5-4.el8.noarch
qt5-qtbase-devel-5.12.5-4.el8.x86_64
qt5-qtbase-5.12.5-4.el8.x86_64
qt5-qtdeclarative-5.12.5-1.el8.x86_64
qt5-qtsensors-devel-5.12.5-1.el8.x86_64
qt5-qtsensors-5.12.5-1.el8.x86_64
qt5-srpm-macros-5.12.5-3.el8.noarch
qt5-qtbase-gui-5.12.5-4.el8.x86_64
qt5-rpm-macros-5.12.5-3.el8.noarch

Any Idea about the reason for the problem ?

Here are some additional information:


./configure --disable-PostgreSQL --disable-FireBird --disable-SoundCard

============ Final configuration results ==============
* Status:
- To enable (yes), to include/builtin (incl), for a distributive (dist), to disable (no) all modules = individual
- Cross compilation = no
- The core library compilation only in static = no
* Generic features:
- Strings charset encode support (by iconv) = yes
- Interfaces internationalisation (I18N) support (by LibIntl) = yes
- LibGD forcing for the core and the modules = no
- Compilation modules of the sunsystems:
"DB": SQLite MySQL DBF DBGate
"DAQ": JavaLikeCalc LogicLev BlockCalc DAQGate System ModBus DCON OPC_UA SNMP Siemens AMRDevs
"Archive": FSArch DBArch
"Transport": Sockets Serial SSL
"Transport's protocol": SelfSystem UserProtocol HTTP
"UI": VCAEngine QTStarter QTCfg Vision WebCfg WebCfgD WebVision WebUser
"Special": FLibSYS SystemTests FLibMath FLibComplex1
- Including/builtin modules to the OpenSCADA core:
* Features of some specific modules:
- FFTW3 to obtain spectrum of signal:
- Library of the Linux sensors: -lsensors
- Web-browser's engine WebKit:
- Media player's engine:

[root@openscada ~]# openscada
2022-07-20T03:34:40 1[/] Anfangsstation: Laden.
2022-07-20T03:34:40 1[/sub_BD/] Anfangsstation > Datenbank: Modul 'SQLite' Verbindung.
2022-07-20T03:34:40 1[/sub_BD/] Anfangsstation > Datenbank: Modul 'MySQL' Verbindung.
2022-07-20T03:34:40 1[/sub_BD/] Anfangsstation > Datenbank: Modul 'DBF' Verbindung.
2022-07-20T03:34:40 1[/sub_BD/] Anfangsstation > Datenbank: Modul 'DBGate' Verbindung.
2022-07-20T03:34:40 1[/sub_DAQ/] Anfangsstation > Datenerfassung: Modul 'JavaLikeCalc' Verbindung.
2022-07-20T03:34:40 1[/sub_DAQ/] Anfangsstation > Datenerfassung: Modul 'LogicLev' Verbindung.
2022-07-20T03:34:40 1[/sub_DAQ/] Anfangsstation > Datenerfassung: Modul 'BlockCalc' Verbindung.
2022-07-20T03:34:40 1[/sub_DAQ/] Anfangsstation > Datenerfassung: Modul 'DAQGate' Verbindung.
2022-07-20T03:34:40 1[/sub_DAQ/] Anfangsstation > Datenerfassung: Modul 'System' Verbindung.
2022-07-20T03:34:40 1[/sub_Protocol/] Anfangsstation > TransportProtokolle: Modul 'ModBus' Verbindung.
2022-07-20T03:34:40 1[/sub_DAQ/] Anfangsstation > Datenerfassung: Modul 'ModBus' Verbindung.
2022-07-20T03:34:40 1[/sub_DAQ/] Anfangsstation > Datenerfassung: Modul 'DCON' Verbindung.
2022-07-20T03:34:40 1[/sub_Protocol/] Anfangsstation > TransportProtokolle: Modul 'OPC_UA' Verbindung.
2022-07-20T03:34:40 1[/sub_DAQ/] Anfangsstation > Datenerfassung: Modul 'OPC_UA' Verbindung.
2022-07-20T03:34:40 1[/sub_DAQ/] Anfangsstation > Datenerfassung: Modul 'SNMP' Verbindung.
2022-07-20T03:34:40 1[/sub_DAQ/] Anfangsstation > Datenerfassung: Modul 'Siemens' Verbindung.
2022-07-20T03:34:40 1[/sub_DAQ/] Anfangsstation > Datenerfassung: Modul 'AMRDevs' Verbindung.
2022-07-20T03:34:40 1[/sub_Archive/] Anfangsstation > Archiv-Geschichte: Modul 'FSArch' Verbindung.
2022-07-20T03:34:40 1[/sub_Archive/] Anfangsstation > Archiv-Geschichte: Modul 'DBArch' Verbindung.
2022-07-20T03:34:40 1[/sub_Transport/] Anfangsstation > Übertragungen: Modul 'Sockets' Verbindung.
2022-07-20T03:34:40 1[/sub_Transport/] Anfangsstation > Übertragungen: Modul 'Serial' Verbindung.
2022-07-20T03:34:40 1[/sub_Transport/] Anfangsstation > Übertragungen: Modul 'SSL' Verbindung.
2022-07-20T03:34:40 1[/sub_Protocol/] Anfangsstation > TransportProtokolle: Modul 'SelfSystem' Verbindung.
2022-07-20T03:34:40 1[/sub_Protocol/] Anfangsstation > TransportProtokolle: Modul 'UserProtocol' Verbindung.
2022-07-20T03:34:40 1[/sub_Protocol/] Anfangsstation > TransportProtokolle: Modul 'HTTP' Verbindung.
2022-07-20T03:34:40 1[/sub_UI/] Anfangsstation > Benutzerschnittstellen: Modul 'VCAEngine' Verbindung.
2022-07-20T03:34:40 3[/sub_ModSched/] Anfangsstation > Module Scheduler: Fehler SO '/usr/lib/openscada/ui_QTStarter.so': /usr/lib/openscada/ui_QTStarter.so: undefined symbol: _ZTVN9QTStarter11StartDialogE
2022-07-20T03:34:40 1[/sub_UI/] Anfangsstation > Benutzerschnittstellen: Modul 'QTCfg' Verbindung.
2022-07-20T03:34:40 1[/sub_UI/] Anfangsstation > Benutzerschnittstellen: Modul 'Vision' Verbindung.
2022-07-20T03:34:40 1[/sub_UI/] Anfangsstation > Benutzerschnittstellen: Modul 'WebCfg' Verbindung.
2022-07-20T03:34:40 1[/sub_UI/] Anfangsstation > Benutzerschnittstellen: Modul 'WebCfgD' Verbindung.
2022-07-20T03:34:40 1[/sub_UI/] Anfangsstation > Benutzerschnittstellen: Modul 'WebVision' Verbindung.
2022-07-20T03:34:40 1[/sub_UI/] Anfangsstation > Benutzerschnittstellen: Modul 'WebUser' Verbindung.
2022-07-20T03:34:40 1[/sub_Special/] Anfangsstation > Zusätze: Modul 'FLibSYS' Verbindung.
2022-07-20T03:34:40 1[/sub_Special/] Anfangsstation > Zusätze: Modul 'SystemTests' Verbindung.
2022-07-20T03:34:40 1[/sub_Special/] Anfangsstation > Zusätze: Modul 'FLibMath' Verbindung.
2022-07-20T03:34:40 1[/sub_Special/] Anfangsstation > Zusätze: Modul 'FLibComplex1' Verbindung.
2022-07-20T03:34:40 1[/sub_UI/mod_VCAEngine/wlb_originals/] Anfangsstation > Benutzerschnittstellen > VCAEngine: Widgetsbibliothek einschalten.
2022-07-20T03:34:40 1[/] Anfangsstation: Starten.
2022-07-20T03:34:40 1[/] Anfangsstation: Starten abgeschlossen ist!

[root@openscada ~]# ldd /usr/lib/openscada/ui_QTStarter.so
linux-vdso.so.1 (0x00007fffef9f7000)
liboscada.so.4 => /usr/lib/liboscada.so.4 (0x00007f7f54ec5000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f7f54c54000)
libz.so.1 => /lib64/libz.so.1 (0x00007f7f54a3d000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f7f54814000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f7f54610000)
libQt5PrintSupport.so.5 => /lib64/libQt5PrintSupport.so.5 (0x00007f7f5577c000)
libQt5Widgets.so.5 => /lib64/libQt5Widgets.so.5 (0x00007f7f53f8d000)
libQt5Gui.so.5 => /lib64/libQt5Gui.so.5 (0x00007f7f53a65000)
libQt5Sensors.so.5 => /lib64/libQt5Sensors.so.5 (0x00007f7f55738000)
libQt5Core.so.5 => /lib64/libQt5Core.so.5 (0x00007f7f5354c000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f7f531b7000)
libm.so.6 => /lib64/libm.so.6 (0x00007f7f52e35000)
libc.so.6 => /lib64/libc.so.6 (0x00007f7f52a73000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7f5285b000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7f5263b000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7f555ce000)
libGL.so.1 => /lib64/libGL.so.1 (0x00007f7f523a8000)
libpng16.so.16 => /lib64/libpng16.so.16 (0x00007f7f52173000)
libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f7f51ecd000)
libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f7f51b89000)
libicui18n.so.60 => /lib64/libicui18n.so.60 (0x00007f7f516c8000)
libicuuc.so.60 => /lib64/libicuuc.so.60 (0x00007f7f51306000)
libicudata.so.60 => /lib64/libicudata.so.60 (0x00007f7f4f75c000)
libpcre2-16.so.0 => /lib64/libpcre2-16.so.0 (0x00007f7f4f4e3000)
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007f7f4f2e1000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f7f4efc8000)
libGLX.so.0 => /lib64/libGLX.so.0 (0x00007f7f4ed96000)
libX11.so.6 => /lib64/libX11.so.6 (0x00007f7f4ea52000)
libXext.so.6 => /lib64/libXext.so.6 (0x00007f7f4e83f000)
libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f7f4e583000)
libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f7f4e2c7000)
libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f7f4e09b000)
librt.so.1 => /lib64/librt.so.1 (0x00007f7f4de92000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f7f4dc6b000)
liblz4.so.1 => /lib64/liblz4.so.1 (0x00007f7f4da54000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007f7f4d84e000)
libmount.so.1 => /lib64/libmount.so.1 (0x00007f7f4d5f4000)
libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007f7f4d2d8000)
libgnutls.so.30 => /lib64/libgnutls.so.30 (0x00007f7f4cf1c000)
libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f7f4ccf3000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f7f4cae2000)
libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f7f4c890000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f7f4c688000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f7f4c45d000)
libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f7f4c23c000)
libp11-kit.so.0 => /lib64/libp11-kit.so.0 (0x00007f7f4bf09000)
libidn2.so.0 => /lib64/libidn2.so.0 (0x00007f7f4bceb000)
libunistring.so.2 => /lib64/libunistring.so.2 (0x00007f7f4b96a000)
libtasn1.so.6 => /lib64/libtasn1.so.6 (0x00007f7f4b757000)
libnettle.so.6 => /lib64/libnettle.so.6 (0x00007f7f4b51e000)
libhogweed.so.4 => /lib64/libhogweed.so.4 (0x00007f7f4b2ee000)
libgmp.so.10 => /lib64/libgmp.so.10 (0x00007f7f4b056000)
libXau.so.6 => /lib64/libXau.so.6 (0x00007f7f4ae52000)
libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f7f4abce000)
libffi.so.6 => /lib64/libffi.so.6 (0x00007f7f4a9c5000)
[root@openscada ~]#


Regards
Thomas
Сообщение создано: 20. 07. 2022 [11:48]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3750
"thomas" wrote:

I have build openscada from source on RHEL 8.2 with "configure --disable-PostgreSQL --disable-FireBird --disable-SoundCard".

What a problem in use the ready packages for CentOS 8 ?

"thomas" wrote:

When I start openscada after installation from cmdline the following error appears:

Build and install packages!

"thomas" wrote:

Any Idea about the reason for the problem ?

You have a mixed installation from building different OpenSCADA versions due to such symbol is missing in both actual LTS and Work branches!

Learn, learn and learn better than work, work and work.



8265