Page 1 of 1

can't locate libmp3lame.dylib

Permanent link to this postPosted: Tue Apr 19, 2016 6:15 pm
Posted by RichBassTone
I need help with this. Here's what I have done. I have done some searching and can't seem to see a solution.
Installed Audacity 2.1.2 on my Mac running OS X Yosemite 10.10.5
Downloaded the Lame_Library_v3.98.2_for_Audacity_on_OSX.dmg and that is in my "Downloads" folder.
I double click that and it brings up a .pkg file in a window.
I double click that and it asks me if i am sure I want to open it.
I select "open" and it goes through the install process as a "Standard install on "Macintosh HD".
I select install and I get a notification that the installation was successful.
At this point it i also see the "Lame Library v.3.98.2 for Audacity.kg" "mounted" as a device on the side of my finder widow. Should I "eject " this after the install is done? I am sort of new to mac, so I'm not quite clear on this.
I have done this process a number of times, so I also don't know if I have six installations, or if it installed over the same each time?
Of course when I try to find the file needed to do the "Export to MP3" it asks me to search and thats where I hit the wall.
I have looked in the suggested locations and can't find it. I am not a lifelong mac user so maybe I am doing something wrong. The locations that have been suggested: "the top-level (Macintosh HD) library, that is, at Library/Application/Support/Audacity." and "Music>Audacity" don't seem to exist on my machine, and I have done a search for the file "libmp3lame.dylib" and finder never seems to be able to locate it. And of course the default location (/usr/local/lib/audacity/libmp3lame.dylib that Audacity wants it to be in seems to be a mystery for me to find as well.

I have been struggling with this for a few days now, please help!

Re: can't locate libmp3lame.dylib

Permanent link to this postPosted: Wed Apr 20, 2016 1:42 am
Posted by kozikowski
First item. That's the wrong directory—two errors.

/Users/koz/Library/Application Support/audacity

We should wait for a more senior elf. This is a favorite place for Audacity magic. My Audacity exports MP3 just fine, but claims it's finding its lame dynamic library in a folder which doesn't exist. [haunted house music]

Koz

Re: can't locate libmp3lame.dylib

Permanent link to this postPosted: Wed Apr 20, 2016 11:21 am
Posted by Gale Andrews
kozikowski wrote:My Audacity exports MP3 just fine, but claims it's finding its lame dynamic library in a folder which doesn't exist.

That is because opening "Locate" in Libraries Preferences just shows you the "MP3LibPath" specified in the audacity.cfg settings file, or the default location if no path is specified in audacity.cfg.

If you delete the folder that "Locate" shows you but put libmp3lame.dylib somewhere that Audacity automatically detects it, then you can get LAME working when the MP3LibPath does not exist.


Gale

Re: can't locate libmp3lame.dylib

Permanent link to this postPosted: Wed Apr 20, 2016 11:36 am
Posted by Gale Andrews
RichBassTone wrote:Installed Audacity 2.1.2 on my Mac running OS X Yosemite 10.10.5
Downloaded the Lame_Library_v3.98.2_for_Audacity_on_OSX.dmg and that is in my "Downloads" folder.
I double click that and it brings up a .pkg file in a window.
I double click that and it asks me if i am sure I want to open it.
I select "open" and it goes through the install process as a "Standard install on "Macintosh HD".
I select install and I get a notification that the installation was successful.
At this point it i also see the "Lame Library v.3.98.2 for Audacity.pkg" "mounted" as a device on the side of my finder widow. Should I "eject " this after the install is done?

You can eject it. It is not going to help (see below).

RichBassTone wrote:I have done this process a number of times, so I also don't know if I have six installations, or if it installed over the same each time?

Installed over the same location each time.

RichBassTone wrote:Of course when I try to find the file needed to do the "Export to MP3" it asks me to search and thats where I hit the wall.

I would not bother. The installer puts libmp3lame in /usr/local/lib/audacity. If Audacity has not detected libmp3lame.dylib there itself when you open the Audacity Preferences then the Mac is locking out /usr/local/lib/audacity, as it often does.

The simplest solution is to follow the instructions here instead: http://manual.audacityteam.org/man/faq_installation_and_plug_ins.html#maclame_zip. You can even do it simpler than that. Just copy the extracted libmp3lame.dylib file into the folder where you have Audacity installed, and Audacity should recognise LAME.

Obviously if you do it that way, you must take care not to delete libmp3lame.dylib when you upgrade Audacity.


Gale

Re: can't locate libmp3lame.dylib

Permanent link to this postPosted: Fri Apr 22, 2016 11:06 pm
Posted by RichBassTone
Thank you very much!!!

I will give this a try over the weekend.

Re: can't locate libmp3lame.dylib

Permanent link to this postPosted: Fri Dec 01, 2017 11:50 pm
Posted by JaredNewbie
I'm trying to export a file as an mp3 and keep getting the error "message: Could not open MP3 Encoding Library!"

I have followed the steps recommended above and on Audacity's FAQ, but keep getting this error and it's quite frustrating.

Appreciate your help!

Re: can't locate libmp3lame.dylib

Permanent link to this postPosted: Sat Dec 02, 2017 12:21 pm
Posted by steve
JaredNewbie wrote:I'm trying to export a file as an mp3 and keep getting the error "message: Could not open MP3 Encoding Library!"

I have followed the steps recommended above and on Audacity's FAQ, but keep getting this error and it's quite frustrating.

Appreciate your help!

1) Ensure that you have the current version of Audacity and ensure that it is correctly installed. If in doubt, trash your current version and start again: https://www.audacityteam.org/download/mac/

2) Download and install lame exactly as described here: http://manual.audacityteam.org/man/inst ... ml#maclame