我在这个目录/target/allwinner/t113-bingpi_m2/busybox-init-base-files/etc/init.d/rc.modules 的脚本中添加了自启动执行程序会启动失败 报错如下 ,但是 系统启动 我单独进这个目录执行程序 又可以执行成功 这是哪里有问题吗啊
Error loading shared library libQt5Widgets.so.5: No such file or directory (needed by /ysc/Printf_Machine)
Error loading shared library libQt5Gui.so.5: No such file or directory (needed by /ysc/Printf_Machine)
Error loading shared library libQt5Core.so.5: No such file or directory (needed by /ysc/Printf_Machine)
Trying to connect to SWUpdate...
Error relocating /ysc/Printf_Machine: _ZNK7QWidget6metricEN12QPaintDevice17PaintDeviceMetricE: symbol not found
Error relocating /ysc/Printf_Machine: _ZN7QWidget10leaveEventEP6QEvent: symbol not found
Error relocating /ysc/Printf_Machine: _ZN15QAbstractButton7setTextERK7QString: symbol not found
Error relocating /ysc/Printf_Machine: _ZN7QWidget13keyPressEventEP9QKeyEvent: symbol not found
Error relocating /ysc/Printf_Machine: _ZN7QWidget11tabletEventEP12QTabletEvent: symbol not found
Error relocating /ysc/Printf_Machine: _ZThn8_NK7QWidget7devTypeEv: symbol not found
Error relocating /ysc/Prin[ 5.921800] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
tf_Machine: _ZN7QWidget10closeEventEP11QCloseEvent: symbol not found
Error relocating /ysc/Printf_Machine: _ZThn8_NK7QWidget6me[ 5.926053] file system registered
tricEN12QPaintDevice17PaintDeviceMetricE: symbol not found
Error relocating /ysc/Printf_Machine: _ZN7QObject10timerEventEP11QTimerEvent: symbol not found
Error relocating /ysc/Printf_Machine: _ZThn8_NK7QWidget11paintEngineEv: symbol not found
Error relo[ 5.962073] configfs-gadget 4100000.udc-controller: failed to start g1: -19
cating /ysc/Printf_Machine: _ZN7QObject16disconnectNotifyERK11QMetaMethod: symbol not found
Error relocating /ysc/Printf_Machine: _ZThn8_NK7QWidget11initPainterEP8QPainter: symbol not found
Error relocating /ysc/Printf_Machine: _ZNK7QObject10objectNameEv: symbol not found
Error relocating /ysc/Printf_Machine: _ZN7QObject10childEventEP11QChildEvent: symbol not found
Error relocating /ysc/Printf_Machine: _ZN7QWidget14setWindowTitleERK7QString: symbol not found
Error relocating /ysc/Printf_Machine: _ZN7QWidget13focusOutEventEP11QFocusEvent: symbol not found
Error relocating /ysc/Printf_Machine: _ZNK7QWidget17hasHeightForWidthEv: symbol not found
Error relocating /ysc/Printf_Machine: _ZN11QPushButtonC1EP7QWidget: symbol not found
Error relocating /ysc/Printf_Machine: _ZN7QWidget14dragLeaveEventEP15QDragLeaveEvent: symbol not found
Error relocating /ysc/Printf_Machine: _ZN11QMainWindowC2EP7QWidget6QFlagsIN2Qt10WindowTypeEE: symbol not found
Error relocating /ysc/Printf_Machine: _ZN7QWidget18focusNextPrevChildEb: symbol not found
Error relocating /ysc/Printf_Machine: _ZN6QLabel7setTextERK7QString: symbol not found
离线
从目前来看加载qt程序 可能是qt的库还没有全部加载进来 ,
离线
环境变量还没有设置,
Error loading shared library libQt5Widgets.so.5: No such file or directory
是没找到动态库。
离线
运行前,export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/你的库路径
离线