Compiling ffmpeg with extra libs without root access
Hi I am trying to compile ffmpeg but I don't have root privilige on the machine. I've compiled using --prefix when configuring - but the problem is that I need to use lameMp3 encoder and libamr-wb and libamr- nb. These I have installed and placed in my home dir - but how do I make sure that ffmpeg looks there when compiling. This is my problem - how do I tell ffmpeg explicitly where to look for extra libs? Kind regards, Jakob Dam Jensen
-----Original Message----- From: Jakob Dam Jensen <jakobdj at gmail.com> This is my problem - how do I tell ffmpeg explicitly where to look for extra libs? _______________________________________________ Try --extra-libs=/path/to/libs? with your configure command. Rip
For whoever else may stumble on this via Google, or otherwise: --extra-cflags="-I/path/to/xvid.h" --extra-ldflags="-L/path/to/libxvid.so" My system also required a pthread option, so it came out like: ./configure --enable-gpl --enable-libxvid --extra-libs=/my/path/to/xvidcore.so --extra-cflags="-I." --extra-ldflags="-L/my/path/to/xvidlib/directory -pthread" If the above isn't clear enough: --extra-cflags specifies additional search paths for an angle bracket include on a linux system. --extra-ldflags specifies additional search paths for libraries specified in the build on a linux system. Additional advice: If configure script crashes with a cryptic error message, open up config.err with your favorite text editor and look at the last few lines in the file. There should be some command to gcc (or whatever your compiler is) that failed to execute. Figure out what is wrong with that compiler line and add some flags to fix it. Good luck all! ripl wrote:
-----Original Message----- From: Jakob Dam Jensen <jakobdj at gmail.com>
This is my problem - how do I tell ffmpeg explicitly where to look for extra libs? _______________________________________________
Try --extra-libs=/path/to/libs? with your configure command.
Rip _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
-- View this message in context: http://www.nabble.com/Compiling-ffmpeg-with-extra-libs-without-root-access-t... Sent from the FFmpeg-users mailing list archive at Nabble.com.
participants (3)
-
jakobdj@gmail.com -
ripl@aol.com -
rotgeld@hotmail.com