Advertisement
Guest User

Untitled

a guest
Aug 21st, 2018
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.86 KB | None | 0 0
  1. [root@localhost file-5.34]# file -v
  2. file-5.11
  3. magic file from /etc/magic:/usr/share/misc/magic
  4. [root@localhost file-5.34]# yum remove file
  5. Loaded plugins: langpacks, priorities, update-motd
  6. Resolving Dependencies
  7. --> Running transaction check
  8. ---> Package file.x86_64 0:5.11-33.amzn2 will be erased
  9. --> Processing Dependency: file = 5.11-33.amzn2 for package: python-magic-5.11-33.amzn2.noarch
  10. --> Running transaction check
  11. ---> Package python-magic.noarch 0:5.11-33.amzn2 will be erased
  12. --> Finished Dependency Resolution
  13.  
  14. Dependencies Resolved
  15.  
  16. ===================================================================================================================================================================================================================
  17. Package Arch Version Repository Size
  18. ===================================================================================================================================================================================================================
  19. Removing:
  20. file x86_64 5.11-33.amzn2 @amzn2-core 66 k
  21. Removing for dependencies:
  22. python-magic noarch 5.11-33.amzn2 @amzn2-core 17 k
  23.  
  24. Transaction Summary
  25. ===================================================================================================================================================================================================================
  26. Remove 1 Package (+1 Dependent package)
  27.  
  28. Installed size: 82 k
  29. Is this ok [y/N]: y
  30. Downloading packages:
  31. Running transaction check
  32. Running transaction test
  33. Transaction test succeeded
  34. Running transaction
  35. Erasing : python-magic-5.11-33.amzn2.noarch 1/2
  36. Erasing : file-5.11-33.amzn2.x86_64 2/2
  37. Verifying : python-magic-5.11-33.amzn2.noarch 1/2
  38. Verifying : file-5.11-33.amzn2.x86_64 2/2
  39.  
  40. Removed:
  41. file.x86_64 0:5.11-33.amzn2
  42.  
  43. Dependency Removed:
  44. python-magic.noarch 0:5.11-33.amzn2
  45.  
  46. Complete!
  47. [root@localhost file-5.34]# file -v
  48. bash: /bin/file: No such file or directory
  49. [root@localhost file-5.34]# sudo make install
  50. Making install in src
  51. make[1]: Entering directory `/home/vagrant/file-5.34/src'
  52. make install-am
  53. make[2]: Entering directory `/home/vagrant/file-5.34/src'
  54. make[3]: Entering directory `/home/vagrant/file-5.34/src'
  55. /bin/mkdir -p '/usr/lib'
  56. /bin/sh ../libtool --mode=install /bin/install -c libmagic.la '/usr/lib'
  57. libtool: install: /bin/install -c .libs/libmagic.so.1.0.0 /usr/lib/libmagic.so.1.0.0
  58. libtool: install: (cd /usr/lib && { ln -s -f libmagic.so.1.0.0 libmagic.so.1 || { rm -f libmagic.so.1 && ln -s libmagic.so.1.0.0 libmagic.so.1; }; })
  59. libtool: install: (cd /usr/lib && { ln -s -f libmagic.so.1.0.0 libmagic.so || { rm -f libmagic.so && ln -s libmagic.so.1.0.0 libmagic.so; }; })
  60. libtool: install: /bin/install -c .libs/libmagic.lai /usr/lib/libmagic.la
  61. libtool: finish: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n /usr/lib
  62. ----------------------------------------------------------------------
  63. Libraries have been installed in:
  64. /usr/lib
  65.  
  66. If you ever happen to want to link against installed libraries
  67. in a given directory, LIBDIR, you must either use libtool, and
  68. specify the full pathname of the library, or use the `-LLIBDIR'
  69. flag during linking and do at least one of the following:
  70. - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
  71. during execution
  72. - add LIBDIR to the `LD_RUN_PATH' environment variable
  73. during linking
  74. - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  75. - have your system administrator add LIBDIR to `/etc/ld.so.conf'
  76.  
  77. See any operating system documentation about shared libraries for
  78. more information, such as the ld(1) and ld.so(8) manual pages.
  79. ----------------------------------------------------------------------
  80. /bin/mkdir -p '/usr/bin'
  81. /bin/sh ../libtool --mode=install /bin/install -c file '/usr/bin'
  82. libtool: install: /bin/install -c .libs/file /usr/bin/file
  83. /bin/mkdir -p '/usr/include'
  84. /bin/install -c -m 644 magic.h '/usr/include'
  85. make[3]: Leaving directory `/home/vagrant/file-5.34/src'
  86. make[2]: Leaving directory `/home/vagrant/file-5.34/src'
  87. make[1]: Leaving directory `/home/vagrant/file-5.34/src'
  88. Making install in magic
  89. make[1]: Entering directory `/home/vagrant/file-5.34/magic'
  90. make[2]: Entering directory `/home/vagrant/file-5.34/magic'
  91. make[2]: Nothing to be done for `install-exec-am'.
  92. /bin/mkdir -p '/usr/share/misc'
  93. /bin/install -c -m 644 magic.mgc '/usr/share/misc'
  94. make[2]: Leaving directory `/home/vagrant/file-5.34/magic'
  95. make[1]: Leaving directory `/home/vagrant/file-5.34/magic'
  96. Making install in tests
  97. make[1]: Entering directory `/home/vagrant/file-5.34/tests'
  98. make[2]: Entering directory `/home/vagrant/file-5.34/tests'
  99. make[2]: Nothing to be done for `install-exec-am'.
  100. make[2]: Nothing to be done for `install-data-am'.
  101. make[2]: Leaving directory `/home/vagrant/file-5.34/tests'
  102. make[1]: Leaving directory `/home/vagrant/file-5.34/tests'
  103. Making install in doc
  104. make[1]: Entering directory `/home/vagrant/file-5.34/doc'
  105. make[2]: Entering directory `/home/vagrant/file-5.34/doc'
  106. make[2]: Nothing to be done for `install-exec-am'.
  107. /bin/mkdir -p '/usr/share/man/man1'
  108. /bin/install -c -m 644 file.1 '/usr/share/man/man1'
  109. /bin/mkdir -p '/usr/share/man/man3'
  110. /bin/install -c -m 644 libmagic.3 '/usr/share/man/man3'
  111. /bin/mkdir -p '/usr/share/man/man4'
  112. /bin/install -c -m 644 magic.4 '/usr/share/man/man4'
  113. /bin/mkdir -p '/usr/share/man/man5'
  114. make[2]: Leaving directory `/home/vagrant/file-5.34/doc'
  115. make[1]: Leaving directory `/home/vagrant/file-5.34/doc'
  116. Making install in python
  117. make[1]: Entering directory `/home/vagrant/file-5.34/python'
  118. make[2]: Entering directory `/home/vagrant/file-5.34/python'
  119. make[2]: Nothing to be done for `install-exec-am'.
  120. make[2]: Nothing to be done for `install-data-am'.
  121. make[2]: Leaving directory `/home/vagrant/file-5.34/python'
  122. make[1]: Leaving directory `/home/vagrant/file-5.34/python'
  123. make[1]: Entering directory `/home/vagrant/file-5.34'
  124. make[2]: Entering directory `/home/vagrant/file-5.34'
  125. make[2]: Nothing to be done for `install-exec-am'.
  126. make[2]: Nothing to be done for `install-data-am'.
  127. make[2]: Leaving directory `/home/vagrant/file-5.34'
  128. make[1]: Leaving directory `/home/vagrant/file-5.34'
  129. [root@localhost file-5.34]# file -v
  130. file-5.34
  131. magic file from /etc/magic:/usr/share/misc/magic
  132. [root@localhost file-5.34]# file -b config.log
  133. file: symbol lookup error: file: undefined symbol: magic_version
  134. [root@localhost file-5.34]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement