Advertisement
Guest User

32 bit termcap on centos 7

a guest
Sep 6th, 2016
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. [root@ohz26 ~]# /u/appl/fp/rclerk
  2. /u/appl/fp/rclerk: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory
  3. [root@ohz26 ~]# file /u/appl/fp/rclerk
  4. /u/appl/fp/rclerk: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped
  5. [root@ohz26 ~]# ldd /u/appl/fp/rclerk
  6. linux-gate.so.1 => (0xf7785000)
  7. libtermcap.so.2 => not found
  8. libm.so.6 => /lib/libm.so.6 (0xf7739000)
  9. libc.so.6 => /lib/libc.so.6 (0xf757c000)
  10. /lib/ld-linux.so.2 (0xf7786000)
  11. [root@ohz26 ~]# yum provides '*libtermcap.so*'
  12. Loaded plugins: fastestmirror
  13. Loading mirror speeds from cached hostfile
  14. * base: centos.mirror.constant.com
  15. * extras: centos.mirror.constant.com
  16. * updates: centos.mirror.constant.com
  17. compat-libtermcap-2.0.8-49.1.x86_64 : A basic system library for accessing the termcap database
  18. Repo : aljexobs
  19. Matched from:
  20. Filename : /lib64/libtermcap.so.2
  21. Provides : libtermcap.so.2()(64bit)
  22. Filename : /lib64/libtermcap.so.2.0.8
  23.  
  24.  
  25.  
  26. compat-libtermcap-debuginfo-2.0.8-49.1.x86_64 : Debug information for package compat-libtermcap
  27. Repo : aljexobs
  28. Matched from:
  29. Filename : /usr/lib/debug/lib64/libtermcap.so.2.0.8.debug
  30. Filename : /usr/lib/debug/lib64/libtermcap.so.2.debug
  31.  
  32.  
  33.  
  34. ncurses-devel-5.9-13.20130511.el7.i686 : Development files for the ncurses library
  35. Repo : base
  36. Matched from:
  37. Filename : /usr/lib/libtermcap.so
  38.  
  39.  
  40.  
  41. ncurses-devel-5.9-13.20130511.el7.i686 : Development files for the ncurses library
  42. Repo : buildlogs.centos.org_centos_7_os_i386_
  43. Matched from:
  44. Filename : /usr/lib/libtermcap.so
  45.  
  46.  
  47.  
  48. ncurses-devel-5.9-13.20130511.el7.x86_64 : Development files for the ncurses library
  49. Repo : base
  50. Matched from:
  51. Filename : /usr/lib64/libtermcap.so
  52.  
  53.  
  54.  
  55. ncurses-devel-5.9-13.20130511.el7.i686 : Development files for the ncurses library
  56. Repo : installed
  57. Matched from:
  58. Filename : /usr/lib/libtermcap.so
  59.  
  60.  
  61.  
  62. [root@ohz26 ~]# (cd /usr/lib ;ln -s libtermcap.so libtermcap.so.2)
  63. [root@ohz26 ~]# ls -la /usr/lib/libtermcap*
  64. -rw-r--r--. 1 root root 15 Jun 10 2014 /usr/lib/libtermcap.so
  65. lrwxrwxrwx. 1 root root 13 Sep 6 18:10 /usr/lib/libtermcap.so.2 -> libtermcap.so
  66. [root@ohz26 ~]# /u/appl/fp/rclerk
  67. /u/appl/fp/rclerk: error while loading shared libraries: /lib/libtermcap.so.2: file too short
  68. [root@ohz26 ~]# ldd /u/appl/fp/rclerk
  69. /u/appl/fp/rclerk: error while loading shared libraries: /lib/libtermcap.so.2: file too short
  70. [root@ohz26 ~]# cat /usr/lib/libtermcap.so
  71. INPUT(-ltinfo)
  72. [root@ohz26 ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement