Chinaunix

标题: solaris shell加密 问题 [打印本页]

作者: xmumulin    时间: 2008-03-19 10:48
标题: solaris shell加密 问题
solaris shell下的加密找到了一个shc软件但是在编译的时候出现

make: Fatal error in reader: Makefile, line 32: Invalid byte sequence

运行shc 说缺少/ld-linux.so.2  但是 /ld-linux.so.2是linux下的!不知道是那个软件包内的
bash-3.2# ls
CHANGES     Makefile    pru.sh      shc.1       shc.c       test.bash
Copying     match       shc         shc.README  shc.html    test.csh
bash-3.2# ./shc
shc: Cannot find /lib/ld-linux.so.2
被杀掉
bash-3.2#
请指教一下如何处理 谢谢!
作者: xmumulin    时间: 2008-03-19 10:55
1 # Makefile
      2 #
      3
      4 INSTALL_PATH = /usr/local
      5
      6 # For SCO
      7 CFLAGS = -b elf -O -D_SVID
      8
      9 # For IRIX
     10 CFLAGS = -xansi -fullwarn -O3 -g0
     11
     12 # For Solaris
     13 CFLAGS = -fast -xO4 -s -v -Xa
     14
     15 # For HPUX
     16 CFLAGS = -Wall -O -Ae
     17
     18 # For OSF1
     19 CFLAGS = -w -verbose -fast -std1 -g0
     20
     21 # For GNU C compiler
     22 CFLAGS = -Wall -O6 -pedantic
     23
     24 SHELL = /bin/sh
     25
     26 all: shc ask_for_test
     27
     28 shc: shc.c
     29         $(CC) $(CFLAGS) $@.c -o $@
     30
     31 ask_for_test:
     32         @echo '***      
作者: yuhuohu    时间: 2008-03-19 11:34
shc 这个软件莫非是for linux的?
作者: xmumulin    时间: 2008-03-19 11:43
原帖由 yuhuohu 于 2008-3-19 11:34 发表
shc 这个软件莫非是for linux的?


12 # For Solaris
     13 CFLAGS = -fast -xO4 -s -v -Xa
MAKE 里面又有这句、

应该还是支持Solaris吧




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2