WizNotePlus icon indicating copy to clipboard operation
WizNotePlus copied to clipboard

realloc(): invalid old size 错误

Open ChuangbinC opened this issue 4 years ago • 5 comments

您好,我想请问一下 realloc(): invalid old size 这个错误如何解决? 我之前为知笔记是能够使用的,后面因为安装了一下包,导致出现QT-5.14 verssion not found的错误,后面我安装了qt-5.14后,解决了not found的问题,但是又出现新的问题。

image

ChuangbinC avatar Dec 17 '20 09:12 ChuangbinC

你安装了什么包?按道理说 AppImage 是在独立环境中运行的,不会收到系统库的影响。

altairwei avatar Dec 17 '20 10:12 altairwei

@altairwei 我是安装了libwxgtk的包,可是按道理appimage应该是自带依赖库的,现在变成了依赖库是依赖我系统的问题。。

ChuangbinC avatar Dec 17 '20 12:12 ChuangbinC

对于这个报错信息,我没有什么思路。

altairwei avatar Dec 17 '20 12:12 altairwei

@altairwei 您好,我把appimage解压出来后,直接运行AppRun这个文件就能行,不过在命令行运行appimage,就会出现像下面类似的Qt连接错误:

/home/ccb/Applications/Trojan-Qt5-Linux_cb059cf83989c64d7d13dd501bcd6b62.AppImage: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.13' not found (required by /home/ccb/Applications/Trojan-Qt5-Linux_cb059cf83989c64d7d13dd501bcd6b62.AppImage)

ChuangbinC avatar Dec 17 '20 13:12 ChuangbinC

太奇怪了,为什么你的 AppImage 会依赖系统安装的 Qt 库呢?你上面的这个问题原因是 Trojan-Qt5-Linux_cb059cf83989c64d7d13dd501bcd6b62.AppImage 依赖 Qt 5.13 ,而你系统安装的是 Qt 5.14 (看你前面描述过)

altairwei avatar Dec 17 '20 14:12 altairwei