Opened 9 years ago

Closed 9 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)

comment:1 by Carl Eugen Hoyos, 9 years ago

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

in reply to:  1 comment:2 by Artem S. Tashkinov, 9 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 Carl Eugen Hoyos, 9 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.

comment:4 by Hendrik, 9 years ago

If you want to test in-place, maybe just build static instead of shared?

in reply to:  4 comment:5 by Artem S. Tashkinov, 9 years ago

Resolution: wontfix
Status: newclosed

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 Artem S. Tashkinov, 9 years ago

Resolution: wontfix
Status: closedreopened

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 Artem S. Tashkinov, 9 years ago

Resolution: invalid
Status: reopenedclosed

My bad, I needed to make distclean first.

Note: See TracTickets for help on using tickets.