Shinmera / qt-libs

Helper system to ensure the necessary library for CommonQt/Qtools development are available and deployable.
zlib License
18 stars 8 forks source link

Errors loading libcommonqt.so #7

Open jl2 opened 8 years ago

jl2 commented 8 years ago

After the August 25 quicklisp update I began having problems loading packages that use qtools, and I think the problem is qt-libs loading the wrong libcommonqt.so.

The program I'm trying to load is https://github.com/jl2/qplotter

I'm running Debian testing and have the Qt 4.8.7 dev packages installed.

I'm running SBCL 1.3.8.46-4d9f789 (built from the tip of their git repository about a week ago).

To reproduce the problem:

(ql:uninstall :qt) (ql:uninstall :qt-libs) (ql:uninstall :qtools)

(ql:quickload :qlotter)

Unable to load foreign library (LIBCOMMONQT). Error opening shared object "/home/jeremiah/quicklisp/dists/quicklisp/software/qt-libs-20160825-git/standalone/libcommonqt.so": /home/jeremiah/quicklisp/dists/quicklisp/software/qt-libs-20160825-git/standalone/libcommonqt.so: undefined symbol: _ZN5Smoke8classMapE.

I noticed that if I restart slime and run (ql:quickload :qt) before (ql:quickload :qplotter), the program loads and runs fine.

I was able to permanently work around the problem by copying ~/quicklisp/dists/quicklisp/software/commonqt-20160421-git/libcommonqt.so into ~/quicklisp/dists/quicklisp/software/qt-libs-20160825-git

Shinmera commented 8 years ago

The _ZN5Smoke8classMapE missing problem stems from an inconsistent library ecosystem, meaning that somewhere on your system libraries of different versions are loaded. Qt-libs should avoid that by loading libraries from specific locations in a predefined order.

However, this might still happen if it gathers the libraries in the wrong fashion or your LD_LIBRARY_PATH is somehow fucked up. To ensure that it has only access to a specific set of libraries, make sure you:

  1. Delete the standalone folder in the qt-libs source directory
  2. Delete the libcommonqt.so from the qt source directory if it exists
  3. Delete either your entire FASL cache or simply that of the qt-libs source directory
  4. Make sure you're on the latest Quicklisp
  5. Load qt-libs again and watch the output to see what it's doing. It should download three archives and extract them, then copy their files into the standalone folder.
Shinmera commented 8 years ago

Actually I can reproduce your problem as it seems to copy the Qt libs from the system despite downloading them. I'll take a look ASAP.

Shinmera commented 8 years ago

This should hopefully be resolved with qt-libs 2.0.0, but I need some more time to test and ready everything.

Shinmera commented 8 years ago

If you could clone from this repository and see if the issue is resolved with the new release that would be great.

mobius-eng commented 8 years ago

I've cloned the repo and did the following:

CL-USER> (ql:quickload :qt-libs)
To load "qt-libs":
  Load 1 ASDF system:
    qt-libs
; Loading "qt-libs"
To load "pathname-utils":
  Install 1 Quicklisp release:
    pathname-utils
Downloading http://beta.quicklisp.org/archive/pathname-utils/2016-05-31/pathname-utils-20160531-git.tgz
##########################################################################
; Loading "pathname-utils"
[package pathname-utils]...
; Loading "qt-libs"
..................................................
[package qt-lib-generator]........................
[package qt-libs]...
> Running stage INSTALL-BINARIES for #<QT4 {1006386E63}>
> Running stage DOWNLOAD-BINARIES for #<QT4 {1006386E63}>
 -> Downloading https://github.com/Shinmera/qt4/releases/download/qt-libs2.0.0/lin64-qt4.zip to /home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/binaries.zip
To load "drakma":
  Load 1 ASDF system:
    drakma
; Loading "drakma"
..
....To load "zip":
  Load 1 ASDF system:
    zip
; Loading "zip"

.
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQt3Support.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQt3Support.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtCLucene.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtCLucene.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtCore.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtCore.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtDBus.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtDBus.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtDeclarative.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtDeclarative.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtDesigner.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtDesigner.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtDesignerComponents.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtDesignerComponents.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtGui.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtGui.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtHelp.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtHelp.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtNetwork.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtNetwork.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtOpenGL.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtOpenGL.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtScript.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtScript.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtScriptTools.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtScriptTools.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtSql.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtSql.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtSvg.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtSvg.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtTest.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtTest.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtWebKit.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtWebKit.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtXml.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtXml.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libQtXmlPatterns.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libQtXmlPatterns.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libaudio.so.2" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libaudio.so.2"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libphonon.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libphonon.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libqimageblitz.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libqimageblitz.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libqscintilla2.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libqscintilla2.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/libqwt-qt4.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libqwt-qt4.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/accessible/libqtaccessiblecompatwidgets.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/accessible/libqtaccessiblecompatwidgets.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/accessible/libqtaccessiblewidgets.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/accessible/libqtaccessiblewidgets.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/bearer/libqconnmanbearer.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/bearer/libqconnmanbearer.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/bearer/libqgenericbearer.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/bearer/libqgenericbearer.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/bearer/libqnmbearer.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/bearer/libqnmbearer.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/codecs/libqcncodecs.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/codecs/libqcncodecs.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/codecs/libqjpcodecs.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/codecs/libqjpcodecs.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/codecs/libqkrcodecs.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/codecs/libqkrcodecs.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/codecs/libqtwcodecs.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/codecs/libqtwcodecs.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/designer/libqdeclarativeview.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/designer/libqdeclarativeview.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/designer/libqt3supportwidgets.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/designer/libqt3supportwidgets.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/graphicssystems/libqglgraphicssystem.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/graphicssystems/libqglgraphicssystem.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/graphicssystems/libqtracegraphicssystem.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/graphicssystems/libqtracegraphicssystem.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/iconengines/libqsvgicon.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/iconengines/libqsvgicon.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/imageformats/libqgif.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/imageformats/libqgif.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/imageformats/libqico.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/imageformats/libqico.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/imageformats/libqjpeg.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/imageformats/libqjpeg.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/imageformats/libqmng.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/imageformats/libqmng.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/imageformats/libqsvg.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/imageformats/libqsvg.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/imageformats/libqtga.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/imageformats/libqtga.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/imageformats/libqtiff.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/imageformats/libqtiff.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/inputmethods/libqimsw-multi.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/inputmethods/libqimsw-multi.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/qmltooling/libqmldbg_inspector.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/qmltooling/libqmldbg_inspector.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/qmltooling/libqmldbg_tcp.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/qmltooling/libqmldbg_tcp.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/qt4/install/plugins/script/libqtscriptdbus.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/plugins/script/libqtscriptdbus.so"
> Running stage INSTALL-BINARIES for #<SMOKEGEN {1004F65533}>
> Running stage DOWNLOAD-BINARIES for #<SMOKEGEN {1004F65533}>
 -> Downloading https://github.com/Shinmera/smokegen/releases/download/qt-libs2.0.0/lin64-smokegen.zip to /home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokegen/binaries.zip
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokegen/install/libsmokebase.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokebase.so"
> Running stage INSTALL-BINARIES for #<SMOKEQT {1005216053}>
> Running stage DOWNLOAD-BINARIES for #<SMOKEQT {1005216053}>
 -> Downloading https://github.com/Shinmera/smokeqt/releases/download/qt-libs2.0.0/lin64-smokeqt.zip to /home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/binaries.zip
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokephonon.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokephonon.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqimageblitz.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqimageblitz.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqsci.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqsci.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqt3support.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqt3support.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtcore.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtcore.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtdbus.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtdbus.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtdeclarative.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtdeclarative.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtgui.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtgui.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqthelp.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqthelp.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtnetwork.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtnetwork.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtopengl.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtopengl.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtscript.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtscript.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtsql.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtsql.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqttest.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqttest.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtuitools.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtuitools.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtwebkit.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtwebkit.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtxmlpatterns.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtxmlpatterns.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqtxml.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqtxml.so"
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/smokeqt/install/libsmokeqwt.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libsmokeqwt.so"
> Running stage INSTALL-BINARIES for #<LIBCOMMONQT {10089D2443}>
> Running stage DOWNLOAD-BINARIES for #<LIBCOMMONQT {10089D2443}>
 -> Downloading https://github.com/Shinmera/libcommonqt/releases/download/qt-libs2.0.0/lin64-libcommonqt.zip to /home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/libcommonqt/binaries.zip
.
 -> Copying "/home/alexey/.cache/common-lisp/sbcl-1.3.7-linux-x64/sbcl-bin-1.3.7/home/alexey/Programs/Lisp/projects/qt-libs/libcommonqt/install/libcommonqt.so" to "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libcommonqt.so"
To load "qt":
  Load 1 ASDF system:
    qt
; Loading "qt"
..
> Swapping out QT::LOAD-LIBCOMMONQT for QT-LIBS:LOAD-LIBCOMMONQT.
> Swapping out QT:MAKE-QAPPLICATION for QT-LIBS::MAKE-QAPPLICATION.
> Swapping out QT:ENSURE-SMOKE for QT-LIBS::ENSURE-SMOKE.

(:QT-LIBS)

Finally, loaded

CL-USER> (ql:quickload '(:qtools :qtcore :qtgui))
To load "qtools":
  Load 9 ASDF systems:
    cl-ppcre closer-mop documentation-utils form-fiddle
    named-readtables qt-libs trivial-garbage trivial-indent
    trivial-main-thread
  Install 1 Quicklisp release:
    qtools
; Loading "qtools"
[package qtools]..................................
[package cl+qt]...................................
...................................
To load "qtcore":
  Load 1 ASDF system:
    qtcore
; Loading "qtcore"
; 
; compilation unit aborted
;   caught 2 fatal ERROR conditions
; Evaluation aborted on #<CFFI:LOAD-FOREIGN-LIBRARY-ERROR "Unable to load foreign library (~A).~%  ~A" {1006746D53}>.

Aborted on the same error. :(

Shinmera commented 8 years ago

That doesn't tell me the exact error that you got. What is the report of the condition?

mobius-eng commented 8 years ago

To make sure it is reproduced exactly, I've repeated all previous steps.

Here is the condition:

Unable to load foreign library (LIBCOMMONQT).
  Error opening shared object "/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libcommonqt.so":
  /home/alexey/Programs/Lisp/projects/qt-libs/standalone/libcommonqt.so: undefined symbol: _ZN5Smoke8classMapE.
   [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]

Backtrace:

  0: (CFFI::FL-ERROR "Unable to load foreign library (~A).~%  ~A" LIBCOMMONQT "Error opening shared object \"/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libcommonqt.so\": ..)
  1: (CFFI::REPORT-SIMPLE-ERROR LIBCOMMONQT #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:~%  ~A." {1006AA5E53}>)
  2: (CFFI::LOAD-FOREIGN-LIBRARY-PATH LIBCOMMONQT "libcommonqt.so" (#P"/home/alexey/Programs/Lisp/projects/qt-libs/standalone/libcommonqt.so/"))
  3: ((FLET CFFI::%DO-LOAD :IN CFFI::%DO-LOAD-FOREIGN-LIBRARY) #<CFFI:FOREIGN-LIBRARY LIBCOMMONQT> LIBCOMMONQT "libcommonqt.so")
  4: (CFFI:LOAD-FOREIGN-LIBRARY LIBCOMMONQT :SEARCH-PATH NIL)
  5: (QT-LIBS:LOAD-LIBCOMMONQT :FORCE NIL)
  6: (QT::RELOAD)
  7: (QT-LIBS::ENSURE-SMOKE :QTCORE)
  8: (QTOOLS:LOAD-ALL-SMOKE-MODULES "QTCORE")
  9: (QTOOLS::LOAD-FOR-WRAPPER #<QTOOLS:SMOKE-MODULE-SYSTEM "qtcore">)
Shinmera commented 8 years ago

Bloody hell.

Shinmera commented 8 years ago

Do you have smoke and or smokeqt installed as packages locally? If so, try uninstalling them. Other than that I can't say much-- I'd have to set up a Ubuntu 16 VM and with my workstation still under disrepair I'll have to wait on that for a few days.

mobius-eng commented 8 years ago

OK, somehow (god knows how!) I did have smokeqt and smoke installed. Deleted them - qtools works now.

Shinmera commented 8 years ago

Alright, that confirms my suspicions but doesn't clear them yet. The system should work even if they're present. Them being different versions and accidentally being loaded is what causes the failure you were seeing.

jl2 commented 8 years ago

Sorry for not responding sooner, I got busy with some other stuff and lost track of this.

I'm also still getting the error after cloning the repo, removing the one installed by quicklisp, and trying again.

Shinmera commented 8 years ago

Did you also check for the libraries being installed anywhere else on your system? find / -name "libsmokebase.so*"

Shinmera commented 8 years ago

Ok, if you could try again with

(ql:quickload :qt-libs)
(qt-libs:ensure-standalone-libs :force T)
(ql:quickload :qtgui)

after pulling? That would be great.

Shinmera commented 8 years ago

Nevermind there's more problems along the way. sigh

Shinmera commented 8 years ago

Ok, now I can finally confirm it working on three independent machines. Test away.

Shinmera commented 8 years ago

For documentation purposes, here's my current understanding of the problem:

The initial issue in this ticket is due to a different version of libsmokebase.so than what the rest of the libraries were compiled with being loaded from somewhere else on the system. This then results in invalid symbol references across the libraries.

This is already a very mysterious problem as qt-libs manually enforces the expected load order and pushes its own directory onto LD_LIBRARY_PATH to ensure that the required libs should be loaded before anything from the system.

I then realised that in the actual dependencies of the libs the recorded name usually includes a version number, and the soname recorded in the file does as well. Maybe due to this the system would resolve to its own libraries if they were present. So I updated things to mangle the recorded sonames and dependencies in the libraries to their actual names in the standalone dir. I also updated it to record an explicit rpath into the libraries that is just "." in the hopes that it would doubly force the linker to look in the directory of the library itself.

Unfortunately this doesn't seem to have impacted anything much at all. Two things happen now, depending on how I load things:

  1. If I load the libraries with just their names and no absolute path, the system provided libraries are loaded, even for things like libQtCore.so. This leads to symbol mismatches down the road once libsmokeqtcore.so is loaded. LD_LIBRARY_PATH and the load-path I pass to CFFI seem to get ignored wholly.
  2. If I load the libraries with their absolute paths, dependencies that are not provided by the system, but are in the same directory, have the correct soname, and are in the directories of LD_LIBRARY_PATH are not discovered. I have no fucking idea why this is or how it makes any sense at all.

The second problem is however "only" an issue so far for the libaudio.so file that I have to ship specifically as it only seems to get pulled in on Ubuntu systems, which is what I deploy from. So I had to add that into my explicit load order for Linux as well.

I can't believe I'm saying this, but dear lord I wish things were as simple and straightforward as they are on Windows. I've lost count of the amount of times I thought I had figured out how to deploy things on Linux only to be proven wrong. I'm sure there's still a corner case left even now that will come bite me in the ass later.

shelvick commented 6 years ago

Heads up: I'm getting this error (along with a few warnings) on Fedora 26. This is after deleting FASL's and the standalone directory, recompiling the standalone libs, then trying to build my program.

WARNING: compiling #<FOREIGN-LIBRARY-COMPONENT "smokebase" "smokebase"> completed without its input file #P"/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/smokebase.so" WARNING: loading #<FOREIGN-LIBRARY-COMPONENT "smokebase" "smokebase"> completed without its input file #P"/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/smokebase.so" WARNING: compiling #<FOREIGN-LIBRARY-COMPONENT "commonqt" "QtCore"> completed without its input file #P"/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/QtCore.so" WARNING: loading #<FOREIGN-LIBRARY-COMPONENT "commonqt" "QtCore"> completed without its input file #P"/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/QtCore.so" WARNING: compiling #<FOREIGN-LIBRARY-COMPONENT "commonqt" "QtGui"> completed without its input file #P"/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/QtGui.so" WARNING: loading #<FOREIGN-LIBRARY-COMPONENT "commonqt" "QtGui"> completed without its input file #P"/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/QtGui.so"

debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread

<THREAD "main thread" RUNNING {1001F16B43}>:

Unable to load foreign library (COMMONQT). Error opening shared object "/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/standalone/qtlibs!commonqt.so": /home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/standalone/qtlibs!commonqt.so: undefined symbol: _ZN5Smoke8classMapE.

I am actively working on this and will let you know if I figure out, but suggestions are appreciated.

shelvick commented 6 years ago

$ ldd /home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/standalone/qtlibs!commonqt.so ldd: warning: you do not have execution permission for `/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/standalone/qtlibs!commonqt.so' linux-vdso.so.1 (0x00007ffeaf7aa000) qtlibs!smokebase.so => not found qtlibs!QtGui.so => not found qtlibs!QtCore.so => not found libstdc++.so.6 => /lib64/libstdc++.so.6 (0x000077a97f296000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x000077a97f07f000) libc.so.6 => /lib64/libc.so.6 (0x000077a97ecaa000) libm.so.6 => /lib64/libm.so.6 (0x000077a97e994000) /lib64/ld-linux-x86-64.so.2 (0x000077a97f849000)

Those three qtlibs .so's are present in the standalone directory, so looks like a similar problem of being unable to find them.

shelvick commented 6 years ago

I am able to reproduce the problem after removing FASL's, the standalone dir, and running the steps you mentioned above: (ql:quickload :qt-libs) (qt-libs:ensure-standalone-libs :method :install-sources :force t) (ql:quickload :qt-gui)

At first I thought it must be something related to my project or build script, but this proves otherwise. It could be that only building from sources triggers the problem. I have to do it this way though due to https://github.com/Shinmera/qt-libs/issues/13

Shinmera commented 6 years ago

The undefined symbol error means that the library was linked against a different version of libsmoke than it is being loaded with. Not sure how that can happen, but try looking at the compilation output to see what it's liking with, and check /proc to see which libraries it's opening when you run it.

shelvick commented 6 years ago

Best I can tell, it's looking for a bunch of shared libs in qt-libs-20171227-git/systems. That's also where it looks before triggering those ASDF warnings.

stat("/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/smokebase.so", 0x7ffff02c6590) = -1 ENOENT (No such file or directory) lstat("/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/smokebase.so", 0x7ffff02c64a0) = -1 ENOENT (No such file or directory) stat("/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/smokebase.so", 0x7ffff02c67b0) = -1 ENOENT (No such file or directory) lstat("/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/smokebase.so", 0x7ffff02c66c0) = -1 ENOENT (No such file or directory) stat("/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/smokebase.so", 0x7ffff02c6590) = -1 ENOENT (No such file or directory) lstat("/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/smokebase.so", 0x7ffff02c64a0) = -1 ENOENT (No such file or directory) stat("/home/user/quicklisp/dists/quicklisp/software/qt-libs-20171227-git/systems/smokebase.asd", {st_mode=S_IFREG|0664, st_size=419, ...}) = 0

standalone]$ ldd qtlibs!commonqt.so ldd: warning: you do not have execution permission for `./qtlibs!commonqt.so' linux-vdso.so.1 (0x00007ffdffd45000) qtlibs!smokebase.so => ./qtlibs!smokebase.so (0x00007bf5986ea000) qtlibs!QtGui.so => ./qtlibs!QtGui.so (0x00007bf59779e000) qtlibs!QtCore.so => ./qtlibs!QtCore.so (0x00007bf5971ca000) libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007bf596e41000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007bf596c2a000) libc.so.6 => /lib64/libc.so.6 (0x00007bf596855000) libm.so.6 => /lib64/libm.so.6 (0x00007bf59653f000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007bf596320000) libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007bf59600d000) libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007bf595d5d000) libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007bf595b0b000) libSM.so.6 => /lib64/libSM.so.6 (0x00007bf595903000) libICE.so.6 => /lib64/libICE.so.6 (0x00007bf5956e7000) libXrender.so.1 => /lib64/libXrender.so.1 (0x00007bf5954dd000) libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007bf595298000) libXext.so.6 => /lib64/libXext.so.6 (0x00007bf595086000) libX11.so.6 => /lib64/libX11.so.6 (0x00007bf594d48000) libdl.so.2 => /lib64/libdl.so.2 (0x00007bf594b44000) librt.so.1 => /lib64/librt.so.1 (0x00007bf59493c000) /lib64/ld-linux-x86-64.so.2 (0x00007bf598b18000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007bf5946ca000) libz.so.1 => /lib64/libz.so.1 (0x00007bf5944b3000) libbz2.so.1 => /lib64/libbz2.so.1 (0x00007bf5942a3000) libpng16.so.16 => /lib64/libpng16.so.16 (0x00007bf594070000) libffi.so.6 => /lib64/libffi.so.6 (0x00007bf593e68000) libuuid.so.1 => /lib64/libuuid.so.1 (0x00007bf593c63000) libexpat.so.1 => /lib64/libexpat.so.1 (0x00007bf593a30000) libxcb.so.1 => /lib64/libxcb.so.1 (0x00007bf593808000) libXau.so.6 => /lib64/libXau.so.6 (0x00007bf593604000)

On my system all the compiled qtlibs go into the standalone directory, so the fact that it's looking in systems seems weird.

DanielHensel commented 4 years ago

I have a similar problem. I cleaned all the cashes and tried everything posted abobe this thread. I try to get qtools working on macOS=>no success

(ql:quickload :qt-libs) (qt-libs:ensure-standalone-libs :force T) (ql:quickload :qtgui) To load "qt-libs": Load 1 ASDF system: qt-libs ; Loading "qt-libs"

Running stage INSTALL-BINARIES for #<QT4 {10082E5B23}> Running stage DOWNLOAD-BINARIES for #<QT4 {10082E5B23}> -> Downloading https://github.com/Shinmera/qt4/releases/download/qt-libs2.0.1/mac64-qt4.zip to ~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/binaries.zip WARNING: No checksum for NIL NIL binary archive of #<QT4 {10082E5B23}> -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/accessible/libqtaccessiblecompatwidgets.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/accessible/libqtaccessiblecompatwidgets.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/accessible/libqtaccessiblewidgets.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/accessible/libqtaccessiblewidgets.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/bearer/libqcorewlanbearer.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/bearer/libqcorewlanbearer.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/bearer/libqgenericbearer.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/bearer/libqgenericbearer.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/codecs/libqcncodecs.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/codecs/libqcncodecs.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/codecs/libqjpcodecs.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/codecs/libqjpcodecs.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/codecs/libqkrcodecs.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/codecs/libqkrcodecs.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/codecs/libqtwcodecs.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/codecs/libqtwcodecs.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/designer/libphononwidgets.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/designer/libphononwidgets.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/designer/libqdeclarativeview.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/designer/libqdeclarativeview.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/designer/libqt3supportwidgets.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/designer/libqt3supportwidgets.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/designer/libqwebview.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/designer/libqwebview.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/designer/libqwt_designer_plugin.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/designer/libqwt_designer_plugin.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/graphicssystems/libqglgraphicssystem.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/graphicssystems/libqglgraphicssystem.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/graphicssystems/libqtracegraphicssystem.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/graphicssystems/libqtracegraphicssystem.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/iconengines/libqsvgicon.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/iconengines/libqsvgicon.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/imageformats/libqgif.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/imageformats/libqgif.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/imageformats/libqico.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/imageformats/libqico.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/imageformats/libqjpeg.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/imageformats/libqjpeg.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/imageformats/libqmng.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/imageformats/libqmng.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/imageformats/libqsvg.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/imageformats/libqsvg.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/imageformats/libqtga.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/imageformats/libqtga.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/imageformats/libqtiff.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/imageformats/libqtiff.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/qmltooling/libqmldbg_inspector.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/qmltooling/libqmldbg_inspector.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/qmltooling/libqmldbg_tcp.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/qmltooling/libqmldbg_tcp.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/plugins/script/libqtscriptdbus.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/plugins/script/libqtscriptdbus.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!Qt3Support.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!Qt3Support.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtCLucene.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtCLucene.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtCore.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtCore.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtDBus.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtDBus.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtDeclarative.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtDeclarative.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtDesigner.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtDesigner.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtDesignerComponents.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtDesignerComponents.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtGui.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtGui.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtHelp.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtHelp.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtMultimedia.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtMultimedia.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtNetwork.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtNetwork.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtOpenGL.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtOpenGL.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtScript.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtScript.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtScriptTools.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtScriptTools.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtSql.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtSql.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtSvg.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtSvg.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtTest.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtTest.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtUiTools.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtUiTools.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtWebKit.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtWebKit.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtXml.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtXml.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!QtXmlPatterns.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!QtXmlPatterns.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!crypto.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!crypto.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!dbus-1.3.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!dbus-1.3.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!phonon.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!phonon.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!png16.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!png16.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!qimageblitz.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!qimageblitz.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!qwt.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!qwt.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!ssl.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!ssl.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/qt4/install/qtlibs!z.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!z.dylib" Running stage INSTALL-BINARIES for #<SMOKEGEN {1001A63B53}> Running stage DOWNLOAD-BINARIES for #<SMOKEGEN {1001A63B53}> -> Downloading https://github.com/Shinmera/smokegen/releases/download/qt-libs2.0.1/mac64-smokegen.zip to ~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokegen/binaries.zip WARNING: No checksum for NIL NIL binary archive of #<SMOKEGEN {1001A63B53}> -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokegen/install/qtlibs!smokebase.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokebase.dylib" Running stage INSTALL-BINARIES for #<SMOKEQT {100221E633}> Running stage DOWNLOAD-BINARIES for #<SMOKEQT {100221E633}> -> Downloading https://github.com/Shinmera/smokeqt/releases/download/qt-libs2.0.1/mac64-smokeqt.zip to ~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/binaries.zip WARNING: No checksum for NIL NIL binary archive of #<SMOKEQT {100221E633}> -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokephonon.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokephonon.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqimageblitz.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqimageblitz.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqt3support.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqt3support.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtcore.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtcore.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtdbus.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtdbus.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtdeclarative.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtdeclarative.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtgui.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtgui.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqthelp.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqthelp.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtmultimedia.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtmultimedia.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtnetwork.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtnetwork.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtopengl.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtopengl.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtscript.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtscript.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtsql.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtsql.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtsvg.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtsvg.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqttest.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqttest.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtuitools.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtuitools.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtwebkit.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtwebkit.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtxml.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtxml.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqtxmlpatterns.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqtxmlpatterns.dylib" -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/smokeqt/install/qtlibs!smokeqwt.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!smokeqwt.dylib" Running stage INSTALL-BINARIES for #<LIBCOMMONQT {1004D6A573}> Running stage DOWNLOAD-BINARIES for #<LIBCOMMONQT {1004D6A573}> -> Downloading https://github.com/Shinmera/libcommonqt/releases/download/qt-libs2.0.2/mac64-libcommonqt.zip to ~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/libcommonqt/binaries.zip WARNING: No checksum for NIL NIL binary archive of #<LIBCOMMONQT {1004D6A573}> -> Copying "~/.cache/common-lisp/sbcl-2.0.3-macosx-x64~/quicklisp/local-projects/qt-libs-master/libcommonqt/install/qtlibs!commonqt.dylib" to "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!commonqt.dylib" To load "qtgui": Load 1 ASDF system: qtgui ; Loading "qtgui"

Unable to load foreign library (COMMONQT). Error opening shared object "~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!commonqt.dylib": dlopen(~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!commonqt.dylib, 10): Library not loaded: qtlibs!smokeqtcore.dylib Referenced from: ~/quicklisp/local-projects/qt-libs-master/standalone/qtlibs!commonqt.dylib Reason: image not found.

Any ideas?