Error while loading shared libraries: libgstbase-0.10.so.0: cannot open shared object file: No such file or directory

Where can I find ``` tags?

1 line example

Ivan

Hi can you send me a screenshot or image file on how to use tags in rocky pastebin?

[root@eda Documents]# yum -y install glib2-devel
Last metadata expiration check: 1:18:17 ago on Thu 17 Jun 2021 07:23:28 PM PST.
Dependencies resolved.
====================================================================================================================================
 Package                          Architecture                Version                             Repository                   Size
====================================================================================================================================
Installing:
 glib2-devel                      x86_64                      2.56.4-9.el8                        baseos                      423 k
Installing dependencies:
 pcre-cpp                         x86_64                      8.42-4.el8                          baseos                       46 k
 pcre-devel                       x86_64                      8.42-4.el8                          baseos                      550 k
 pcre-utf16                       x86_64                      8.42-4.el8                          baseos                      194 k
 pcre-utf32                       x86_64                      8.42-4.el8                          baseos                      185 k

Transaction Summary
====================================================================================================================================
Install  5 Packages

Total download size: 1.4 M
Installed size: 5.0 M
Downloading Packages:
[MIRROR] glib2-devel-2.56.4-9.el8.x86_64.rpm: Status code: 404 for http://mirrors.vinters.com/rocky/8.4/BaseOS/x86_64/os/Packages/glib2-devel-2.56.4-9.el8.x86_64.rpm (IP: 194.0.252.34)
[MIRROR] pcre-cpp-8.42-4.el8.x86_64.rpm: Status code: 404 for http://mirrors.vinters.com/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-cpp-8.42-4.el8.x86_64.rpm (IP: 194.0.252.34)
[MIRROR] pcre-devel-8.42-4.el8.x86_64.rpm: Status code: 404 for http://mirrors.vinters.com/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-devel-8.42-4.el8.x86_64.rpm (IP: 194.0.252.34)
[MIRROR] glib2-devel-2.56.4-9.el8.x86_64.rpm: Status code: 404 for https://mirror.pit.teraswitch.com/rocky/8.4/BaseOS/x86_64/os/Packages/glib2-devel-2.56.4-9.el8.x86_64.rpm (IP: 204.16.246.250)
[MIRROR] pcre-cpp-8.42-4.el8.x86_64.rpm: Status code: 404 for https://mirror.pit.teraswitch.com/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-cpp-8.42-4.el8.x86_64.rpm (IP: 204.16.246.250)
[MIRROR] pcre-devel-8.42-4.el8.x86_64.rpm: Status code: 404 for https://mirror.pit.teraswitch.com/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-devel-8.42-4.el8.x86_64.rpm (IP: 204.16.246.250)
[MIRROR] pcre-cpp-8.42-4.el8.x86_64.rpm: Status code: 404 for http://repo.accre.vanderbilt.edu/pub/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-cpp-8.42-4.el8.x86_64.rpm (IP: 129.59.197.235)
[MIRROR] pcre-devel-8.42-4.el8.x86_64.rpm: Status code: 404 for http://repo.accre.vanderbilt.edu/pub/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-devel-8.42-4.el8.x86_64.rpm (IP: 129.59.197.235)
[MIRROR] glib2-devel-2.56.4-9.el8.x86_64.rpm: Status code: 404 for http://repo.accre.vanderbilt.edu/pub/rocky/8.4/BaseOS/x86_64/os/Packages/glib2-devel-2.56.4-9.el8.x86_64.rpm (IP: 129.59.197.235)
[MIRROR] pcre-cpp-8.42-4.el8.x86_64.rpm: Status code: 404 for https://mirror.cedia.org.ec/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-cpp-8.42-4.el8.x86_64.rpm (IP: 201.159.221.67)
[MIRROR] pcre-devel-8.42-4.el8.x86_64.rpm: Status code: 404 for https://mirror.cedia.org.ec/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-devel-8.42-4.el8.x86_64.rpm (IP: 201.159.221.67)
[MIRROR] glib2-devel-2.56.4-9.el8.x86_64.rpm: Status code: 404 for https://mirror.cedia.org.ec/rocky/8.4/BaseOS/x86_64/os/Packages/glib2-devel-2.56.4-9.el8.x86_64.rpm (IP: 201.159.221.67)
[MIRROR] pcre-devel-8.42-4.el8.x86_64.rpm: Status code: 404 for http://mirror.nodespace.net/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-devel-8.42-4.el8.x86_64.rpm (IP: 199.101.184.234)
[MIRROR] glib2-devel-2.56.4-9.el8.x86_64.rpm: Status code: 404 for http://mirror.nodespace.net/rocky/8.4/BaseOS/x86_64/os/Packages/glib2-devel-2.56.4-9.el8.x86_64.rpm (IP: 199.101.184.234)
[MIRROR] pcre-cpp-8.42-4.el8.x86_64.rpm: Status code: 404 for http://mirror.nodespace.net/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-cpp-8.42-4.el8.x86_64.rpm (IP: 199.101.184.234)
(1/5): pcre-cpp-8.42-4.el8.x86_64.rpm                                                               4.4 kB/s |  46 kB     00:10    
[MIRROR] pcre-utf16-8.42-4.el8.x86_64.rpm: Status code: 404 for https://mirror.pit.teraswitch.com/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-utf16-8.42-4.el8.x86_64.rpm (IP: 204.16.246.250)
[MIRROR] pcre-utf16-8.42-4.el8.x86_64.rpm: Status code: 404 for http://mirrors.vinters.com/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-utf16-8.42-4.el8.x86_64.rpm (IP: 194.0.252.34)
(2/5): glib2-devel-2.56.4-9.el8.x86_64.rpm                                                           37 kB/s | 423 kB     00:11    
(3/5): pcre-devel-8.42-4.el8.x86_64.rpm                                                              47 kB/s | 550 kB     00:11    
[MIRROR] pcre-utf16-8.42-4.el8.x86_64.rpm: Status code: 404 for https://mirror.cedia.org.ec/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-utf16-8.42-4.el8.x86_64.rpm (IP: 201.159.221.67)
[MIRROR] pcre-utf32-8.42-4.el8.x86_64.rpm: Status code: 404 for https://mirror.cedia.org.ec/rocky/8.4/BaseOS/x86_64/os/Packages/pcre-utf32-8.42-4.el8.x86_64.rpm (IP: 201.159.221.67)
(4/5): pcre-utf16-8.42-4.el8.x86_64.rpm                                                             127 kB/s | 194 kB     00:01    
(5/5): pcre-utf32-8.42-4.el8.x86_64.rpm                                                             274 kB/s | 185 kB     00:00    
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                               110 kB/s | 1.4 MB     00:12     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                            1/1 
  Installing       : pcre-utf32-8.42-4.el8.x86_64                                                                               1/5 
  Installing       : pcre-utf16-8.42-4.el8.x86_64                                                                               2/5 
  Installing       : pcre-cpp-8.42-4.el8.x86_64                                                                                 3/5 
  Installing       : pcre-devel-8.42-4.el8.x86_64                                                                               4/5 
  Installing       : glib2-devel-2.56.4-9.el8.x86_64                                                                            5/5 
  Running scriptlet: glib2-devel-2.56.4-9.el8.x86_64                                                                            5/5 
/sbin/ldconfig: /lib/libstdc++.so.5.0.7_lib_tar is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /lib64/libcrypto.so.1.0.2k_RHEL7_tar is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /lib64/libGL.so.1.7.0_tar is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /lib64/libdb-4.7.so_tar is not an ELF file - it has the wrong magic bytes at the start.


  Verifying        : glib2-devel-2.56.4-9.el8.x86_64                                                                            1/5 
  Verifying        : pcre-cpp-8.42-4.el8.x86_64                                                                                 2/5 
  Verifying        : pcre-devel-8.42-4.el8.x86_64                                                                               3/5 
  Verifying        : pcre-utf16-8.42-4.el8.x86_64                                                                               4/5 
  Verifying        : pcre-utf32-8.42-4.el8.x86_64                                                                               5/5 
Installed products updated.

Installed:
  glib2-devel-2.56.4-9.el8.x86_64    pcre-cpp-8.42-4.el8.x86_64    pcre-devel-8.42-4.el8.x86_64    pcre-utf16-8.42-4.el8.x86_64   
  pcre-utf32-8.42-4.el8.x86_64      

Complete!
[1]+  Done                    nautilus /home/Marben/Documents
[root@eda Documents]# cd /usr/local/src/gstreamer-0.10.36
[root@eda gstreamer-0.10.36]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking nano version... 0 (release)
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for VALGRIND... yes
configure: Using extra code paths for valgrind
configure: Using GStreamer source release as package name
configure: Using Unknown package origin as package origin
configure: Using GST_PKG_CONFIG_PATH = $(top_builddir)/pkgconfig
configure: Setting GST_PACKAGE_RELEASE_DATETIME to 2012-02-20
configure: WARNING: Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support.  If you do not agree with this EULA, please press Ctrl-C before the next line is printed.  By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA.
checking whether byte ordering is bigendian... no
checking if unaligned memory access works correctly... (whitelisted) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking whether gcc and cc understand -c and -o together... yes
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: working c++ compiler found: yes
checking for perl... /usr/bin/perl
checking for bison... /usr/bin/bison
checking bison version 3.0.4 >= 1.875... yes
checking for flex... /usr/bin/flex
checking flex version 2.6.1 >= 2.5.31... yes
checking for valgrind... /usr/bin/valgrind
checking for gobject-introspection... no
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
configure: Looking for Python version >= 2.1
checking for python... no
checking for python2.2... no
checking for python2.1... no
checking for python2.0... no
checking for python2... no
checking for python1.6... no
checking for python1.5... no
configure: WARNING: No suitable version of python found
checking whether to build plugin documentation... no (gtk-doc disabled or not available)
checking for cos in -lm... yes
checking for ANSI C header files... (cached) yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for unistd.h... (cached) yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking valgrind/valgrind.h usability... yes
checking valgrind/valgrind.h presence... yes
checking for valgrind/valgrind.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for __gmpz_init_set_d in -lgmp... no
checking for gsl_rng_uniform_int in -lgsl... no
checking for __uint128_t... yes
checking for tm_gmtoff... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for sigaction... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for fgetpos... yes
checking for fsetpos... yes
checking for poll... yes
checking for ppoll... yes
checking for pselect... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for broken poll... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for posix_memalign... yes
checking for getpagesize... (cached) yes
checking for clock_gettime... yes
checking for posix timers... yes
checking for monotonic clock... yes
checking whether gcc implements __PRETTY_FUNCTION__... yes
checking whether gcc implements __FUNCTION__... yes
checking whether gcc implements __func__... yes
checking for register_printf_specifier... yes
checking for register_printf_function... yes
checking for dladdr in -ldl... yes
checking for socket... yes
checking for gethostbyname... yes
checking for inet_aton... yes
checking for GLIB... yes
checking for GLIB_ONLY... yes
checking for XML... no
no
configure: error: 
        Need libxml2 and development headers/files to build GStreamer.

        You can do without libxml2 if you pass --disable-loadsave to
        configure, but that breaks ABI, so don't do that unless you
        are building for an embedded setup and know what you are doing.
    
[root@eda gstreamer-0.10.36]# 

It seems it work
Sorry, I misinterpret.Brians message.

As I stated, you need to install libxml2 also…

Ivan

[root@eda gstreamer-0.10.36]# yum -y install libxml2-devel
Last metadata expiration check: 2:05:52 ago on Thu 17 Jun 2021 07:23:28 PM PST.
Dependencies resolved.
====================================================================================================================================
 Package                           Architecture               Version                           Repository                     Size
====================================================================================================================================
Installing:
 libxml2-devel                     x86_64                     2.9.7-9.el8                       appstream                     1.0 M
Installing dependencies:
 xz-devel                          x86_64                     5.2.4-3.el8                       baseos                         61 k

Transaction Summary
====================================================================================================================================
Install  2 Packages

Total download size: 1.1 M
Installed size: 9.0 M
Downloading Packages:
[MIRROR] libxml2-devel-2.9.7-9.el8.x86_64.rpm: Status code: 404 for http://mirrors.vinters.com/rocky/8.4/AppStream/x86_64/os/Packages/libxml2-devel-2.9.7-9.el8.x86_64.rpm (IP: 194.0.252.34)
[MIRROR] xz-devel-5.2.4-3.el8.x86_64.rpm: Status code: 404 for https://mirror.cov.ukservers.com/rocky/8.4/BaseOS/x86_64/os/Packages/xz-devel-5.2.4-3.el8.x86_64.rpm (IP: 94.229.65.150)
[MIRROR] libxml2-devel-2.9.7-9.el8.x86_64.rpm: Status code: 404 for http://repo.accre.vanderbilt.edu/pub/rocky/8.4/AppStream/x86_64/os/Packages/libxml2-devel-2.9.7-9.el8.x86_64.rpm (IP: 129.59.197.235)
(1/2): xz-devel-5.2.4-3.el8.x86_64.rpm                                                               17 kB/s |  61 kB     00:03    
[MIRROR] libxml2-devel-2.9.7-9.el8.x86_64.rpm: Status code: 404 for https://mirror1.cl.netactuate.com/rockylinux/8.4/AppStream/x86_64/os/Packages/libxml2-devel-2.9.7-9.el8.x86_64.rpm (IP: 148.163.222.94)
(2/2): libxml2-devel-2.9.7-9.el8.x86_64.rpm                                                          99 kB/s | 1.0 MB     00:10    
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                95 kB/s | 1.1 MB     00:11     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                            1/1 
  Installing       : xz-devel-5.2.4-3.el8.x86_64                                                                                1/2 
  Installing       : libxml2-devel-2.9.7-9.el8.x86_64                                                                           2/2 
  Running scriptlet: libxml2-devel-2.9.7-9.el8.x86_64                                                                           2/2 
/sbin/ldconfig: /lib/libstdc++.so.5.0.7_lib_tar is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /lib64/libcrypto.so.1.0.2k_RHEL7_tar is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /lib64/libGL.so.1.7.0_tar is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /lib64/libdb-4.7.so_tar is not an ELF file - it has the wrong magic bytes at the start.


  Verifying        : libxml2-devel-2.9.7-9.el8.x86_64                                                                           1/2 
  Verifying        : xz-devel-5.2.4-3.el8.x86_64                                                                                2/2 
Installed products updated.

Installed:
  libxml2-devel-2.9.7-9.el8.x86_64                                    xz-devel-5.2.4-3.el8.x86_64                                   

Complete!
[root@eda gstreamer-0.10.36]# cd /usr/local/src/gstreamer-0.10.36
[root@eda gstreamer-0.10.36]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking nano version... 0 (release)
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for VALGRIND... yes
configure: Using extra code paths for valgrind
configure: Using GStreamer source release as package name
configure: Using Unknown package origin as package origin
configure: Using GST_PKG_CONFIG_PATH = $(top_builddir)/pkgconfig
configure: Setting GST_PACKAGE_RELEASE_DATETIME to 2012-02-20
configure: WARNING: Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support.  If you do not agree with this EULA, please press Ctrl-C before the next line is printed.  By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA.
checking whether byte ordering is bigendian... no
checking if unaligned memory access works correctly... (whitelisted) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking whether gcc and cc understand -c and -o together... yes
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: working c++ compiler found: yes
checking for perl... /usr/bin/perl
checking for bison... /usr/bin/bison
checking bison version 3.0.4 >= 1.875... yes
checking for flex... /usr/bin/flex
checking flex version 2.6.1 >= 2.5.31... yes
checking for valgrind... /usr/bin/valgrind
checking for gobject-introspection... no
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
configure: Looking for Python version >= 2.1
checking for python... no
checking for python2.2... no
checking for python2.1... no
checking for python2.0... no
checking for python2... no
checking for python1.6... no
checking for python1.5... no
configure: WARNING: No suitable version of python found
checking whether to build plugin documentation... no (gtk-doc disabled or not available)
checking for cos in -lm... yes
checking for ANSI C header files... (cached) yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for unistd.h... (cached) yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking valgrind/valgrind.h usability... yes
checking valgrind/valgrind.h presence... yes
checking for valgrind/valgrind.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for __gmpz_init_set_d in -lgmp... no
checking for gsl_rng_uniform_int in -lgsl... no
checking for __uint128_t... yes
checking for tm_gmtoff... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for sigaction... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for fgetpos... yes
checking for fsetpos... yes
checking for poll... yes
checking for ppoll... yes
checking for pselect... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for broken poll... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for posix_memalign... yes
checking for getpagesize... (cached) yes
checking for clock_gettime... yes
checking for posix timers... yes
checking for monotonic clock... yes
checking whether gcc implements __PRETTY_FUNCTION__... yes
checking whether gcc implements __FUNCTION__... yes
checking whether gcc implements __func__... yes
checking for register_printf_specifier... yes
checking for register_printf_function... yes
checking for dladdr in -ldl... yes
checking for socket... yes
checking for gethostbyname... yes
checking for inet_aton... yes
checking for GLIB... yes
checking for GLIB_ONLY... yes
checking for XML... yes
configure: Test xml2 program linked
checking for -Bsymbolic-functions linker flag... yes
configure: Using /usr/local/lib/gstreamer-0.10 as the plugin install location
checking to see if compiler understands -Wall... yes
checking to see if compiler understands -Wdeclaration-after-statement... yes
checking to see if compiler understands -Wvla... yes
checking to see if compiler understands -Wpointer-arith... yes
checking to see if compiler understands -Wmissing-declarations... yes
checking to see if compiler understands -Wmissing-prototypes... yes
checking to see if compiler understands -Wredundant-decls... yes
checking to see if compiler understands -Wundef... yes
checking to see if compiler understands -Wwrite-strings... yes
checking to see if compiler understands -Wformat-nonliteral... yes
checking to see if compiler understands -Wformat-security... yes
checking to see if compiler understands -Wold-style-definition... yes
checking to see if compiler understands -Winit-self... yes
checking to see if compiler understands -Wmissing-include-dirs... yes
checking to see if compiler understands -Waddress... yes
checking to see if compiler understands -Waggregate-return... yes
checking to see if compiler understands -Wno-multichar... yes
checking to see if compiler understands -Wnested-externs... yes
configure: set WARNING_CFLAGS to  -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs
configure: set ERROR_CFLAGS to 
configure: Running check unit test framework checks now...
checking for unistd.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for localtime_r... (cached) yes
checking for stdint types... stdint.h (shortcircuit)
make use of stdint.h in _stdint.h (assuming C99 compatible system)
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gst/Makefile
config.status: creating gst/gstconfig.h
config.status: creating gst/gstversion.h
config.status: creating gst/parse/Makefile
config.status: creating libs/Makefile
config.status: creating libs/gst/Makefile
config.status: creating libs/gst/base/Makefile
config.status: creating libs/gst/check/Makefile
config.status: creating libs/gst/check/libcheck/Makefile
config.status: creating libs/gst/check/libcheck/check.h
config.status: creating libs/gst/controller/Makefile
config.status: creating libs/gst/dataprotocol/Makefile
config.status: creating libs/gst/helpers/Makefile
config.status: creating libs/gst/net/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/indexers/Makefile
config.status: creating plugins/elements/Makefile
config.status: creating po/Makefile.in
config.status: creating tests/Makefile
config.status: creating tests/benchmarks/Makefile
config.status: creating tests/check/Makefile
config.status: creating tests/misc/Makefile
config.status: creating tests/examples/Makefile
config.status: creating tests/examples/adapter/Makefile
config.status: creating tests/examples/controller/Makefile
config.status: creating tests/examples/stepping/Makefile
config.status: creating tests/examples/helloworld/Makefile
config.status: creating tests/examples/launch/Makefile
config.status: creating tests/examples/manual/Makefile
config.status: creating tests/examples/metadata/Makefile
config.status: creating tests/examples/queue/Makefile
config.status: creating tests/examples/streams/Makefile
config.status: creating tests/examples/typefind/Makefile
config.status: creating tools/Makefile
config.status: creating common/Makefile
config.status: creating common/m4/Makefile
config.status: creating docs/Makefile
config.status: creating docs/design/Makefile
config.status: creating docs/faq/Makefile
config.status: creating docs/gst/Makefile
config.status: creating docs/gst/gstreamer.types
config.status: creating docs/libs/Makefile
config.status: creating docs/plugins/Makefile
config.status: creating docs/manual/Makefile
config.status: creating docs/pwg/Makefile
config.status: creating docs/slides/Makefile
config.status: creating docs/xsl/Makefile
config.status: creating docs/version.entities
config.status: creating m4/Makefile
config.status: creating pkgconfig/Makefile
config.status: creating stamp.h
config.status: creating pkgconfig/gstreamer.pc
config.status: creating pkgconfig/gstreamer-uninstalled.pc
config.status: creating pkgconfig/gstreamer-base.pc
config.status: creating pkgconfig/gstreamer-base-uninstalled.pc
config.status: creating pkgconfig/gstreamer-check.pc
config.status: creating pkgconfig/gstreamer-check-uninstalled.pc
config.status: creating pkgconfig/gstreamer-controller.pc
config.status: creating pkgconfig/gstreamer-controller-uninstalled.pc
config.status: creating pkgconfig/gstreamer-dataprotocol.pc
config.status: creating pkgconfig/gstreamer-dataprotocol-uninstalled.pc
config.status: creating pkgconfig/gstreamer-net.pc
config.status: creating pkgconfig/gstreamer-net-uninstalled.pc
config.status: creating gst-element-check.m4
config.status: creating gstreamer.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing _stdint.h commands
config.status: creating _stdint.h : _GSTREAMER__STDINT_H


Configuration
	Version                    : 0.10.36
	Source code location       : .
	Prefix                     : /usr/local
	Compiler                   : gcc
	Package name               : GStreamer source release
	Package origin             : Unknown package origin

	Documentation (manuals)    : no
	Documentation (API)        : no

	Debug Logging              : yes
	Pipeline XML load/save     : yes
	Command-line parser        : yes
	Option parsing in gst_init : yes
	Tracing subsystem          : yes
	Allocation tracing         : yes
	Plugin registry            : yes
	Plugin support	           : yes
	Network support            : yes
	Unit testing support       : yes

	Debug                      : yes
	Profiling                  : no

	Building examples          : yes
	Building test apps         : yes
	Building tests that fail   : no

[root@eda gstreamer-0.10.36]# 

Ok!

cd /usr/local/src/gstreamer-0.10.36
make && make install
ldconfig -v

Ivan

Libraries have been installed in:
   /usr/local/lib




	libstdc++.so.6 -> libstdc++.so.6.0.25
	libselinux.so.1 -> libselinux.so.1
	libpcre2-posix.so.2 -> libpcre2-posix.so.2.0.1
	libz.so.1 -> libz.so.1.2.11
	libpcre2-8.so.0 -> libpcre2-8.so.0.7.1
	librt.so.1 -> librt-2.28.so
	libgcc_s.so.1 -> libgcc_s-8-20200928.so.1
	libresolv.so.2 -> libresolv-2.28.so
	libnss_files.so.2 -> libnss_files-2.28.so
/lib/sse2: (hwcap: 0x0000000000000001) (from <builtin>:0)
/lib64/sse2: (hwcap: 0x0000000000000001) (from <builtin>:0)
/lib64/tls: (hwcap: 0x8000000000000000) (from <builtin>:0)
[root@eda gstreamer-0.10.36]# 

I can not paste all the result because there are too much.
But it seems no errors displayed.

Ok, try running your application.

Ivan

Hi Ivan,
It works!!!.
Calibredrv now runs in Rocky Linux.
You are a genious.

Thank you very much !!!

Best regards,
Marben

1 Like

Hi Ivan,
Can you make a script containing all the commands we did?
so that if I am going to install Calibredrv in newly installed Rocky Linux,
I will just run the script.

Best regards,
Marben

#!/bin/bash

dnf groupinstall -y "Development tools"
dnf install -y glib2-devel libxml2-devel

wget -qO- https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.36.tar.xz | tar xJvf - -C /usr/local/src/

cd /usr/local/src/gstreamer-0.10.36/
sed -i '29d' ./gst/parse/grammar.y
sed -i '650i %lex-param { void *scanner }' ./gst/parse/grammar.y

./configure
make
make install

echo "/usr/local/lib" > /etc/ld.so.conf.d/local.conf
echo "/usr/local/lib64" >> /etc/ld.so.conf.d/local.conf

ldconfig

Hi Ivan,
Thank you very much.

Best regards,
Marben