tihmstar / img4tool

A tool for manipulating IMG4, IM4M and IM4P files
GNU Lesser General Public License v3.0
270 stars 105 forks source link

mg4tool: error while loading shared libraries: libimg4tool.so.0: cannot open shared object file: No such file or directory #55

Closed L0caler closed 10 months ago

L0caler commented 10 months ago

im getting the error. My whole log:

anwender@Astaghfirullah:~/Downloads/img4tool/img4tool$ sudo ./autogen.sh
configure.ac:4: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:4: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:4: the top level
configure.ac:6: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:6: You should run autoupdate.
m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
configure.ac:6: the top level
configure.ac:4: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:4: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:4: the top level
configure.ac:6: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:6: You should run autoupdate.
m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
configure.ac:6: the top level
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking how to print strings... printf
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-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... no
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 for gawk... no
checking for mawk... mawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.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... yes
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 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 for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
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... yes
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
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking whether we need platform-specific build settings... checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for openssl >= 0.9.8... yes
checking for libplist-2.0 >= 2.3.0... yes
checking for libgeneral >= 39... yes
checking for arpa/inet.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for winsock.h... no
checking for compression_decode_buffer in -lcompression... no
checking for lzfse_decode_buffer in -llzfse... yes
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for size_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for memmem... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libimg4tool.pc
config.status: creating include/img4tool/img4tool.hpp
config.status: creating img4tool/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands
config.status: executing depfiles commands

Configuration for img4tool-199:
-------------------------------------------

  install prefix ..........: /usr/local
  with plist ..............: yes
  with bvx2 ...............: yes
  crypto backend ..........: openssl
  compiler ................: gcc

  Now type 'make' to build img4tool-199,
  and then 'make install' for installation.

anwender@Astaghfirullah:~/Downloads/img4tool/img4tool$ sudo make
make  all-recursive
make[1]: Entering directory '/home/anwender/Downloads/img4tool/img4tool'
Making all in img4tool
make[2]: Entering directory '/home/anwender/Downloads/img4tool/img4tool/img4tool'
g++ -DHAVE_CONFIG_H -I. -I..    -I../include/img4tool -I../include -I../include/img4tool -I../include  -I/usr/local/include  -I/usr/local/include  -g -O2 -std=c++11 -MT img4tool-main.o -MD -MP -MF .deps/img4tool-main.Tpo -c -o img4tool-main.o `test -f 'main.cpp' || echo './'`main.cpp
main.cpp: In function ‘char* readFromFile(const char*, size_t*)’:
main.cpp:74:19: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   74 |     if (ret) fread(ret, size, 1, f);
      |              ~~~~~^~~~~~~~~~~~~~~~~
mv -f .deps/img4tool-main.Tpo .deps/img4tool-main.Po
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -I../include/img4tool -I../include -I../include/img4tool -I../include  -I/usr/local/include  -I/usr/local/include  -g -O2 -std=c++11 -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c -o libimg4tool_la-img4tool.lo `test -f 'img4tool.cpp' || echo './'`img4tool.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include/img4tool -I../include -I../include/img4tool -I../include -I/usr/local/include -I/usr/local/include -g -O2 -std=c++11 -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c img4tool.cpp  -fPIC -DPIC -o .libs/libimg4tool_la-img4tool.o
img4tool.cpp:40:2: warning: #warning TODO adjust this for HAVE_COMMCRYPTO [-Wcpp]
   40 | #warning TODO adjust this for HAVE_COMMCRYPTO
      |  ^~~~~~~
img4tool.cpp:603:58: warning: multi-character character constant [-Wmultichar]
  603 | RElement bnch = genPrivTagForNumberWithPayload('BNCN',bnch_seq);
      |                                                ^~~~~~

img4tool.cpp:621:28: warning: multi-character character constant [-Wmultichar]
  621 |             if (privTag == 'bnch'){
      |                            ^~~~~~
img4tool.cpp:1003:22: warning: multi-character character constant [-Wmultichar]
 1003 |                 case 'TSGD': //DGST
      |                      ^~~~~~
img4tool.cpp:1031:51: warning: multi-character character constant [-Wmultichar]
 1031 |         ASN1DERElement bnch = getValFromIM4M(im4m,'BNCH');
      |                                                   ^~~~~~
img4tool.cpp:1426:22: warning: multi-character character constant [-Wmultichar]
 1426 |                 case 'DROB': //BORD
      |                      ^~~~~~
img4tool.cpp:1430:22: warning: multi-character character constant [-Wmultichar]
 1430 |                 case 'PIHC': //CHIP
      |                      ^~~~~~
img4tool.cpp:1434:22: warning: multi-character character constant [-Wmultichar]
 1434 |                 case 'MODS': //SDOM
      |                      ^~~~~~
img4tool.cpp:1546:30: warning: multi-character character constant [-Wmultichar]
 1546 |                         case 'TSGD': //DGST
      |                              ^~~~~~
img4tool.cpp: In function ‘void tihmstar::img4tool::printKBAG(const void*, size_t)’:
img4tool.cpp:99:37: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
   99 |                     printf("num: %llu\n",elem.getIntegerValue());
      |                                  ~~~^    ~~~~~~~~~~~~~~~~~~~~~~
      |                                     |                        |
      |                                     long long unsigned int   uint64_t {aka long unsigned int}
      |                                  %lu
img4tool.cpp: In function ‘void tihmstar::img4tool::printIMG4(const void*, size_t, bool, bool)’:
img4tool.cpp:354:42: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  354 |                     printf("size: 0x%08llx\n",(uint64_t)sequence.size());
      |                                     ~~~~~^    ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                          |    |
      |                                          |    uint64_t {aka long unsigned int}
      |                                          long long unsigned int
      |                                     %08lx
img4tool.cpp: In function ‘void tihmstar::img4tool::printIM4P(const void*, size_t)’:
img4tool.cpp:463:63: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  463 |              printf("Uncompressed size: 0x%08llx\n",sizeTag.getIntegerValue());
      |                                           ~~~~~^    ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                |                           |
      |                                                long long unsigned int      uint64_t {aka long unsigned int}
      |                                           %08lx
img4tool.cpp: In function ‘void tihmstar::img4tool::printIM4M(const void*, size_t, bool)’:
img4tool.cpp:495:41: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  495 |                     printf("Version: %llu\n",tag.getIntegerValue());
      |                                      ~~~^    ~~~~~~~~~~~~~~~~~~~~~
      |                                         |                       |
      |                                         long long unsigned int  uint64_t {aka long unsigned int}
      |                                      %lu
In file included from img4tool.cpp:15:
img4tool.cpp: In function ‘tihmstar::img4tool::ASN1DERElement tihmstar::img4tool::decryptPayload(const tihmstar::img4tool::ASN1DERElement&, const char*, const char*)’:
img4tool.cpp:953:35: warning: ‘int AES_set_decrypt_key(const unsigned char*, int, AES_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  953 |     retassure(!AES_set_decrypt_key(key, sizeof(key)*8, &decKey), "Failed to set decryption key");
      |                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from img4tool.cpp:37:
/usr/include/openssl/aes.h:54:5: note: declared here
   54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
img4tool.cpp:954:20: warning: ‘void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  954 |     AES_cbc_encrypt((const unsigned char*)decPayload.payload(), (unsigned char*)decPayload.payload(), decPayload.payloadSize(), &decKey, iv, AES_DECRYPT);
      |     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from img4tool.cpp:37:
/usr/include/openssl/aes.h:66:6: note: declared here
   66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~
img4tool.cpp: In function ‘bool tihmstar::img4tool::isGeneratorValidForIM4M(const tihmstar::img4tool::ASN1DERElement&, std::string)’:
img4tool.cpp:1034:43: warning: format ‘%llx’ expects argument of type ‘long long unsigned int*’, but argument 3 has type ‘uint64_t*’ {aka ‘long unsigned int*’} [-Wformat=]
 1034 |         sscanf(generator.c_str(), "0x%16llx", &gen);
      |                                      ~~~~~^   ~~~~
      |                                           |   |
      |                                           |   uint64_t* {aka long unsigned int*}
      |                                           long long unsigned int*
      |                                      %16lx
img4tool.cpp: In function ‘bool tihmstar::img4tool::doesIM4MBoardMatchBuildIdentity(const tihmstar::img4tool::ASN1DERElement&, plist_t)’:
img4tool.cpp:1444:39: warning: format ‘%llx’ expects argument of type ‘long long unsigned int*’, but argument 3 has type ‘uint64_t*’ {aka ‘long unsigned int*’} [-Wformat=]
 1444 |                 sscanf(pstrval, "0x%llx",&val);
      |                                    ~~~^  ~~~~
      |                                       |  |
      |                                       |  uint64_t* {aka long unsigned int*}
      |                                       long long unsigned int*
      |                                    %lx
img4tool.cpp:1446:37: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘uint64_t*’ {aka ‘long unsigned int*’} [-Wformat=]
 1446 |                 sscanf(pstrval, "%lld",&val);
      |                                  ~~~^  ~~~~
      |                                     |  |
      |                                     |  uint64_t* {aka long unsigned int*}
      |                                     long long int*
      |                                  %ld
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include/img4tool -I../include -I../include/img4tool -I../include -I/usr/local/include -I/usr/local/include -g -O2 -std=c++11 -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c img4tool.cpp -o libimg4tool_la-img4tool.o >/dev/null 2>&1
mv -f .deps/libimg4tool_la-img4tool.Tpo .deps/libimg4tool_la-img4tool.Plo
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -I../include/img4tool -I../include -I../include/img4tool -I../include  -I/usr/local/include  -I/usr/local/include  -g -O2 -std=c++11 -L/usr/local/lib -lplist-2.0 -lssl -lcrypto -L/usr/local/lib -lgeneral -no-undefined -lpthread  -o libimg4tool.la -rpath /usr/local/lib libimg4tool_la-ASN1DERElement.lo libimg4tool_la-lzssdec.lo libimg4tool_la-img4tool.lo  -llzfse 
libtool: link: rm -fr  .libs/libimg4tool.a .libs/libimg4tool.la .libs/libimg4tool.lai .libs/libimg4tool.so .libs/libimg4tool.so.0 .libs/libimg4tool.so.0.0.0
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o  .libs/libimg4tool_la-ASN1DERElement.o .libs/libimg4tool_la-lzssdec.o .libs/libimg4tool_la-img4tool.o   -L/usr/local/lib /usr/local/lib/libplist-2.0.so -lssl -lcrypto /usr/local/lib/libgeneral.so -lpthread -llzfse -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o  -g -O2   -pthread -Wl,-soname -Wl,libimg4tool.so.0 -o .libs/libimg4tool.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libimg4tool.so.0" && ln -s "libimg4tool.so.0.0.0" "libimg4tool.so.0")
libtool: link: (cd ".libs" && rm -f "libimg4tool.so" && ln -s "libimg4tool.so.0.0.0" "libimg4tool.so")
libtool: link: ar cr .libs/libimg4tool.a  libimg4tool_la-ASN1DERElement.o libimg4tool_la-lzssdec.o libimg4tool_la-img4tool.o
libtool: link: ranlib .libs/libimg4tool.a
libtool: link: ( cd ".libs" && rm -f "libimg4tool.la" && ln -s "../libimg4tool.la" "libimg4tool.la" )
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -I../include/img4tool -I../include -I../include/img4tool -I../include  -I/usr/local/include  -I/usr/local/include  -g -O2 -std=c++11 -L/usr/local/lib -lplist-2.0 -lssl -lcrypto -L/usr/local/lib -lgeneral -no-undefined -lpthread  -o img4tool img4tool-main.o libimg4tool.la -llzfse 
libtool: link: g++ -I../include/img4tool -I../include -I../include/img4tool -I../include -I/usr/local/include -I/usr/local/include -g -O2 -std=c++11 -o .libs/img4tool img4tool-main.o  -L/usr/local/lib /usr/local/lib/libplist-2.0.so -lssl -lcrypto /usr/local/lib/libgeneral.so -lpthread ./.libs/libimg4tool.so -llzfse -pthread
make[2]: Leaving directory '/home/anwender/Downloads/img4tool/img4tool/img4tool'
Making all in include
make[2]: Entering directory '/home/anwender/Downloads/img4tool/img4tool/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/anwender/Downloads/img4tool/img4tool/include'
make[2]: Entering directory '/home/anwender/Downloads/img4tool/img4tool'
make[2]: Leaving directory '/home/anwender/Downloads/img4tool/img4tool'
make[1]: Leaving directory '/home/anwender/Downloads/img4tool/img4tool'
anwender@Astaghfirullah:~/Downloads/img4tool/img4tool$ sudo make install
Making install in img4tool
make[1]: Entering directory '/home/anwender/Downloads/img4tool/img4tool/img4tool'
make[2]: Entering directory '/home/anwender/Downloads/img4tool/img4tool/img4tool'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libimg4tool.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libimg4tool.so.0.0.0 /usr/local/lib/libimg4tool.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libimg4tool.so.0.0.0 libimg4tool.so.0 || { rm -f libimg4tool.so.0 && ln -s libimg4tool.so.0.0.0 libimg4tool.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libimg4tool.so.0.0.0 libimg4tool.so || { rm -f libimg4tool.so && ln -s libimg4tool.so.0.0.0 libimg4tool.so; }; })
libtool: install: /usr/bin/install -c .libs/libimg4tool.lai /usr/local/lib/libimg4tool.la
libtool: install: /usr/bin/install -c .libs/libimg4tool.a /usr/local/lib/libimg4tool.a
libtool: install: chmod 644 /usr/local/lib/libimg4tool.a
libtool: install: ranlib /usr/local/lib/libimg4tool.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c img4tool '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/img4tool /usr/local/bin/img4tool
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/anwender/Downloads/img4tool/img4tool/img4tool'
make[1]: Leaving directory '/home/anwender/Downloads/img4tool/img4tool/img4tool'
Making install in include
make[1]: Entering directory '/home/anwender/Downloads/img4tool/img4tool/include'
make[2]: Entering directory '/home/anwender/Downloads/img4tool/img4tool/include'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/include'
 /usr/bin/mkdir -p '/usr/local/include/img4tool'
 /usr/bin/install -c -m 644  img4tool/img4tool.hpp img4tool/ASN1DERElement.hpp '/usr/local/include/img4tool'
make[2]: Leaving directory '/home/anwender/Downloads/img4tool/img4tool/include'
make[1]: Leaving directory '/home/anwender/Downloads/img4tool/img4tool/include'
make[1]: Entering directory '/home/anwender/Downloads/img4tool/img4tool'
make[2]: Entering directory '/home/anwender/Downloads/img4tool/img4tool'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libimg4tool.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/anwender/Downloads/img4tool/img4tool'
make[1]: Leaving directory '/home/anwender/Downloads/img4tool/img4tool'
anwender@Astaghfirullah:~/Downloads/img4tool/img4tool$ cd ..
anwender@Astaghfirullah:~/Downloads/img4tool$ img4tool
img4tool: error while loading shared libraries: libimg4tool.so.0: cannot open shared object file: No such file or directory
anwender@Astaghfirullah:~/Downloads/img4tool$ 
L0caler commented 10 months ago

sudo ldconfig helped