Opened 3 years ago

Closed 3 years ago

#4623 closed enhancement (invalid)

Make it possible to run ffmpeg binaries from the source tree

Reported by: birdie 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 follow-up: Changed 3 years ago by cehoyos

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

comment:2 in reply to: ↑ 1 Changed 3 years ago by birdie

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 Changed 3 years ago by cehoyos

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 follow-up: Changed 3 years ago by heleppkes

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

comment:5 in reply to: ↑ 4 Changed 3 years ago by birdie

  • Resolution set to wontfix
  • Status changed from new to 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 Changed 3 years ago by birdie

  • Resolution wontfix deleted
  • Status changed from closed to 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 Changed 3 years ago by birdie

  • Resolution set to invalid
  • Status changed from reopened to closed

My bad, I needed to make distclean first.

Note: See TracTickets for help on using tickets.