LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-27-2009, 08:59 AM   #1
JavaNinja
Member
 
Registered: Sep 2008
Posts: 90

Rep: Reputation: 15
Installing libmp3lame locally


Hello all,

I want to install libmp3lame locally on my account, and not on system partitions/folders.

Currently this is how I install libmp3lame:

Code:
1) uncompress lame-398-2.tar.gz
2) ./configure
3) make
4) make install
How can I change the above so that it only installs locally since I am not allowed to install anywhere else.

I am trying to use libmp3lame with ffmpeg. Will ffmpeg be aware of this codec since it is installed locally?

Thanks all for any help.
 
Old 01-27-2009, 09:05 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,186

Rep: Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468
Quote:
Originally Posted by JavaNinja View Post
Hello all,

I want to install libmp3lame locally on my account, and not on system partitions/folders.

Currently this is how I install libmp3lame:

Code:
1) uncompress lame-398-2.tar.gz
2) ./configure
3) make
4) make install
How can I change the above so that it only installs locally since I am not allowed to install anywhere else.

I am trying to use libmp3lame with ffmpeg. Will ffmpeg be aware of this codec since it is installed locally?

Thanks all for any help.
Stop at the "make" step. The program is built at that point, and should function in the directory where you've built it.

Since ffmpeg is installed in the 'system' directories, chances are it won't know about what's in your home directory. There MAY be command-line switches to load different modules, but I don't know that for certain..check the man page on ffmpeg.
 
Old 01-27-2009, 09:11 AM   #3
JavaNinja
Member
 
Registered: Sep 2008
Posts: 90

Original Poster
Rep: Reputation: 15
Thanks TB0ne - I have managed to install libmp3lame in my own user account locally. Now I am just checking out how to let ffmpeg know that codec exists !

EDIT: ok done, just add the library location to ffmpeg!

Last edited by JavaNinja; 01-27-2009 at 09:20 AM.
 
Old 01-27-2009, 10:46 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,186

Rep: Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468
Quote:
Originally Posted by JavaNinja View Post
Thanks TB0ne - I have managed to install libmp3lame in my own user account locally. Now I am just checking out how to let ffmpeg know that codec exists !

EDIT: ok done, just add the library location to ffmpeg!
No problem...glad to help.
 
Old 08-05-2011, 08:07 PM   #5
nucleon
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
How do you add the library location to ffmpeg?
 
Old 10-01-2011, 08:36 AM   #6
hitmen
Member
 
Registered: Jun 2011
Distribution: Kubuntu 10.04
Posts: 158

Rep: Reputation: Disabled
yeah how?
 
Old 10-01-2011, 09:26 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Please don't drag up old threads like this, as it's quite unlikely that the OP (or anyone relevant, as in this case) will respond. In this case, I've not reported the two posts from this year for splitting, as they'd be without context.

I'd assume you'd need to build FFmpeg from source and when configuring, you tell it where to find the required libraries (see "./configure --help", which will tell you the options you can use). You may also want to read the documentation to see if there's anything useful there. I'm not sure whether (in general) it's possible to add shared libraries at runtime.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libmp3lame how to? glore2002 Slackware 2 06-04-2008 12:00 PM
libmp3lame.so where do I get it please for Audacity graeam Linux - General 1 08-28-2007 02:37 AM
Installing *.deb files locally Virp00 Linux - Newbie 12 03-07-2005 06:13 PM
libmp3lame.so.0 where?. linux123456 Linux - Software 18 12-02-2004 12:42 AM
Mplayer libmp3lame NewbGhostShells Linux - Software 7 01-16-2004 04:53 AM


All times are GMT -5. The time now is 06:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration