Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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!
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.