LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing libmp3lame locally (http://www.linuxquestions.org/questions/linux-newbie-8/installing-libmp3lame-locally-700208/)

JavaNinja 01-27-2009 08:59 AM

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.

TB0ne 01-27-2009 09:05 AM

Quote:

Originally Posted by JavaNinja (Post 3422779)
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.

JavaNinja 01-27-2009 09:11 AM

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! :)

TB0ne 01-27-2009 10:46 AM

Quote:

Originally Posted by JavaNinja (Post 3422801)
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.

nucleon 08-05-2011 08:07 PM

How do you add the library location to ffmpeg?

hitmen 10-01-2011 08:36 AM

yeah how?

Nylex 10-01-2011 09:26 AM

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.


All times are GMT -5. The time now is 11:59 AM.