Problem background
Since updating to OS X El Capitan, Vector Magic Desktop Edition crashes when you try to vectorise an image, at the smoothing image step.
Dyld Error Message:
Symbol not found:_dgesv_
Referenced from:/Applications/Vector Magic.app/Contents/MacOS/Vector Magic Desktop Edition
Expected in:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
This is due to the libBLAS.dylib being updated in El Capitan and Vector Magic not being updated for it. This also applies to macOS Sierra since the same updated dylib is present there too. You can fix this by replacing the libBLAS.dylib with an older version.
Also, since updating to macOS Sierra, Vector Magic crashes on launch as Vector Magic Desktop Edition cannot be opened because of a problem. This is followed by a crash log with the following:
Application Specific Information:
dyld: launch, loading dependent librariesDYLD_LIBRARY_PATH=/Applications/Vector Magic.app/Contents/MacOS:/Applications/Vector Magic.app/Contents/MacOS/ImageMagick-6.4.1/lib
Dyld Error Message:
Symbol not found:_appleblas_i16gemm
Referenced from:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
Expected in:/Applications/Vector Magic.app/Contents/MacOS/libBLAS.dylib
in /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
libBLAS.dylib
For both the solutions below, you will need a copy of libBLAS.dylib from Yosemite. If you have a Mac still running 10.10, you can grab it from the folder shown in the next step, otherwise you can download libBLAS.dylib here. This libBLAS.dylib is from OS X Yosemite 10.10.4 where Vector Magic works fine.
New solution: replace the dylib in Vector Magic
Thanks to a comment, an alternative solution is provided which doesn't require you to disable SIP, as you can replace the dylib within Vector Magic itself.
- Open Finder, press ⇧⌘G and paste
/Applications/Vector Magic.app/Contents/MacOS/ImageMagick-6.4.1/lib
- Drag the replacement libBLAS.dylib from Yosemite (download from above) into this folder.
- In macOS Sierra: Run the following in Terminal: (triple-click to select the entire line)
cp /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib /Applications/Vector\ Magic.app/Contents/MacOS/ImageMagick-6.4.1/lib
This command copies libBNNS.dylib from the system's Accelerate framework to Vector Magic ImageMagick's lib folder. You are welcome to do this manually using the Finder instead of running this command as both achieve the same effect.
If this doesn't work, try the original solution provided below.
Original solution for El Capitan and prior: replacing the system dylib
The new solution applies to Sierra and prior, not just Sierra. You should try the new solution first before tampering with system files in this solution.
- Disable System Integrity Protection to permit OS X to modify system dylibs. If you don't disable SIP, you can't make changes to /System/Library/Frameworks/ which prevents you from modifying the dylib.
- Open Finder, press ⇧⌘G and paste
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/
- These next steps must be carried out exactly as shown here, otherwise this could leave you with a system which only boots to single user mode. You're making changes to system dylibs—have a backup you can access in single user mode. You can't just delete the dylib and replace it.
- Select libBLAS.dylib in the folder you just opened, hold ⌥ and drag it to the same folder.
- Drag the replacement libBLAS.dylib which you obtained above or from another system to this folder and select Replace in the Finder dialog.
Vector Magic will work fine now! If you need to use the original libBLAS.dylib, you can replace it with the libBLAS 2.dylib
. You can re-enable System Integrity Protection after verifying that Vector Magic works.
**** FIX FOR Mac OS Sierra ****
i copied the libBNNS.dylib file from:
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/
and pasted it into the Vector Magic directory:
/Applications/Vector Magic.app/Contents/MacOS/ImageMagick-6.4.1/lib
along with the fix in this blog with the libBLAS file from Yosemite and now i have vector magic working in Sierra 🙂
hope that helps get everyone else back up and running https://uploads.disquscdn.com/images/dc0b557cee8e135b0dc0b2c0cc90c65376e607c4034f7430af5b15807928d60d.png
Thank you Mr Jonny Heald. You friggin heaven sent angel.
Yes yes yes. For macOS users that couldn't get the above solution to work!!
thank you sir once again
Thanks!!!!!
Thank You @jonnyheald:disqus!!!!! It's working on MacOS X Sierra!!!!
Thanks for this! I've updated the blog post with this new information about libBNNS.dylib for macOS Sierra.
Any update on Mojave? Also, how do you delete the libBLAS.dylib file after? macOS won't allow it because it's a system file. Thanks in advance!
I know this is an old thread (Okay, a REALLY old thread) but was wondering if anyone has gotten this to work on Mojave yet?
Does the download work? It just opens random simbols in the browser.
It's a zip file, so you need to download it. If your browser doesn't understand that it can't display a zip file, right-click on the download link and choose ‘download linked file’ or equivalent.
Anyone have the download libBLAS.dylib from Yosemite?
If then please send!
I put a download link in the post above!
It won't even open on the MacOS Sierra Beta .. hope there will be a fix when the OS come out this fall
A fix was published, please take a look!
Its works! thank you very much......god will pay you!!
Thanks a lot! It's working well.
Thank you so much!
Excellent work! Worked like a charm! Thank you!!
Thank you so much for this!
You are the best dude, thanks so much!
Thank you!
EXCELLENT!!!! Thanks very much!!! It works replacing libBLAS!!!
Since putting libBLAS.dylib into the folder, Vector Magik doesn't open at all now, only when I remove libBLAS.dylib back out of that folder, the program will run, but when creating a vector, it'll crash and the program will just disappear.
Same problem here.
Mac OS Sierra, right?
With the LibBlas.dylib The App doesn't open, without, crash when render smoothness
I've updated the post with new instructions that work in macOS Sierra, take a look!
Right!
Not sure if this can help someone figure our a fix but using the libBLAS as instructed above when it crashes it gives this error in the logs:
Dyld Error Message:
Symbol not found: _appleblas_i16gemm
Referenced from: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
Expected in: /Applications/Vector Magic.app/Contents/MacOS/ImageMagick-6.4.1/lib/libBLAS.dylib
in /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
Looks like Sierra is looking for i16gemm in the BLAS file but its not there.
anyone?
i figured it out guys, check my fix above in these comments for Mac OS Sierra fix
There's new instructions in the post now that work with macOS Sierra!
Still the same issue, uninstalled and installed Vector Magic again, but it doesn't have libBLAS.dylib in the folder, so I downloaded and put it in there (from the download on this webpage) and Vector Magic doesn't open at all... only when I take that libBLAS file back out, Vector Magic opens, but then crashes every time at the end of the smoothing process, and yes this is with macOS Sierra, it was working fine with El Capitan.
Didnt work for me. I replaced libBLAS.dylib from vm folder and nothing happened. Then i try to raplace from version/a immediatly my finder and orthers app stopped to work. I had to reestar my mac and now its freezing on boot sreen on 100%
New solution works on: El Capitan 10.11.6Thanks man!
THX!!!!!!!!
Great!! It works fine now! Thanks 🙂
I followed all the steps. But since I replaced libBLAS.dylib with yours, I couldn't log in my user on my MacBook Pro. It just stuck on the loading bar. Luckily, I found ways to replace it back the dylib from another machine and I can log back in. Vector Magic still not work tho. Any help?
This happens if you delete libBLAS.dylib, then copy the new one in. Make sure that there's always a libBLAS.dylib in the folder by copying the replacement on top of the existing using Replace in Finder. When making the backup, holding alt makes sure that the existing is not moved. This also means that if you need to recover for any reason, you can boot into Single User Mode and
mv
the backup on top of the replacement.I didn't delete it, just replaced it from Finder. I've followed all the steps above exactly as it is. Any step that I missed?
That's interesting, the symptoms you described is what happened to me when I deleted it and copied the new one, and fixed it by replacing in Finder. If anyone else has this problem, a verbose boot log would be helpful in diagnosing exactly what causes this. My suggestion would be to try again, or try in single user mode to take away from Finder's inconsistencies, but always be very careful!
Anyway.. It worked now! I can't use your downloadable libBLAS.dylib, that gets me stuck on the loading bar. I used libBLAS.dylib from my other older macbook pro (OS X Yosemite) and it worked now! Is it okay to use the modified libBLAS.dylib for long term use of the machine? Will it be a problem? Thank you by the way.
I've used this workaround since the developer previews of El Capitan and not had any problems with any other apps after getting it working, so it should work fine, but there's obviously a reason that Apple updated the dylib in the first place—just not sure what that reason is.
Add libBLAS.dylib inside VM, and this work....magic ;D
This solution is better:
1. Download libBLAS.dylib from Yosemite
1. Open the contents of the Vector Magich . app
2. Paste the downloaded libBLAS.dylib to this folder → Vector Magic . app / Contents / MacOS / ImageMagick-6.4.1 / Lib
4. Done!
Thanks for proposing this alternative workaround. I've added the steps to the post.
it works with MacOS Sierra!!!!!!!!!!! THX
I've updated the post to reflect the solution working in macOS Sierra too.
I've tried the new solution and does not work for me in MacOS Sierra 🙁
The app does not even opens, it crashes instantly
Hello I´m trying to follow your steps But when i try to copy the file they don´t let me copy the file in the folder, what I have to do to get me access ? or copy the file in folder ? thanks and regards 🙂
Follow step 1 by disabling System Integrity Protection. Full details are available in the link provided in step 1. You'll need to provide administrator authentication in Finder when replacing the file.
Yeahhhhhhh thanks a lot it work perfect cheers
New solution works for me, two up sides comparing to the initial workaround; 1- It is safer (no fiddling in the system folder) 2- It will work even with the future OS updates (if Apple doesn't change more framework functionality) Thanks author!
dude you are a genious !!! thx !!!
You're a miracle worker. Thank you.
Thank you ! You're a genious !
dude you saved my life. thank you!
Thank you!
Thanks! you save my life!
it works 🙂 !!!
Its not working anymore 🙁 i have updated to Sierra 10.12.6 (16G29) Any solution? also the file link is not working
It's still working for me in Sierra and High Sierra! The file link works fine too, can you expand on what issues you're having?
Okay i just check the libBLAS.dylib which you posted in your original solution is available now i think i had a problem with my browser before. It works like a charm. Thanks mate
This is somehow not working for me. I copied the link above from the new solution and receive this in my Terminal. Thoughts on what's going wrong? I am running High Sierra.
Last login: Tue Feb 20 12:13:16 on console
Ryans-iMac:~ ryansprague$ cp /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib /Applications/Vector Magic.app/Contents/MacOS/ImageMagick-6.4.1/lib
cp: /Applications/Vector Magic.app/Contents/MacOS/ImageMagick-6.4.1/lib: No such file or directory
Ryans-iMac:~ ryansprague$
That not working for me!
You'll need to be more specific. Are you referring to the download link itself or one/both of the solutions given in the post?
If you want to reply to a comment, use the reply button rather than starting a new discussion.
The link is not working, this is what i get:
�����������������0�
If your browser shows the file rather than downloading it (doesn't support detecting the MIME type), right-click the link and choose ‘Download Linked File’ or equivalent.
Thank you worked perfectly...