Unsolved qtdeclarative qml.pro Project ERROR: Library 'libdl' is not defined. xilinx
-
i am trying to build the qt-everwhere. the tool chain is working well as the build is successful until the fail. the configuration i us:
./configure
-confirm-license
-opensource
-nomake examples
-nomake tests
-xplatform aarch64-xilinx-linux-g++
-platform linux-g++
-sysroot $SDKTARGETSYSROOT
-hostprefix build/
-reduce-exports
-no-opengl
-no-openssli created an mkspecs [aarch64-xilinx-linux-g++] with qmake.conf
MAKEFILE_GENERATOR = UNIX
CONFIG += incremental
QMAKE_INCREMENTAL_STYLE = sublibinclude(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)modifications to g++.conf
QMAKE_CC = aarch64-xilinx-linux-gcc
QMAKE_CXX = aarch64-xilinx-linux-g++
QMAKE_LINK = aarch64-xilinx-linux-g++
QMAKE_LINK_SHLIB = aarch64-xilinx-linux-g++modifications to linux.conf
QMAKE_AR = aarch64-xilinx-linux-ar cqs
QMAKE_OBJCOPY = aarch64-xilinx-linux-objcopy
QMAKE_NM = aarch64-xilinx-linux-nm -P
QMAKE_STRIP = aarch64-xilinx-linux-strip
load(qt_config)in the toolchain the libdl is locatated in /usr/lib
is there something i am missing?
thanksRe: [QT 5.12.4](qtdeclarative qml.pro Project ERROR: Library 'libdl' is not defined. linux-beagleboard-g++)
-
Hi and welcome to devnet,
Do you have that library for your target ?
-
if i am not mistaken i have the library for the build. i have it in the build path and in the sysroot path. one is a file for x86 and the other is arm64. i tried adding to the qmake.cong the QMAKE_LIBS_LIBDL = <path to libdl.so> for both and still i get the same results.
thanks for the help -
Did you check the test logs of the module to see what is happening ?
-
good morning
i am not sure where the test logs files are located but when i build with verbose i seeqt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:14: evaluating test function "defined"
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:14: calling built-in defined(QMAKE_LIBS_LIBDL, var)
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:14: test function returned false
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:14: AND
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:14: evaluating test function "error"
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:15: calling built-in $$replace(nu, _, -)
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:15: calling built-in $$lower(LIBDL)
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:15: calling built-in error("Library 'libdl' is not defined.")
Project ERROR: Library 'libdl' is not defined.
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:15: aborting block, function status: error
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:15: done looping
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:15: aborting block, status: error
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:15: done looping
qt-5.12.4/qt-everywhere-src-5.12.4/qtbase/mkspecs/features/qmake_use.prf:15: aborting block, status: error -
@rangg said in qtdeclarative qml.pro Project ERROR: Library 'libdl' is not defined. xilinx:
i am not sure where the test logs files are located
in the directory where you called configure