Hi guys, I am fairly new to this, I have downloaded the bento4 binaries for linux x86_64 platform from here (https://www.bok.net/Bento4/binaries/Bento4-SDK-1-6-0-639.x86_64-unknown-linux.zip) and trying to run mp4info tool (~/bin) on my centOS-8 VM. I am getting error "command not found...".

How can I make those tools (mp4**) work on my centOS8 VM?

If those pre-build tools are only valid for windows (since it is working on windows machine when I download the windows version of bento4), is there a procedure where I can build the similar tools for centOS-8?


git clone https://github.com/axiomatic-systems/Bento4.git
cd Bento4/
mkdir cmakebuild
cd cmakebuild/
cmake -DCMAKE_BUILD_TYPE=Release ..
make

following errors:

```
============ making lib =============
make[2]: Nothing to be done for 'all'.
============ making mp4dump =============
g++ -L. Mp4Dump.o -o mp4dump -lAP4
./libAP4.a(Ap4AtomFactory.o): In function `AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&)':
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4AtomFactory.cpp:534: undefined reference to `AP4_Av1cAtom::Create(unsigned int, AP4_ByteStream&)'
./libAP4.a(Ap4SampleDescription.o): In function `AP4_Av1SampleDescription::AP4_Av1SampleDescription(unsigned int, unsigned short, unsigned short, unsigned short, char const*, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char const*, unsigned int)':
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4SampleDescription.cpp:773: undefined reference to `AP4_Av1cAtom::AP4_Av1cAtom(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char const*, unsigned int)'
./libAP4.a(Ap4SampleDescription.o): In function `AP4_Av1SampleDescription::AP4_Av1SampleDescription(unsigned int, unsigned short, unsigned short, unsigned short, char const*, AP4_Av1cAtom const*)':
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4SampleDescription.cpp:793: undefined reference to `AP4_Av1cAtom::AP4_Av1cAtom()'
./libAP4.a(Ap4SampleDescription.o): In function `AP4_Av1SampleDescription::AP4_Av1SampleDescription(unsigned int, unsigned short, unsigned short, unsigned short, char const*, AP4_AtomParent*)':
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4SampleDescription.cpp:811: undefined reference to `typeinfo for AP4_Av1cAtom'
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4SampleDescription.cpp:816: undefined reference to `AP4_Av1cAtom::AP4_Av1cAtom()'
./libAP4.a(Ap4SampleDescription.o): In function `AP4_Av1cAtom::AP4_Av1cAtom(AP4_Av1cAtom const&)':
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4Av1cAtom.h:48: undefined reference to `vtable for AP4_Av1cAtom'
collect2: error: ld returned 1 exit status
make[2]: *** [../../../../Build/Makefiles/Mp4Dump.mak:34: mp4dump] Error 1
make[1]: *** [../../../../Build/Makefiles/TopLevel.mak:78: mp4dump] Error 2
make[1]: Leaving directory '/root/intertrust/Bento4/Build/Targets/x86_64-unknown-linux/Debug'
make: *** [../../Makefiles/Bootstrap.mak:16: default] Error 2
```
bento4 for centos8
This is a GitHub Issue
repo:Bento4
owner:axiomatic-systems
Title : bento4 for centos8
Issue date:

--- start body ---
Hi guys, I am fairly new to this, I have downloaded the bento4 binaries for linux x86_64 platform from here (https://www.bok.net/Bento4/binaries/Bento4-SDK-1-6-0-639.x86_64-unknown-linux.zip) and trying to run mp4info tool (~/bin) on my centOS-8 VM. I am getting error "command not found...".

How can I make those tools (mp4**) work on my centOS8 VM?

If those pre-build tools are only valid for windows (since it is working on windows machine when I download the windows version of bento4), is there a procedure where I can build the similar tools for centOS-8?


git clone https://github.com/axiomatic-systems/Bento4.git
cd Bento4/
mkdir cmakebuild
cd cmakebuild/
cmake -DCMAKE_BUILD_TYPE=Release ..
make

following errors:

```
============ making lib =============
make[2]: Nothing to be done for 'all'.
============ making mp4dump =============
g++ -L. Mp4Dump.o -o mp4dump -lAP4
./libAP4.a(Ap4AtomFactory.o): In function `AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&)':
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4AtomFactory.cpp:534: undefined reference to `AP4_Av1cAtom::Create(unsigned int, AP4_ByteStream&)'
./libAP4.a(Ap4SampleDescription.o): In function `AP4_Av1SampleDescription::AP4_Av1SampleDescription(unsigned int, unsigned short, unsigned short, unsigned short, char const*, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char const*, unsigned int)':
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4SampleDescription.cpp:773: undefined reference to `AP4_Av1cAtom::AP4_Av1cAtom(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char const*, unsigned int)'
./libAP4.a(Ap4SampleDescription.o): In function `AP4_Av1SampleDescription::AP4_Av1SampleDescription(unsigned int, unsigned short, unsigned short, unsigned short, char const*, AP4_Av1cAtom const*)':
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4SampleDescription.cpp:793: undefined reference to `AP4_Av1cAtom::AP4_Av1cAtom()'
./libAP4.a(Ap4SampleDescription.o): In function `AP4_Av1SampleDescription::AP4_Av1SampleDescription(unsigned int, unsigned short, unsigned short, unsigned short, char const*, AP4_AtomParent*)':
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4SampleDescription.cpp:811: undefined reference to `typeinfo for AP4_Av1cAtom'
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4SampleDescription.cpp:816: undefined reference to `AP4_Av1cAtom::AP4_Av1cAtom()'
./libAP4.a(Ap4SampleDescription.o): In function `AP4_Av1cAtom::AP4_Av1cAtom(AP4_Av1cAtom const&)':
/root/.../Bento4/Build/Targets/x86_64-unknown-linux/Debug/../../../../Source/C++/Core/Ap4Av1cAtom.h:48: undefined reference to `vtable for AP4_Av1cAtom'
collect2: error: ld returned 1 exit status
make[2]: *** [../../../../Build/Makefiles/Mp4Dump.mak:34: mp4dump] Error 1
make[1]: *** [../../../../Build/Makefiles/TopLevel.mak:78: mp4dump] Error 2
make[1]: Leaving directory '/root/intertrust/Bento4/Build/Targets/x86_64-unknown-linux/Debug'
make: *** [../../Makefiles/Bootstrap.mak:16: default] Error 2
```
--- end body ---
