NanoVNA-QT Compilierung unter Suse Tumbleweed

OP #6353964
Lesenswert?

Hallo Linux Freunde,

wollte mir die VNA QT-Software bauen.
siehe:
https://github.com/nanovna/NanoVNA-QT
bauen.


bekomme leider vom Compiler folgende Fehlermeldung:

In file included from /usr/include/math.h:37,
                 from /usr/include/c++/9/cmath:45,
                 from utility.H:6,
                 from impedancedisplay.C:1:
/usr/include/bits/types.h:145:25: error: conflicting declaration 
‘typedef long unsigned int __dev_t’
  145 | __STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers.  */


Build wird mit QT-Creator erstellt.



11:57:12: Running steps for project vna_qt...
11:57:12: Configuration unchanged, skipping qmake step.
11:57:12: Starting: "/usr/bin/make" -j8
/usr/lib64/qt5/bin/qmake -o Makefile vna_qt.pro -spec linux-g++
g++ -c -pipe -Wextra -std=c++11 -DEIGEN_DONT_VECTORIZE 
-DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT -O2 -Wall -Wextra -D_REENTRANT 
-fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CHARTS_LIB 
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. 
-I../include -isystem /usr/local/include -isystem /usr/include/qt5 
-isystem /usr/include/qt5/QtCharts -isystem /usr/include/qt5/QtSvg 
-isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui 
-isystem /usr/include/qt5/QtCore -I. -I. 
-I/usr/lib64/qt5/mkspecs/linux-g++ -o polarview.o polarview.C
g++ -c -pipe -Wextra -std=c++11 -DEIGEN_DONT_VECTORIZE 
-DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT -O2 -Wall -Wextra -D_REENTRANT 
-fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CHARTS_LIB 
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. 
-I../include -isystem /usr/local/include -isystem /usr/include/qt5 
-isystem /usr/include/qt5/QtCharts -isystem /usr/include/qt5/QtSvg 
-isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui 
-isystem /usr/include/qt5/QtCore -I. -I. 
-I/usr/lib64/qt5/mkspecs/linux-g++ -o mainwindow.o mainwindow.C
g++ -c -pipe -Wextra -std=c++11 -DEIGEN_DONT_VECTORIZE 
-DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT -O2 -Wall -Wextra -D_REENTRANT 
-fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CHARTS_LIB 
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. 
-I../include -isystem /usr/local/include -isystem /usr/include/qt5 
-isystem /usr/include/qt5/QtCharts -isystem /usr/include/qt5/QtSvg 
-isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui 
-isystem /usr/include/qt5/QtCore -I. -I. 
-I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.C
g++ -c -pipe -Wextra -std=c++11 -DEIGEN_DONT_VECTORIZE 
-DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT -O2 -Wall -Wextra -D_REENTRANT 
-fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CHARTS_LIB 
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. 
-I../include -isystem /usr/local/include -isystem /usr/include/qt5 
-isystem /usr/include/qt5/QtCharts -isystem /usr/include/qt5/QtSvg 
-isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui 
-isystem /usr/include/qt5/QtCore -I. -I. 
-I/usr/lib64/qt5/mkspecs/linux-g++ -o markerslider.o markerslider.C
g++ -c -pipe -Wextra -std=c++11 -DEIGEN_DONT_VECTORIZE 
-DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT -O2 -Wall -Wextra -D_REENTRANT 
-fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CHARTS_LIB 
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. 
-I../include -isystem /usr/local/include -isystem /usr/include/qt5 
-isystem /usr/include/qt5/QtCharts -isystem /usr/include/qt5/QtSvg 
-isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui 
-isystem /usr/include/qt5/QtCore -I. -I. 
-I/usr/lib64/qt5/mkspecs/linux-g++ -o impedancedisplay.o 
impedancedisplay.C
g++ -c -pipe -Wextra -std=c++11 -DEIGEN_DONT_VECTORIZE 
-DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT -O2 -Wall -Wextra -D_REENTRANT 
-fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CHARTS_LIB 
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. 
-I../include -isystem /usr/local/include -isystem /usr/include/qt5 
-isystem /usr/include/qt5/QtCharts -isystem /usr/include/qt5/QtSvg 
-isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui 
-isystem /usr/include/qt5/QtCore -I. -I. 
-I/usr/lib64/qt5/mkspecs/linux-g++ -o frequencydialog.o 
frequencydialog.C
g++ -c -pipe -Wextra -std=c++11 -DEIGEN_DONT_VECTORIZE 
-DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT -O2 -Wall -Wextra -D_REENTRANT 
-fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CHARTS_LIB 
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. 
-I../include -isystem /usr/local/include -isystem /usr/include/qt5 
-isystem /usr/include/qt5/QtCharts -isystem /usr/include/qt5/QtSvg 
-isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui 
-isystem /usr/include/qt5/QtCore -I. -I. 
-I/usr/lib64/qt5/mkspecs/linux-g++ -o graphpanel.o graphpanel.C
g++ -c -pipe -Wextra -std=c++11 -DEIGEN_DONT_VECTORIZE 
-DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT -O2 -Wall -Wextra -D_REENTRANT 
-fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CHARTS_LIB 
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. 
-I../include -isystem /usr/local/include -isystem /usr/include/qt5 
-isystem /usr/include/qt5/QtCharts -isystem /usr/include/qt5/QtSvg 
-isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui 
-isystem /usr/include/qt5/QtCore -I. -I. 
-I/usr/lib64/qt5/mkspecs/linux-g++ -o configureviewdialog.o 
configureviewdialog.C



die vna_qt.pro Datei hat folgenden Inhalt:

#-------------------------------------------------
#
# Project created by QtCreator 2017-12-16T02:35:03
#
#-------------------------------------------------

QT       += core gui charts

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets


#CONFIG += static
#CONFIG -= import_plugins

QT += svg
QTPLUGIN.iconengines += svgicon
QTPLUGIN.imageformats += svg

#QMAKE_LFLAGS += --static -lexpat -lz -lXext -lXau -lbsd -lXdmcp
#QMAKE_LFLAGS += -L../lib -lxavna
QMAKE_CXXFLAGS += -Wextra -std=c++11
QMAKE_CXXFLAGS += -DEIGEN_DONT_VECTORIZE 
-DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT
android: QMAKE_CXXFLAGS += -I../android_include -DANDROID_WORKAROUNDS

TARGET = vna_qt
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact 
warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated 
APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain 
version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the 
APIs deprecated before Qt 6.0.0


SOURCES +=\
    polarview.C \
    mainwindow.C \
    main.C \
    markerslider.C \
    impedancedisplay.C \
    frequencydialog.C \
    graphpanel.C \
    configureviewdialog.C \
    touchstone.C \
    calkitsettingsdialog.C \
    calkitsettings.C \
    networkview.C \
    dtfwindow.C \
    calibrationfinetunedialog.C \
    firmwareupdater.C \
    firmwareupdatedialog.C

HEADERS  += \
    polarview.H \
    mainwindow.H \
    markerslider.H \
    impedancedisplay.H \
    utility.H \
    frequencydialog.H \
    graphpanel.H \
    configureviewdialog.H \
    touchstone.H \
    calkitsettingsdialog.H \
    calkitsettings.H \
    networkview.H \
    dtfwindow.H \
    calibrationfinetunedialog.H \
    firmwareupdater.H \
    firmwareupdatedialog.H

FORMS    += mainwindow.ui \
    markerslider.ui \
    impedancedisplay.ui \
    frequencydialog.ui \
    graphpanel.ui \
    configureviewdialog.ui \
    calkitsettingsdialog.ui \
    calkitsettingswidget.ui \
    dtfwindow.ui \
    graphlimitsdialog.ui \
    calibrationfinetunedialog.ui \
    firmwareupdatedialog.ui

TRANSLATIONS = languages/vna_qt_zh.ts
DISTFILES += languages/vna_qt_zh.ts

RESOURCES += \
    resources.qrc

LIBS += -L$$PWD/../libxavna/.libs/ -L/usr/local/lib/ -lxavna -lfftw3 
-lpthread
android: LIBS += -L$$PWD/../lib

win32:CONFIG(release, debug|release): LIBS += 
-L$$PWD/../libxavna/xavna_mock_ui/release/ -lxavna_mock_ui
else:win32:CONFIG(debug, debug|release): LIBS += 
-L$$PWD/../libxavna/xavna_mock_ui/debug/ -lxavna_mock_ui
else:unix: LIBS += -L$$PWD/../libxavna/xavna_mock_ui/ -lxavna_mock_ui

INCLUDEPATH += $$PWD/../include /usr/local/include
DEPENDPATH += $$PWD/../include

#INCLUDEPATH += ../libxavna/xavna_mock_ui
#PRE_TARGETDEPS += ../libxavna/xavna_mock_ui/libxavna_mock_ui.so

contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
    ANDROID_EXTRA_LIBS = \
        /persist/vna/vna_qt/../libxavna/.libs/libxavna.so \
        $$PWD/../libxavna/xavna_mock_ui/libxavna_mock_ui.so
}


Hat jemand für mich einen Tipp?

Ansonsten müsste ich mich direkt an die Projekt-Seite im Githab
wenden. Habe aber noch keinen Account bei Github und kann deshalt
keine Anfragen posten.

Danke für Eure Mühe


Markus
#6354277
Lesenswert?

Markus W. schrieb:
> bekomme leider vom Compiler folgende Fehlermeldung:

An Stelle der völlig end- und nutzlosen Compileraufrufe hättest du 
besser mal die ganze Fehlermeldung eingestellt.

Denn üblicherweise kommt da noch ein „previous declaration was here“ - 
Hinweis.

Wenn du allerdings mit der gezeigten Fehlermeldung gar nichts anfangen 
kannst, wird das alles für dich schwierig.

Oliver
OP #6354286
Lesenswert?

Oliver,

das ist doch die Fehlermeldung.
Steht ganz oben in meinem Thread.

In file included from /usr/include/math.h:37,
                 from /usr/include/c++/9/cmath:45,
                 from utility.H:6,
                 from impedancedisplay.C:1:
/usr/include/bits/types.h:145:25: error: conflicting declaration
‘typedef long unsigned int __dev_t’
  145 | __STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers.

Das es viel Zeug war ist mir klar, aber manche von Euch
bestehen sogar darauf. Zitat "nicht häppchenweise die Infos
rausrücken".

Alles was QTCreator rausgehauen hat habe ich geliefert.

Es scheint eine Inkompatibilität mit den Deklarationen
von:
__STD_TYPE __DEV_T_TYPE __dev_t

in /usr/include/bits/types.h

und

irgendeiner Deklaration von
typedef long unsigned int __dev_t

an einer anderen Stelle.

So mein Verständnis.

Wahrscheinlich fehlt irgend ein dev Paket
auf meinem System.
OP #6354324
Lesenswert?

Oliver,

ich bekomme nur das:

In file included from /usr/include/math.h:37,
                 from /usr/include/c++/9/cmath:45,
                 from utility.H:6,
                 from impedancedisplay.C:1:
/usr/include/bits/types.h:145:25: error: conflicting declaration 
‘typedef long unsigned int __dev_t’
  145 | __STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers.  */
      |                         ^~~~~~~

d.h. die Definition von __dev_t in Zeile 145 aus
/usr/include/bits/types.h
Beißt sich mit Deklarationen die woanders sind, aber wo?

/dev/shm/nanoVNA/NanoVNA-QT-master/vna_qt
>grep -n '__dev_t' /usr/include/math.h
markus@zbook:/dev/shm/nanoVNA/NanoVNA-QT-master/vna_qt
>grep -n '__dev_t' /usr/include/c++/9/cmath
markus@zbook:/dev/shm/nanoVNA/NanoVNA-QT-master/vna_qt
>grep -n '__dev_t' utility.H

ich finde den Typ __dev_t nicht in den aufgeführten Files.

Kann das eine Kollision mit einem Type aus einer Lib sein?

Markus
OP #6354426
Lesenswert?

Oliver,

danke für Deine Mühe und die Geduld ;-)

Ich habe mal den g++ Output in die angehängte Datei
verfrachtet.

das Gesamte NanoVNA-QT-master Packet beinhaltet verschiedene
Verzeichnisse, die Kompiliert werden können/sollen.

Ich habe mich auf das Vezeichnis ./vna_qt beschränkt.

Wenn ich das gesamte Packet zum Komiplieren configuriere,
wie in der Readme beschrieben, habe ich folgendes Problem:

bei

autoreconf --install
./configure

bekomme ich

configure: WARNING: eigen3/Eigen/Dense: present but cannot be compiled
configure: WARNING: eigen3/Eigen/Dense:     check for missing 
prerequisite headers?
configure: WARNING: eigen3/Eigen/Dense: see the Autoconf documentation
configure: WARNING: eigen3/Eigen/Dense:     section "Present But Cannot 
Be Compiled"
configure: WARNING: eigen3/Eigen/Dense: proceeding with the compiler's 
result
configure: WARNING:     ## 
-------------------------------------------------------- ##
configure: WARNING:     ## Report this to 
54525305+nanovna@users.noreply.github.com ##
configure: WARNING:     ## 
-------------------------------------------------------- ##
checking for eigen3/Eigen/Dense... no
configure: error: eigen3 not installed (eigen3/Eigen/Dense include not 
found)


Wenn ich die Datei configure.ac dahingehend modifiziere,
dass ich über die Problemstelle komme


AC_CHECK_HEADER(eigen3/Eigen/Dense)
if test "$ac_cv_header_eigen3_Eigen_Dense" == no
then
    #AC_MSG_ERROR([eigen3 not installed (eigen3/Eigen/Dense include not 
found)])   <== Zeile auskommentiert
    AC_CHECK_HEADER(eigen3/Eigen/Dense)  <== von mir eingefügt
fi


Bekomme ich:
checking eigen3/Eigen/Dense usability... no
checking eigen3/Eigen/Dense presence... yes
configure: WARNING: eigen3/Eigen/Dense: present but cannot be compiled
configure: WARNING: eigen3/Eigen/Dense:     check for missing 
prerequisite headers?
configure: WARNING: eigen3/Eigen/Dense: see the Autoconf documentation
configure: WARNING: eigen3/Eigen/Dense:     section "Present But Cannot 
Be Compiled"
configure: WARNING: eigen3/Eigen/Dense: proceeding with the compiler's 
result
configure: WARNING:     ## 
-------------------------------------------------------- ##
configure: WARNING:     ## Report this to 
54525305+nanovna@users.noreply.github.com ##
configure: WARNING:     ## 
-------------------------------------------------------- ##
checking for eigen3/Eigen/Dense... no
checking for eigen3/Eigen/Dense... (cached) no
checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libxavna/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands


und kann jetzt make aufrufen.
Führt aber auch zu Fehlern.


In file included from /usr/include/c++/9/math.h:36,
                 from xavna.C:4:
/usr/include/c++/9/cmath:1071:11: error: ‘::acoshl’ has not been 
declared
 1071 |   using ::acoshl;
      |           ^~~~~~


Das liegt vermutlich an dem vermeindlichen Fehlen der
"Eigen" Library, obwohl sie eigentlich nicht bei mir fehlt.

Liegt in /usr/include/eigen3/Eigen/Dense
wird auch von ./configure gefunden

checking eigen3/Eigen/Dense usability... no
checking eigen3/Eigen/Dense presence... yes


aber dann wird moniert


checking for eigen3/Eigen/Dense... no
checking for eigen3/Eigen/Dense... (cached) no

Ab da habe ich dann versucht nur das vna_qt Dir
zu kompilieren, da darin eine .pro Datei für
den QTCreator liegt.

Hat aber dann die besagten Probleme hervorgerufen.

Irgendwie drehe ich mich im Kreis %-(

Markus
Angehängte Dateien:
#6354465
Lesenswert?

Steht doch alles in den Fehlermeldungen. Die beiden Deklarationen stehen 
in

/usr/include/bits/types.h
/usr/local/include/sys/_types.h

Das erste ist ein System-include für dein System, das zweite 
(vermutlich) für Android.

Du musst dich jetzt entscheiden, für welches der beiden Systeme du 
compilieren willst ;)

Da stimmen halt entweder die Installation des Cross-Compilers für 
Android nicht, oder irgendwelche Pfade im System, oder auch defines o.ä. 
im Projekt.

Oliver
OP #6354473
Lesenswert?

Oliver,

sorry, kannst Du mich mit der Nase drauf stupsen, wo
Du das gelesen hast.

/usr/include/bits/types.h
/usr/local/include/sys/_types.h

Es gibt die Optionen für Win/Mac/Linux und Android.
Möglicherweise habe die configure Skripte noch ne Macke.
Muss mich wohl doch an die Github Projekt-Verantwortlichen
wenden.

Danke für Diene Bemühungen mir zu helfen.

LG
Markus
#6354586
Lesenswert?

Markus W. schrieb:
> sorry, kannst Du mich mit der Nase drauf stupsen, wo
> Du das gelesen hast.

Steht doch eigentlich klar und unübersehbar da, wie auch schon von 
Oliver vermutet:
Oliver S. schrieb:
> Denn üblicherweise kommt da noch ein „previous declaration was here“ -
> Hinweis.
1
In file included from /usr/include/math.h:37,
2
                 from /usr/include/c++/9/cmath:45,
3
                 from utility.H:6,
4
                 from frequencydialog.C:1:
5
/usr/include/bits/types.h:145:25: error: conflicting declaration ‘typedef long unsigned int __dev_t’
6
  145 | __STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers.  */
7
      |                         ^~~~~~~
8
In file included from /usr/local/include/sys/reent.h:15,
9
                 from /usr/local/include/stdio.h:60,
10
                 from utility.H:4,
11
                 from frequencydialog.C:1:
12
/usr/local/include/sys/_types.h:54:15: note: previous declaration as ‘typedef short int __dev_t’
13
   54 | typedef short __dev_t;
14
      |               ^~~~~~~
OP #6354650
Lesenswert?

@Rolf,

sorry kann ich Dir nicht sagen ;-)

habe mit
cd /var/log/zypp
cat history | grep '|install' | awk -F'|' '{print $2,$3,$4}' > 
zypper.log

das angehängte Log-File generiert.

Irgend ein Packet ist dafür verantwortlich - aber welches.

Werde mal den /usr/local/include Pfad temporär deaktivieren
und sehen, was beim Kompilieren rauskommt.

Markus
Angehängte Dateien:
OP #6354660
Lesenswert?

@Rolf M.

Vielen Dank!
Das war der Wink in die richtige richtung.

Nach dem temporären Umbenennen von /usr/local/(include,lib,lib64)
Komme ich bis zum Linken.

 g++ -Wl,-O1 -o vna_qt polarview.o mainwindow.o main.o markerslider.o 
impedancedisplay.o frequencydialog.o graphpanel.o configureviewdialog.o 
touchstone.o calkitsettingsdialog.o calkitsettings.o networkview.o 
dtfwindow.o calibrationfinetunedialog.o firmwareupdater.o 
firmwareupdatedialog.o qrc_resources.o moc_polarview.o moc_mainwindow.o 
moc_markerslider.o moc_impedancedisplay.o moc_frequencydialog.o 
moc_graphpanel.o moc_configureviewdialog.o moc_calkitsettingsdialog.o 
moc_networkview.o moc_dtfwindow.o moc_calibrationfinetunedialog.o 
moc_firmwareupdatedialog.o 
-L/dev/shm/nanoVNA/NanoVNA-QT-master/vna_qt/../libxavna/.libs/ 
-L/usr/local/lib/ -lxavna -lfftw3 
-L/dev/shm/nanoVNA/NanoVNA-QT-master/vna_qt/../libxavna/xavna_mock_ui/ 
-lxavna_mock_ui /usr/lib64/libQt5Charts.so /usr/lib64/libQt5Svg.so 
/usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so 
/usr/lib64/libQt5Core.so -lGL -lpthread
/dev/shm/nanoVNA/NanoVNA-QT-master
/dev/shm/nanoVNA/NanoVNA_QT_GUI-x86_64.AppImage: 
tmp.mount_NanoVNCFCtC0/lib/libQt5Core.so.5: version `Qt_5.15' not 
found (required by 
/dev/shm/nanoVNA/NanoVNA-QT-master/libxavna/xavna_mock_ui/libxavna_mock_ 
ui.so.1)

Jetzt muss ich nur noch den richtigen QT dev Pfad angeben.

LG
Markus
OP #6354668
Lesenswert?

Und es hat dank Deiner Hilfe geklappt.

markus@zbook:/dev/shm/nanoVNA/NanoVNA-QT-master/vna_qt
>objdump -a vna_qt

vna_qt:     file format elf64-x86-64
vna_qt

ldd vna_qt
  linux-vdso.so.1 (0x00007fff7f154000)
  libxavna.so.0 => not found  <=== trotzdem Läuft das Programm ???
  libfftw3.so.3 => /usr/lib64/libfftw3.so.3 (0x00007f84b040c000)
  libxavna_mock_ui.so.1 => not found  <=== trotzdem Läuft das Programm 
???
  libQt5Charts.so.5 => /usr/lib64/libQt5Charts.so.5 (0x00007f84b0248000)
  libQt5Svg.so.5 => /usr/lib64/libQt5Svg.so.5 (0x00007f84b01ee000)
  libQt5Widgets.so.5 => /usr/lib64/libQt5Widgets.so.5 
(0x00007f84afb4b000)
  libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5 (0x00007f84af458000)
  libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007f84aeeb7000)
  libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f84aee1e000)
  libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f84aedfc000)
  libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f84aec26000)
  libm.so.6 => /lib64/libm.so.6 (0x00007f84aeae0000)
  libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f84aeac4000)
  libc.so.6 => /lib64/libc.so.6 (0x00007f84ae8fe000)
  libz.so.1 => /lib64/libz.so.1 (0x00007f84ae8e4000)
  libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f84ae89c000)
  libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f84ae7c6000)
  libsystemd.so.0 => /usr/lib64/libsystemd.so.0 (0x00007f84ae719000)
  libdouble-conversion.so.3 => /usr/lib64/libdouble-conversion.so.3 
(0x00007f84ae709000)
  libicui18n.so.67 => /usr/lib64/libicui18n.so.67 (0x00007f84ae3fc000)
  libicuuc.so.67 => /usr/lib64/libicuuc.so.67 (0x00007f84ae212000)
  libdl.so.2 => /lib64/libdl.so.2 (0x00007f84ae20d000)
  libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 (0x00007f84ae15a000)
  libzstd.so.1 => /usr/lib64/libzstd.so.1 (0x00007f84ae0c1000)
  libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f84adf99000)
  /lib64/ld-linux-x86-64.so.2 (0x00007f84b0653000)
  libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f84adf67000)
  libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 
(0x00007f84adea9000)
  libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f84addee000)
  libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f84addcc000)
  librt.so.1 => /lib64/librt.so.1 (0x00007f84addbf000)
  liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007f84add83000)
  liblz4.so.1 => /usr/lib64/liblz4.so.1 (0x00007f84add63000)
  libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 (0x00007f84adc49000)
  libicudata.so.67 => /usr/lib64/libicudata.so.67 (0x00007f84adc46000)
  libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f84adbac000)
  libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f84ada68000)
  libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007f84ada48000)
  libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007f84ada28000)
  libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f84ad9fd000)
  libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f84ad9f8000)


Markus
Angehängte Dateien:
OP #6354672
Lesenswert?

jetzt passt es!

Nochmals Danke!

>ldd vna_qt | grep 'not found'
(kein pattern match!!!)

>ldd ./vna_qt
  linux-vdso.so.1 (0x00007fff8cd42000)
  libxavna.so.0 => /usr/local/lib64/libxavna.so.0 (0x00007f94f2708000)
  libfftw3.so.3 => /usr/lib64/libfftw3.so.3 (0x00007f94f2509000)
  libxavna_mock_ui.so.1 => /usr/lib/libxavna_mock_ui.so.1 
(0x00007f94f24e7000)
  libQt5Charts.so.5 => /usr/lib64/libQt5Charts.so.5 (0x00007f94f2323000)
  libQt5Svg.so.5 => /usr/lib64/libQt5Svg.so.5 (0x00007f94f22c9000)
  libQt5Widgets.so.5 => /usr/lib64/libQt5Widgets.so.5 
(0x00007f94f1c26000)
  libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5 (0x00007f94f1533000)
  libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007f94f0f92000)
  libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f94f0ef9000)
  libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f94f0ed7000)
  libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f94f0d01000)
  libm.so.6 => /lib64/libm.so.6 (0x00007f94f0bbb000)
  libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f94f0b9f000)
  libc.so.6 => /lib64/libc.so.6 (0x00007f94f09d9000)
  libz.so.1 => /lib64/libz.so.1 (0x00007f94f09bf000)
  libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f94f0977000)
  libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f94f08a1000)
  libsystemd.so.0 => /usr/lib64/libsystemd.so.0 (0x00007f94f07f4000)
  libdouble-conversion.so.3 => /usr/lib64/libdouble-conversion.so.3 
(0x00007f94f07e4000)
  libicui18n.so.67 => /usr/lib64/libicui18n.so.67 (0x00007f94f04d7000)
  libicuuc.so.67 => /usr/lib64/libicuuc.so.67 (0x00007f94f02ed000)
  libdl.so.2 => /lib64/libdl.so.2 (0x00007f94f02e8000)
  libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 (0x00007f94f0235000)
  libzstd.so.1 => /usr/lib64/libzstd.so.1 (0x00007f94f019a000)
  libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f94f0074000)
  /lib64/ld-linux-x86-64.so.2 (0x00007f94f2796000)
  libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f94f0042000)
  libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 
(0x00007f94eff84000)
  libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f94efec9000)
  libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f94efea5000)
  librt.so.1 => /lib64/librt.so.1 (0x00007f94efe9a000)
  liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007f94efe5e000)
  liblz4.so.1 => /usr/lib64/liblz4.so.1 (0x00007f94efe3e000)
  libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 (0x00007f94efd24000)
  libicudata.so.67 => /usr/lib64/libicudata.so.67 (0x00007f94efd21000)
  libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f94efc87000)
  libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f94efb43000)
  libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007f94efb23000)
  libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007f94efb03000)
  libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f94efad8000)
  libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f94efad1000)

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren