View previous topic :: View next topic |
Author |
Message |
pinion n00b
Joined: 11 Feb 2006 Posts: 47
|
Posted: Fri Dec 24, 2021 1:13 am Post subject: libquazip issues running ideamaker after update [SOLVED] |
|
|
I use ideamaker v4.2.2 (https://www.ideamaker.io/download.html) which only comes as a binary package. I have not had any problems with ideamaker until a few days ago when I performed an emerge update on @world. I am now getting the following error when trying to start ideamaker:
Code: | ideamaker: error while loading shared libraries: libquazip.so.1: cannot open shared object file: No such file or directory
|
Looking in my emerge logs I see that libquazip was updated to dev-libs/quazip-1.1-r1, however I am not sure what version it was at before as it looks like the log file rolled over.
Two files were installed as part of the quazip package (required for net-im/zoom):
Code: | /usr/lib64/libquazip1-qt5.so -> libquazip1-qt5.so.1.0.0
/usr/lib64/libquazip1-qt5.so.1.0.0 -> libquazip1-qt5.so.1.1
|
Also, ideamaker ships with it's own version of libquazip. Ideamaker includes these files in /usr/lib/ideamaker:
Code: | ideamaker
ideamaker-start.sh
imageformats
libcork.so -> libcork.so.1.0.0
libcork.so.1 -> libcork.so.1.0.0
libcork.so.1.0 -> libcork.so.1.0.0
libcork.so.1.0.0
libcrypto.so -> libcrypto.so.1.0.0
libcrypto.so.1.0.0
libcurl.so -> libcurl.so.4.3.0
libcurl.so.4 -> libcurl.so.4.3.0
libcurl.so.4.3.0
libicudata.so.53 -> libicudata.so.53.1
libicudata.so.53.1
libicui18n.so.53 -> libicui18n.so.53.1
libicui18n.so.53.1
libicuuc.so.53 -> libicuuc.so.53.1
libicuuc.so.53.1
libQt5Core.so -> libQt5Core.so.5.4.2
libQt5Core.so.5 -> libQt5Core.so.5.4.2
libQt5Core.so.5.4 -> libQt5Core.so.5.4.2
libQt5Core.so.5.4.2
libQt5DBus.so -> libQt5DBus.so.5.4.2
libQt5DBus.so.5 -> libQt5DBus.so.5.4.2
libQt5DBus.so.5.4 -> libQt5DBus.so.5.4.2
libQt5DBus.so.5.4.2
libQt5Gui.so -> libQt5Gui.so.5.4.2
libQt5Gui.so.5 -> libQt5Gui.so.5.4.2
libQt5Gui.so.5.4 -> libQt5Gui.so.5.4.2
libQt5Gui.so.5.4.2
libQt5Network.so -> libQt5Network.so.5.4.2
libQt5Network.so.5 -> libQt5Network.so.5.4.2
libQt5Network.so.5.4 -> libQt5Network.so.5.4.2
libQt5Network.so.5.4.2
libQt5OpenGL.so -> libQt5OpenGL.so.5.4.2
libQt5OpenGL.so.5 -> libQt5OpenGL.so.5.4.2
libQt5OpenGL.so.5.4 -> libQt5OpenGL.so.5.4.2
libQt5OpenGL.so.5.4.2
libQt5SerialPort.so -> libQt5SerialPort.so.5.4.2
libQt5SerialPort.so.5 -> libQt5SerialPort.so.5.4.2
libQt5SerialPort.so.5.4 -> libQt5SerialPort.so.5.4.2
libQt5SerialPort.so.5.4.2
libQt5Svg.so -> libQt5Svg.so.5.4.2
libQt5Svg.so.5 -> libQt5Svg.so.5.4.2
libQt5Svg.so.5.4 -> libQt5Svg.so.5.4.2
libQt5Svg.so.5.4.2
libQt5Widgets.so -> libQt5Widgets.so.5.4.2
libQt5Widgets.so.5 -> libQt5Widgets.so.5.4.2
libQt5Widgets.so.5.4 -> libQt5Widgets.so.5.4.2
libQt5Widgets.so.5.4.2
libquazip.so -> libquazip.so.1.0.0
libquazip.so.1 -> libquazip.so.1.0.0
libquazip.so.1.0 -> libquazip.so.1.0.0
libquazip.so.1.0.0
libssl.so -> libssl.so.1.0.0
libssl.so.1.0.0
platforms
plugins
qt.conf
|
qt.conf has:
Code: | [Paths]
Libraries = ./
Plugins = plugins
|
ldd of the ideamaker libquazip:
Code: | /usr/lib/ideamaker $ ldd libquazip.so.1
linux-vdso.so.1 (0x00007ffdd03f3000)
libz.so.1 => /lib64/libz.so.1 (0x00007f5c2af5a000)
libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007f5c2a9f4000)
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/libstdc++.so.6 (0x00007f5c2a7e5000)
libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/libgcc_s.so.1 (0x00007f5c2a7ca000)
libc.so.6 => /lib64/libc.so.6 (0x00007f5c2a60f000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5c2a5ef000)
libdouble-conversion.so.3 => /usr/lib64/libdouble-conversion.so.3 (0x00007f5c2a5d6000)
libicui18n.so.69 => /usr/lib64/libicui18n.so.69 (0x00007f5c2a2c0000)
libicuuc.so.69 => /usr/lib64/libicuuc.so.69 (0x00007f5c2a0d5000)
libicudata.so.69 => /usr/lib64/libicudata.so.69 (0x00007f5c2857a000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f5c28575000)
libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 (0x00007f5c284ef000)
libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f5c284e8000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f5c283b6000)
libm.so.6 => /lib64/libm.so.6 (0x00007f5c28280000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5c2b1cd000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f5c2820e000)
|
I have played around with switching the symlinks to point to the system-installed libquazip1.so, have checked ldconfig, and tried adding an entry to /etc/env.d/*, all without any improvement. Any help figuring this out is much appreciated.
Last edited by pinion on Fri Dec 24, 2021 6:41 am; edited 1 time in total |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Fri Dec 24, 2021 2:30 am Post subject: Re: libquazip issues running ideamaker after world update |
|
|
There seems to be a problem with this page. It shows an i in a red hexagon which bounces next to the string loading ..., but never finishes, redirects, or displays useful content. This bodes so well for the package. pinion wrote: | which only comes as a binary package. | The story just gets better. pinion wrote: | Code: | ideamaker: error while loading shared libraries: libquazip.so.1: cannot open shared object file: No such file or directory |
| ideamaker depends on a shared object which it cannot find. Normally, Portage should have caught this and preserved the library via FEATURES=preserved-rebuild - unless ideamaker was installed outside Portage, in which case you are on your own. pinion wrote: | Looking in my emerge logs I see that libquazip was updated to dev-libs/quazip-1.1-r1, however I am not sure what version it was at before as it looks like the log file rolled over. | I don't think /var/log/emerge.log ever rolls over, unless you configured your own log rotation for it. What is the output of grep -n -e quazip /var/log/emerge.log? pinion wrote: | Two files were installed as part of the quazip package (required for net-im/zoom): Code: | /usr/lib64/libquazip1-qt5.so -> libquazip1-qt5.so.1.0.0
/usr/lib64/libquazip1-qt5.so.1.0.0 -> libquazip1-qt5.so.1.1 |
| That is strange. I wouldn't expect the -qt5 suffix in the filename here. To confirm, those files are owned by =dev-libs/quzip-1.1-r1, and those are the only shared objects that quazip installs? pinion wrote: | Also, ideamaker ships with it's own version of libquazip. | It really shouldn't do that - but since it did, then it should have kept working for you. pinion wrote: | Ideamaker includes these files in /usr/lib/ideamaker: | This directory would not be on the standard loader search path. ideamaker will need a custom loader search path to find these files.
Also, that path looks wrong. As ideamaker was not installed through Portage, it should not be under /usr/lib. pinion wrote: | I have played around with switching the symlinks to point to the system-installed libquazip1.so | Earlier you said quazip installs libquazip1-qt5.so.1.1. Is it also installing a non -qt5 shared object?
The standard advice would be that you need to relink ideamaker with the new version of libquazip. However, that advice assumes you can get the source, which it seems you cannot.
Have you tried setting LD_LIBRARY_PATH to tell the dynamic loader where to search for ideamaker's bundled quazip? |
|
Back to top |
|
|
pinion n00b
Joined: 11 Feb 2006 Posts: 47
|
Posted: Fri Dec 24, 2021 6:39 am Post subject: Re: libquazip issues running ideamaker after world update |
|
|
Thanks for the prompt reply. Running the file with
Code: | LD_LIBRARY_PATH=/usr/lib/ideamaker ideamaker |
did the trick. I had tried sticking that path in a file under /etc/env.d/ at one point, so I thought doing so would have effectively done the same thing. Since this is a binary, non-portage install (which I hate that it is), I am just going to add LD_LIBRARY_PATH to a bash script for just this thing.
For referrence, here is everything quazip-1.1-r1 installed:
Code: | /usr
/usr/include
/usr/include/QuaZip-Qt5-1.1
/usr/include/QuaZip-Qt5-1.1/quazip
/usr/include/QuaZip-Qt5-1.1/quazip/JlCompress.h
/usr/include/QuaZip-Qt5-1.1/quazip/ioapi.h
/usr/include/QuaZip-Qt5-1.1/quazip/minizip_crypt.h
/usr/include/QuaZip-Qt5-1.1/quazip/quaadler32.h
/usr/include/QuaZip-Qt5-1.1/quazip/quachecksum32.h
/usr/include/QuaZip-Qt5-1.1/quazip/quacrc32.h
/usr/include/QuaZip-Qt5-1.1/quazip/quagzipfile.h
/usr/include/QuaZip-Qt5-1.1/quazip/quaziodevice.h
/usr/include/QuaZip-Qt5-1.1/quazip/quazip.h
/usr/include/QuaZip-Qt5-1.1/quazip/quazip_global.h
/usr/include/QuaZip-Qt5-1.1/quazip/quazip_qt_compat.h
/usr/include/QuaZip-Qt5-1.1/quazip/quazipdir.h
/usr/include/QuaZip-Qt5-1.1/quazip/quazipfile.h
/usr/include/QuaZip-Qt5-1.1/quazip/quazipfileinfo.h
/usr/include/QuaZip-Qt5-1.1/quazip/quazipnewinfo.h
/usr/include/QuaZip-Qt5-1.1/quazip/unzip.h
/usr/include/QuaZip-Qt5-1.1/quazip/zip.h
/usr/lib64
/usr/lib64/cmake
/usr/lib64/cmake/QuaZip-Qt5-1.1
/usr/lib64/cmake/QuaZip-Qt5-1.1/QuaZip-Qt5Config.cmake
/usr/lib64/cmake/QuaZip-Qt5-1.1/QuaZip-Qt5ConfigVersion.cmake
/usr/lib64/cmake/QuaZip-Qt5-1.1/QuaZip-Qt5_SharedTargets-gentoo.cmake
/usr/lib64/cmake/QuaZip-Qt5-1.1/QuaZip-Qt5_SharedTargets.cmake
/usr/lib64/libquazip1-qt5.so -> libquazip1-qt5.so.1.0.0
/usr/lib64/libquazip1-qt5.so.1.0.0 -> libquazip1-qt5.so.1.1
/usr/lib64/libquazip1-qt5.so.1.1
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/quazip1-qt5.pc
/usr/share
/usr/share/doc
/usr/share/doc/quazip-1.1-r1
/usr/share/doc/quazip-1.1-r1/README.md.bz2
|
I 100% agree though.. I hate that Raise3d gives you a binary download/etc. However, ideamaker works flawlessly with Raise3d printers.. so it is a catch-22 I have let them put me in.
On a side note.. I am moving this under /usr/local to keep things separate from portage installs. Thanks for mentioning that.
Thanks again for the help! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|