Using Latex under OS Yosemite - latex

I just started on learning about the Latex world with this tutorial:.
When I try to call
xdvi first.dvi
I get the following message:
dyld: Library not loaded: /usr/X11/lib/libXaw.7.dylib
Referenced from: /usr/texbin/xdvi-xaw
Reason: image not found
Trace/BPT trap: 5
I already tried to re-install imagemagick (In case the problem was caused by it), but it didn't solve my case.
Any guess?

sudo ln -s /opt/X11 /usr/X11 worked for me. Solved the problem and I've been trying to figure it out for quite a while.

Related

Vapor Installation Issues (First time using Vapor) using Swift 5

After installing vapor i am getting below error
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/bin/vapor
Reason: image not found
Abort trap: 6
Here lies my issue, I have no idea how to solve that.even I am not able to create new project.
Please help.
I never faced with that issue but saw this tricky solution in some chat
ln -s /usr/local/opt/openssl/lib/libssl.1.1.dylib /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
ln -s /usr/local/opt/openssl/lib/libcrypto.1.1.dylib /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
or maybe libressl needed
brew install libressl
Have you tried ?
brew update && brew upgrade
brew install openssl

How to fix octave Library not loaded and Abort trap: 6 bug?

Whenever I try to run octave:
$ octave
I get this error:
dyld: Library not loaded: /usr/local/opt/hwloc/lib/libhwloc.15.dylib
Referenced from: /usr/local/opt/open-mpi/lib/libmpi_usempif08.40.dylib
Reason: image not found
Abort trap: 6
How do I fix this?
Details:
Operating system: macOS.
Octave installed via homebrew command - brew install octave
Note- I tried to run brew reinstall --build-from-source octave,
But it freezes midway at:
==> ./configure --prefix=/usr/local/Cellar/octave/5.1.0_4 --disable-silent-rules
==> make all
Make sure hwloc is installed by typing brew install hwloc in your terminal.
If that doesn't work, try navigating to the directory its looking for the file in your terminal:
cd /usr/local/opt/hwloc/lib/
ls
Look for a similar library and make a copy of it, renaming it to libhwloc.15.dylib. If there is a file called libhwloc.5.dylib type
cp libhwloc.5.dylib libhwloc.15.dyli

NCO, Library not loaded

I am trying to run the NCO executable ncks in the terminal window. I found that I needed to create a .bashrc file to initially get started in addition to installing NCO from MacPorts. Now when I run ncks I get this error.
dhcp-v219-194:~ mlaf$ ncks
dyld: Library not loaded: #rpath/libssh2.1.dylib
Referenced from: /Users/matthewlaffin/anaconda/bin/ncks
Reason: image not found
Trace/BPT trap: 5
I am new to terminal and NCO but I have read that there could be an error in the path name which results in NCO not being able to find the Library. Does anyone have any insight into how to fix this?
The error message is from (ana)conda, not from MacPorts, because the ncks executable /Users/matthewlaffin/anaconda/bin/ncks is in your (ana)conda directory, and it is trying to find an (ana)conda library that apparently not installed. Not sure why. See this issue for a possible solution.
If you did not have (ana)conda installed, then presumably your default NCO would be from MacPorts, and the MacPorts installation works so long as your PATH and LD_LIBRARY_PATH are correctly set.

Homebrew not installing?

So, I've googled and googled and googled for months and can't find anyone else having this error. So, I'm going to ask here (even though my questions keep getting closed and deleted). This also happens when I try to use any of Homebrew's install commands. It also happens when I try to install git.
I went onto the Homebrew wiki and found this command:
mkdir homebrew && curl -L https://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C homebrew
I got the following error:
dyld: Library not loaded: /usr/local/Cellar/openssl/1.0.1e/lib/libcrypto.1.0.0.dylib
Referenced from: /opt/local/lib/libssl.1.0.0.dylib
Reason: no suitable image found. Did find:
/usr/local/Cellar/openssl/1.0.1e/lib/libcrypto.1.0.0.dylib: stat() failed with errno=13
I ran this command:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
And got the exact same error.
I have XCode Command Line Tools installed, and have the latest version of XCode.
I need help with this because I wish to install Ninja-IDE on Mac.
Thanks! Any help is appreciated!
Well, I fixed this issue myself. I had to wipe my MacBook Pro, and then it worked. Good luck, and hope this helps anyone else who has had this issue!

How do I make Cucumber and RMagick play nice on Snow Leopard?

I installed Snow Leopard and things have been going great, after a few re-installs. But now when I go to run cucumber, I get the error below, and I can't find anything conclusive through Google searches. Has anyone run into this, or maybe have some troubleshooting steps to try?
$ cucumber features
dyld: NSLinkModule() error
dyld: Library not loaded: /opt/local/lib/libfreetype.6.dylib
Referenced from: /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.10.0/lib/RMagick2.bundle
Reason: no suitable image found. Did find:
/opt/local/lib/libfreetype.6.dylib: can't map
/usr/local/lib/libfreetype.6.dylib: mach-o, but wrong architecture
Trace/BPT trap
You should check if rmagick is the correct version and compiled correctly for your new osx.
It resulted that the .dylib file was in /usr/X11/lib/libfreetype.6.dylib
so it was just matter of copying it from there, or make a symbolic link:
cd /opt/local/lib/
ln -s /usr/X11/lib/libfreetype.6.dylib

Resources