Mediainfo compilation and installation (SUSE) mediainfo depends on libz, libzen, and libmediainfo. The compilation sequence is libz, libzen, and libmediainfo (1) Compiling libz (SUSE 11 already has this library, skip this step ). /config; Make; make install; after the above command is executed, libz is generated in the/usr/local/lib/directory. A generates zlib in the/usr/local/include directory. H (this file is not used for transplantation) (2) Compile libzen1. download zenlib kernel (doxygen needs to be installed, sudo apt-Get install doxygen on Ubuntu) (autogen needs to install automake libtool, on Ubuntu, sudo apt-Get install automake; sudo apt-Get install libtool) CD. /Source/Doc; doxygen doxyfile; CD-; CD. /project/GNU/librarychmod + x autogen ;. /autogen ;. /configure -- enable-shared; make clean; Make; make install; LS-LRT/usr/local/lib/libzen *; 3. if the preceding steps are successfully executed, you should see the following five function libraries: libzen. A libzen. la libzen. so libzen. so.0 libzen. so.0.0 5 function libraries (3) Compile libmediainfo1. download idea. /Source/doc/; doxygen doxyfile; CD-; CD. /project/GNU/Library; chmod + x autogen ;. /autogen ;. /configure -- enable-shared; make clean; Make; make install; LS-LRT/usr/local/lib/libmediainfo * 3. if the preceding steps are successfully executed, you should see the following two function libraries: libmediainfo. A libmediainfo. la (4) Compile mediainfo1. download pipeline. mediainfo/project/GNU/mediainfo. compile the CD for the CLI section described in the spec document. /project/GNU/CLI; chmod + x autogen ;. /autogen ;. /configure; Make; make install; LS-LRT/usr/local/bin/mediainfo * 3. if the preceding step is successfully executed, you should see mediainfoProgram Possible problems: 1. the system has its own zlib, so zlib is not re-installed at the beginning; there is no problem with installing zenlib, and it cannot survive or survive when it comes to libmediainfo. View configure. the AC found that zlib and zenlib were located using the relative path, so it was repeated, ok2. you may need to export LD_LIBRARY_PATH =/usr/local/lib (because the default library directory in Linux is/lib and/usr/lib) Export Path = $ path: /usr/local/bin3. libzen. so.0 depends on/usr/lib/libstdc ++. so.6 requires a version GLIBCXX-3.4.9 or later. if the version of this function library on your system is low, it will be libstdc ++. copy so.6.0.13 to/usr/lib and run ln-Fs libstdc ++. so.6.0.13 libstdc ++. so.6 convert libstdc ++. so.6 link to the new function library this article references http://blog.csdn.net/yugong2009/article/details/5875998