can't locate libmp3lame.dylib

Help for Audacity 2.x.x on Mac OS X.

ImageThis forum is for Audacity 2.x.x on Mac OS X 10.4 and later.
Please state which version of OS X you are using, the exact three-section version of Audacity from Audacity > About Audacity and whether you obtained the .dmg installer or the zip.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.

can't locate libmp3lame.dylib

Permanent link to this post Posted by RichBassTone » Tue Apr 19, 2016 6:15 pm

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!
RichBassTone
 
Posts: 2
Joined: Tue Apr 19, 2016 6:05 pm
Operating System: OS X 10.10 Yosemite

Re: can't locate libmp3lame.dylib

Permanent link to this post Posted by kozikowski » Wed Apr 20, 2016 1:42 am

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
kozikowski
Forum Staff
 
Posts: 38445
Joined: Thu Aug 02, 2007 5:57 pm
Location: Los Angeles
Operating System: OS X 10.9 Mavericks

Re: can't locate libmp3lame.dylib

Permanent link to this post Posted by Gale Andrews » Wed Apr 20, 2016 11:21 am

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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26089
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: can't locate libmp3lame.dylib

Permanent link to this post Posted by Gale Andrews » Wed Apr 20, 2016 11:36 am

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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26089
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: can't locate libmp3lame.dylib

Permanent link to this post Posted by RichBassTone » Fri Apr 22, 2016 11:06 pm

Thank you very much!!!

I will give this a try over the weekend.
RichBassTone
 
Posts: 2
Joined: Tue Apr 19, 2016 6:05 pm
Operating System: OS X 10.10 Yosemite

Re: can't locate libmp3lame.dylib

Permanent link to this post Posted by JaredNewbie » Fri Dec 01, 2017 11:50 pm

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!
JaredNewbie
 
Posts: 1
Joined: Fri Dec 01, 2017 11:45 pm
Operating System: OS X 10.11 El Capitan or later (macOS)

Re: can't locate libmp3lame.dylib

Permanent link to this post Posted by steve » Sat Dec 02, 2017 12:21 pm

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
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45325
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu


Return to Mac OS X



Who is online

Users browsing this forum: No registered users and 11 guests