Re: [FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Aleksid
> It's not specifically an ffmpeg question, but perhaps your ffmpeg > libav* libraries are the first ones you need to "bundle". > I come from a world of ELF binary format, but I found out that you can > achieve the same thing with Mac OS. > ... Moritz, Many thanks for your idea! I'll learn

Re: [FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Carl Zwanzig
On 8/12/2020 4:52 AM, Aleksid wrote: They can be loaded only if I use --prefix=/usr/local/Cellar/ffmpeg and then put dylibs into /usr/local/Cellar/ffmpeg/libs folder. Then do that, it's what --prefix is for. I understand that it is correct in a world of Unix systems. But I would prefer to

Re: [FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Moritz Barsnick
On Wed, Aug 12, 2020 at 18:01:54 +0300, Aleksid wrote: > I need to link FFmpeg the shared libraries in my app and also use ffmpeg > executable. Both programs should link dylibs. So impossible to use static > linking. It's not specifically an ffmpeg question, but perhaps your ffmpeg libav*

Re: [FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Aleksid
> why in the world don't you then just use "--enable-static" to avoid the > shared libraries when they are supposed to be in the same folder and > bundle anyways? Hi Harald, I need to link FFmpeg the shared libraries in my app and also use ffmpeg executable. Both programs should link dylibs. So

Re: [FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Reindl Harald
Am 12.08.20 um 13:52 schrieb Aleksid: >>> Then I put all compiled shared libraries and small ffmpeg binary file to > a >>> folder: /Users/aleks/test/ > >> How do you “put” them there? > >> I always use static libraries because I want to “put” my binaries where I > decide to put them at any

Re: [FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Aleksid
>> Then I put all compiled shared libraries and small ffmpeg binary file to a >> folder: /Users/aleks/test/ > How do you “put” them there? > I always use static libraries because I want to “put” my binaries where I decide to put them at any time. If > you choose to use dynamic FFmpeg libraries,

Re: [FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Reindl Harald
Am 12.08.20 um 09:14 schrieb Aleksid: > Why is ffmpeg looking for shared libraries in a folder where I compiled > FFmpeg sources on macOS Catalina? > > Source code of FFmpeg is located in /usr/local/Cellar/ffmpeg > > ./configure --enable-shared --extra-cflags="-fno-stack-check" --enable-gpl >

Re: [FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Carl Eugen Hoyos
> Am 12.08.2020 um 09:14 schrieb Aleksid : > > Why is ffmpeg looking for shared libraries in a folder where I compiled > FFmpeg sources on macOS Catalina? > > Source code of FFmpeg is located in /usr/local/Cellar/ffmpeg > > ./configure --enable-shared --extra-cflags="-fno-stack-check"

[FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Aleksid
Why is ffmpeg looking for shared libraries in a folder where I compiled FFmpeg sources on macOS Catalina? Source code of FFmpeg is located in /usr/local/Cellar/ffmpeg ./configure --enable-shared --extra-cflags="-fno-stack-check" --enable-gpl --enable-version3 --enable-pthreads --enable-nonfree