Bitcoin Forum
November 04, 2024, 07:34:38 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: macOSX 10.8.3- LTC CPUMINER (dreaded 'image not found')  (Read 2701 times)
hoplouie (OP)
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
April 09, 2013, 02:51:20 AM
 #1

Greetings people. Ive read over poolers thread a few time and I'm still at a disadvantage. I'm a super noob at this stuff but I would love to get my mac to mine LTC. While I was using terminal I tried to install via poolers instructions and got this:

dyld: Library not loaded: /opt/local/lib/libidn.11.dylib
  Referenced from: /Users/slopez/Downloads/CPUMINER/./minerd
  Reason: image not found
./MINERD.sh: line 1: 39670 Trace/BPT trap: 5       ./minerd --url http: //mine.pool-x.eu/ --userpass xxxxxx.1:x


I've researched my situation and I know that I'm not the only one. A helpful user stated in pooler's thread:
"it cant load the library libidn who should be at /opt/local/lib/libidn.11.dylib because it dosnt exist.
error reading is easy"

https://bitcointalk.org/index.php?topic=55038.msg1505063#msg1505063

After researching, I found out that I should be using Homebrew to install libidn but I would need to install codex4 first. I did install codex4 and ran the 'gcc -v' to verify. Shortly thereafter I installed Homebrew and wrote:
brew install libidn
and then after it was done
locate libidn

It showed '/usr/local/Cellar/libidn' and a bunch more lines. I went back through the poolers instructions and I came up with a slightly different error:

yld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib
  Referenced from: /usr/bin/minerd
  Reason: image not found
./MINERD.sh: line 1: 50567 Trace/BPT trap: 5       minerd --url http: //mine.pool-x.eu/ --userpass xxxxxx.1:x


It appears that Im now looking for a new and different directory.

I read that I may need to symlink the destination (another way of creating an alias?)
https://bitcointalk.org/index.php?topic=55038.msg1510640#msg1510640

do I need macport to do this and not Homebrew? One miner suggested macport at the bottom of this thread:
http://forum.litecoin.net/index.php/topic,1015.msg5916.html#msg5916

Do I need the 'Tarball' that Pooler mentioned for a guy with 10.7 system?
https://bitcointalk.org/index.php?topic=55038.msg797122#msg797122


I've done as much as I can to figure this stuff out but my inexperience has got the best of me. I humbly ask for your help.

-Hoplou
hoplouie (OP)
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
April 09, 2013, 06:47:30 AM
 #2

Are there any OSX 10.8.3 miners out there? I can't be the only mac with this problem. help!
hoplouie (OP)
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
April 09, 2013, 10:12:54 PM
Last edit: April 10, 2013, 12:45:29 AM by hoplouie
 #3

here's how to do it.
http://cynic.me/2013/04/08/litecoin-mining-on-mac-os-x-solving-library-errors/

Mods it's obv that I'm not trolling. Release me from purgatory!  Cool

Quote
I have FINALLY managed to get an LTC miner running on my Mac. The basic problem was that unless you do a lot of development on a Mac, you’re unlikely to have your machine set up properly for mining, and you’ll get missing library errors from the miner -  libidn.11.dylib and libssl.1.0.0.dylib.

(I generally find that OS X is simply a shiny version of Unix that’s harder to use. Getting a miner running was further confirmation that anyone who is considering a Mac should just get some blazing fast hardware and slap on some Linux distro. But I digress… On to mining Litecoin on a Mac!)

First, upgrade OS X to 10.8 or whatever. Apple never supports anything older than from last week, so might as well get up to date.

Next, install the most recent version of Xcode, which is 4.6.1 at the moment. Why do you need to install development tools to mine litecoin? Because it’s a Mac. That’s why.

Once you’ve got that installed, install MacPorts. You’ll need to install some other things before installing that, but MacPorts walks you through it quite well.

Once you’ve got that done, you’ll need to make certain that you have the right libraries available for the miner. Open a terminal and run the following:

sudo port selfupdate
sudo port clean wget
sudo port install wget
sudo port clean openssl
sudo port install openssl

Otherwise you may end up with errors about missing libraries: libidn.11.dylib and libssl.1.0.0.dylib.
You’re then ready for the miner:

After all this is done... follow poolers instructions to get CPUminer working.
Coinkle
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
April 10, 2013, 03:39:39 AM
 #4

Thank you for posting this. I need to upgrade to 10.8 anyway.
Sincerely, Thanks. Sometimes its a very lonely feeling when you're trying to do this stuff on a Mac.
I guess thats why the PC guys hate us. Its not a user friendly system.
davidkassa
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
April 12, 2013, 08:28:08 PM
 #5

Thanks for the instructions
anomalies
Newbie
*
Offline Offline

Activity: 13
Merit: 0



View Profile
April 17, 2013, 09:23:10 AM
 #6

thank you for the hint.. at least can test this macbook pro for full week running 100% load.  Grin
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!