I am deploying qt application for macos so in order to create .app I am using macdeployqt tool.
My problem is that when I run the application I get this error:
dyld: Library not loaded: #rpath/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets
Referenced from: /Users/raulsanchez/Documents/workspace/Myapp.app/Contents/MacOS/Myapp
Reason: image not found
I have checked with otool and i have this:
#rpath/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets (compatibility version 5.9.0, current version 5.9.7)
If it matters I have used macdeployqt with option -use-debug-libs and -no-strip
Could anyone help me on this?
Thanks in advance
I finally found the solution. Since I was using debug version of the Frameworks '_debug' suffix was being appended. That was the reason why it was not being found
Related
I developed an application in Xojo that uses a third party library to control a device. It works on one mac, but then when I try to run it on the other it gives me the following error:
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: /usr/local/lib/libftd2xx.1.2.2.dylib
Referenced from: /Users/USER/Downloads/*/libuFCoder.dylib
Reason: no suitable image found. Did find:
/usr/local/lib/libftd2xx.1.2.2.dylib: stat() failed with errno=62
/usr/local/lib/libftd2xx.1.2.2.dylib: stat() failed with errno=62
The Macs are both updated with the latest OSX El Capitan, and have the FTDI drivers installed. Any help would be appreciated.
I have installed the drivers on El Capitan and it worked for me, even with an absolute path with Xojo 2012.21. Try reinstalling the D2XX 1.2.2 driver in /usr/local/lib (as instructed in the ReadMe file) and remove all old "libftd2xx" files.
Also remember you need to install D2xxHelper for the driver to work properly on El Capitan.
To check if the uFCoder library properly links against libftd2xx, open the Terminal, type "otool -L <path to the uFCoder lib>"; the 2nd line should start with "/usr/local/lib/libftd2xx.1.2.2.dylib".
HTH
My installation of MampStack (Version 5.3.10) stopped working after upgrading to Yosemite and Xcode 6.3.2
In the log I have these type of errors:
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /Applications/MampStack/common/lib/libJPEG.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
I tried to apply the principles of this answer, but without success.
What could be a way to solve this problem?
I solved the problem with this workaround:
/Applications/MampStack/mysql/scripts/ctl.sh
I added at the beginning:
unset DYLD_LIBRARY_PATH
And restarted MySQL
dyld: Library not loaded: QtGui.framework/Versions/4/QtGui
Referenced from: /usr/local/lib/libopencv_highgui.2.4.dylib
Reason: image not found
(lldb)
Can anyone help to fix this problem ?
The library seems to be missing. Reinstall QTGui framework.
Now I can install OpenCV but for QT I could not. Could you please list the instructions for OpenCV and QT installation? I may reinstall again to combine them together. I prefer to use QT5 if it possible if my previous work is on QT4?
Many thanks Volker.
Are you guys suffered from this question when using IUP on MacOS?
Gizak-Pro:iup-3.6_MacOS107_bin Gizak$ ./iupview
dyld: Library not loaded: /sw/lib/fontconfig2/lib/libfontconfig.1.dylib
Referenced from: /Users/Gizak/Downloads/iup-3.6_MacOS107_bin/./iupview
Reason: image not found
Trace/BPT trap: 5
So..How to make it work? That would be very helpful!
OS:Mac OS X 10.7.5
install lua5.1 by port
IUP version:3.6
That application depends on some libraries that are not installed on your system.
In the IUP documentation you will be able to find a guide how to run IUP on MacOSX. The relevant section is in IUP / System / Drivers / GTK.
The binary you're using is linking to a path provided by Fink, check the README.md in the download directory of IUP sf project.
You could either:
install Fink and fullfill the dependencies
rewrite the dependency using install_name_tool
set DYLD_FALLBACK_LIBRARY_PATH to match dependencies installed by another source
I tried to run webrat tests in selenium mode, but I got the following error:
dyld: Library not loaded: /usr/lib/libsqlite3.dylib
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides version 1.0.0
I followed the solution here “http://agilesoftwaretesting.com/?p=105", then I got another error when selenium tried to open firefox:
SQLite Version Error
The application has been updated, but your version of SQLite is too old and the application cannot run.
I am on Snow Leopard.
Thanks a lot.
It's a really bad idea to change the SQLite Firefox ships with. The Selenium ticket for this describes the proper fix for it.