Opened 11 years ago
Closed 11 years ago
#4623 closed enhancement (invalid)
Make it possible to run ffmpeg binaries from the source tree
| Reported by: | Artem S. Tashkinov | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | build system |
| Version: | git-master | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Currently there are just two ways of testing FFmpeg builds: either you have to make install or you have to use LD_LIBRARY_PATH. They are both inconvenient.
Please, provide wrappers which will use inplace currently built libraries. This will greatly simplify FFMpeg testing.
Change History (7)
follow-up: 2 comment:1 by , 11 years ago
comment:2 by , 11 years ago
Replying to cehoyos:
I never install and always run the FFmpeg binaries from the source tree without any issues: Please elaborate!
Well, ldd ./ffmpeg shows that it uses(links to) system installed libraries.
comment:3 by , 11 years ago
As said, I never install and always run FFmpeg binaries from the source tree without an issue.
Please explain how I can reproduce the problem you see.
follow-up: 5 comment:4 by , 11 years ago
If you want to test in-place, maybe just build static instead of shared?
comment:5 by , 11 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Replying to heleppkes:
If you want to test in-place, maybe just build static instead of shared?
I'll write a wrapper myself a tad later and send you a patch. Meanwhile let's close this bug report.
comment:6 by , 11 years ago
| Resolution: | wontfix |
|---|---|
| Status: | closed → reopened |
Gotta reopen this one:
$ ./configure --enable-static && make
$ ./ffmpeg
./ffmpeg: error while loading shared libraries: libavdevice.so.56: cannot open shared object file: No such file or directory
$ ldd ffmpeg
linux-gate.so.1 => (0xb773e000)
libavdevice.so.56 => not found
libavfilter.so.5 => not found
libavformat.so.56 => not found
libavcodec.so.56 => not found
libpostproc.so.53 => not found
libswresample.so.1 => not found
libswscale.so.3 => not found
libavutil.so.54 => not found
FFmpeg is unusable unless it's installed.
comment:7 by , 11 years ago
| Resolution: | → invalid |
|---|---|
| Status: | reopened → closed |
My bad, I needed to make distclean first.



I never install and always run the FFmpeg binaries from the source tree without any issues: Please elaborate!