yokochi47 / Olivia

Planning open-source version of Olivia, NMR assignment analysis software
http://fermi.pharm.hokudai.ac.jp/olivia/
Apache License 2.0
0 stars 0 forks source link

Library problems #1

Open ag83uk opened 6 years ago

ag83uk commented 6 years ago

Hi

I have downloaded Olivia and followed all the instruction.

But I have still some problems with some libraries

I am currently using Macbook Retina mid 2014 macOS High Sierra 10.13.4

I tried to look for solution but still not solved the problem

Thanks

Best

Angelo

yokochi47 commented 6 years ago

Dear Angelo,

Thank you for your notice. Could you please post error message displayed on the terminal to find out which libraries were missing?

Best regards,

Masashi

ag83uk commented 6 years ago

HI Masashi,

thanks for the help

Application Specific Information: dyld: launch, loading dependent libraries DYLD_LIBRARY_PATH=/Users/AngeloGallo/Desktop/Olivia-master/olivia_home/libhpdf-2.3.0RC2/src/.libs:/usr/local/lib:/Users/AngeloGallo/Desktop/Olivia-master/olivia_home/libsvm-3.22:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A:/Users/AngeloGallo/Desktop/Olivia-master/olivia_home/xbae-4.60.4/src/.libs:/Users/AngeloGallo/Desktop/Olivia-master/olivia_home/motif-2.3.4/lib/Xm/.libs

Dyld Error Message: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /usr/local/lib/libJPEG.dylib in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO

ag83uk commented 6 years ago

I have also got this message while running the Olivia

Local Host: angelo.local, Local IP Address: 127.0.0.1

Couldn't get environment variable $NMRBIN.

yokochi47 commented 6 years ago

Thank you for your post.

It seems the same issue occured in other 3rd party UNIX command: https://stackoverflow.com/questions/17643509/conflict-between-dynamic-linking-priority-in-osx

As descrived above, you need to change priolity by insertion of the next code in head of ~/.bashrc or ~/.bash_profile: export DYLD_LIBRARY_PATH=/usr/lib/:$DYLD_LIBRARY_PATH

or re-run brew command to install libjpeg and re-link libjpeg: brew install libjpeg && brew unlink libjpeg && brew link libjpeg

The "Local Host ***" line is normal output. If you install NMRPipe ahead of installation of Olivia, The "Couldn't get environment variable $NMRBIN" message will disappear.

I hope this will help.

Masashi

yokochi47 commented 6 years ago

Hi,

Then, I could reproduce the conflict libraries installed by brew. As descrived stackoverflow, the next solution worked for me.

cd /usr/local/lib; mv libjpeg.dylib libjpeg.dylib.bk; ln -s /System/Library/Frameworks/ImageIO.framework/Resources/libJPEG.dylib libJPEG.dylib

Masashi