Cloudreve icon indicating copy to clipboard operation
Cloudreve copied to clipboard

Cloudreve是不是只支持linux内核3.2以上的?能支持2.6的内核吗?

Open dufei99 opened this issue 3 years ago • 10 comments

我是在路由器上使用的,平台是2.6的内核,下载cloudreve_3.4.2_linux_arm.tar.gz后运行出错bash: ./cloudreve: No such file or directory 我的路由器信息是:Linux MiWiFi 2.6.36.4brcmarm #16 SMP PREEMPT Tue Dec 21 07:59:19 CET 2021 armv7l Tomato ,如果支持2.6的内核,那么很多玩路由器的(如openwrt,tomato等)都可以安装这个cloudreve作为一个网盘使用.

dufei99 avatar Feb 12 '22 04:02 dufei99

就算内核不支持,也不至于出现 no such file or diretory的错误提示吧?应该是你自己的问题

lsCoding666 avatar Feb 14 '22 01:02 lsCoding666

# file cloudreve cloudreve: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, Go BuildID=hT6ys4ITHaaefJOQVvsv/PXTvi0SBJQbT1-PsTPnn/BvDuDz14uLTO_GA2_Jog/wYvZwouG4Z0OKhlcxzrV, BuildID[sha1]=a7f9243ddb3dbc99c8a6b38ce7512dbd99cf559b, not stripped 我也不太懂,同目录下的caddy_arm5可以运行。file查看是上面这个信息。

dufei99 avatar Feb 14 '22 02:02 dufei99

file -c cloudreve 2>&1信息如下:不知对解决问题有没有用,太长删了中间一些 · unknown, 0: Warning: using regular magic file`/opt/share/misc/magic' cont offset type opcode mask value desc 1: > 0 lelong&,=-1010055483,"RISC OS Chunk data"] 2: >> 12 string,=OBJ_,", AOF object"] 3: >> 12 string,=LIB_,", ALF library"] 4: > 16 lelong&,=-285212655,"RISC OS AIF executable"] 5: > 0 string,=Draw,"RISC OS Draw file data"] 6: > 0 string,=FONT\000,"RISC OS outline font data,"] 7: >> 5 byte&,x,"version %d"] 8: > 0 string,=FONT\001,"RISC OS 1bpp font data,"] 9: >> 5 byte&,x,"version %d"] 10: > 0 string,=FONT\004,"RISC OS 4bpp font data"] 11: >> 5 byte&,x,"version %d"] 12: > 0 string,=Maestro\r,"RISC OS music file"] 13: >> 8 byte&,x,"version %d"] 14: >> 8 byte&,x,"type %d"] 15: > 0 string,=\002\001\023\023\023\001\r\020,"Digital Symphony sound sample (RISC OS),"] 16: >> 8 byte&,x,"version %d,"] 17: >> 9 pstring/B,x,"named "%s","] 18: >> 9(byte,+19), byte&,=0,"8-bit logarithmic"] 19: >> 9(byte,+19), byte&,=1,"LZW-compressed linear"] 20: >> 9(byte,+19), byte&,=2,"8-bit linear signed"] 21: >> 9(byte,+19), byte&,=3,"16-bit linear signed"] 22: >> 9(byte,+19), byte&,=4,"SigmaDelta-compressed linear"] 23: >> 9(byte,+19), byte&,=5,"SigmaDelta-compressed logarithmic"] 24: >> 9(byte,+19), byte&,>5,"unknown format"] 25: > 0 string,=\002\001\023\023\024\022\001\v,"Digital Symphony song (RISC OS),"]

....

20791: >>> 10 use,='zipcompression',""] 20792: > 0 name,='zipcompression',""] 20793: >> 0 leshort&,=0,"store"] 20794: >> 0 leshort&,=1,"Shrinking"] 20795: >> 0 leshort&,=6,"Imploding"] 20796: >> 0 leshort&,=7,"Tokenizing"] 20797: >> 0 leshort&,=8,"deflate"] 20798: >> 0 leshort&,=9,"deflate64"] 20799: >> 0 leshort&,=10,"Library imploding"] 20800: >> 0 leshort&,=12,"bzip2"] 20801: >> 0 leshort&,=14,"lzma"] 20802: >> 0 leshort&,=16,"CMPSC (IBM z/OS)"] 20803: >> 0 leshort&,=18,"IBM TERSE"] 20804: >> 0 leshort&,=19,"IBM LZ77 (z/Architecture)"] 20805: >> 0 leshort&,=20,"Zstd (deprecated)"] 20806: >> 0 leshort&,=93,"Zstd"] 20807: >> 0 leshort&,=94,"MP3"] 20808: >> 0 leshort&,=95,"xz"] 20809: >> 0 leshort&,=96,"Jpeg"] 20810: >> 0 leshort&,=97,"WavPack"] 20811: >> 0 leshort&,=98,"PPMd"] 20812: >> 0 leshort&,=99,"AES Encrypted"] 20813: >> 0 default&,x,""] 20814: >>> 0 leshort&,x,"[%#x]"] 20815: > 0 name,='zipversion',""] 20816: >> 0 ubyte/0000000a,x,"v%u"] 20817: >> 0 ubyte%0000000a,x,".%u"] 20818: > 0 name,='ziphost',""] 20819: >> 1 ubyte&,=1,"Amiga"] 20820: >> 1 ubyte&,=2,"OpenVMS"] 20821: >> 1 ubyte&,=3,"UNIX"] 20822: >> 1 ubyte&,=4,"VM/CMS"] 20823: >> 1 ubyte&,=6,"OS/2"] 20824: >> 1 ubyte&,=7,"Macintosh"] 20825: >> 1 ubyte&,=11,"MVS"] 20826: >> 1 ubyte&,=13,"Acorn Risc"] 20827: >> 1 ubyte&,=16,"BeOS"] 20828: >> 1 ubyte&,=17,"Tandem"] 20829: >> 1 ubyte&,=5,"Atari ST"] 20830: >> 1 ubyte&,=8,"Z-System"] 20831: >> 1 ubyte&,=9,"CP/M"] 20832: >> 1 ubyte&,=10,"Windows NTFS"] 20833: >> 1 ubyte&,=12,"VSE"] 20834: >> 1 ubyte&,=14,"VFAT"] 20835: >> 1 ubyte&,=15,"alternate MVS"] 20836: >> 1 ubyte&,=18,"OS/400"] 20837: >> 1 ubyte&,=19,"OS X"] 20838: > 22 string,=PK\005\006,""] 20839: >> 16(lelong,&0), use,='zipcd',""] 20840: >>> 20 pstring/l,>0\000\000\000\000,", %s"] 20841: > 0 string,=ZyXEL\002,"ZyXEL voice data"] 20842: >> 10 byte&,=0,"- CELP encoding"] 20843: >> 10 byte&0000000b,=1,"- ADPCM2 encoding"] 20844: >> 10 byte&0000000b,=2,"- ADPCM3 encoding"] 20845: >> 10 byte&0000000b,=3,"- ADPCM4 encoding"] 20846: >> 10 byte&0000000b,=8,"- New ADPCM3 encoding"] 20847: >> 10 byte&00000004,=4,"with resync"] ·

dufei99 avatar Feb 14 '22 03:02 dufei99

啊 那我也不清楚 你试试对比下两个文件的file信息?

# file cloudreve cloudreve: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, Go BuildID=hT6ys4ITHaaefJOQVvsv/PXTvi0SBJQbT1-PsTPnn/BvDuDz14uLTO_GA2_Jog/wYvZwouG4Z0OKhlcxzrV, BuildID[sha1]=a7f9243ddb3dbc99c8a6b38ce7512dbd99cf559b, not stripped 我也不太懂,同目录下的caddy_arm5可以运行。file查看是上面这个信息。

lsCoding666 avatar Feb 14 '22 04:02 lsCoding666

啊 那我也不清楚 你试试对比下两个文件的file信息?

# file cloudreve cloudreve: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, Go BuildID=hT6ys4ITHaaefJOQVvsv/PXTvi0SBJQbT1-PsTPnn/BvDuDz14uLTO_GA2_Jog/wYvZwouG4Z0OKhlcxzrV, BuildID[sha1]=a7f9243ddb3dbc99c8a6b38ce7512dbd99cf559b, not stripped 我也不太懂,同目录下的caddy_arm5可以运行。file查看是上面这个信息。

# file caddy_arm5 caddy_arm5: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, Go BuildID=rkOIehQ9Y8Kctk0cFiQN/AyK-RMBGlWfARbPdDO3C/h1wmz-6OtcwtdXOFXzi-/qdQqolOeX_1ibXMzqUmp, stripped

caddy的没有看到又版本信息

dufei99 avatar Feb 14 '22 04:02 dufei99

首先你应该解压了吧(? 接着ls看的到一个名为cloudreve的文件吗?

gyigi avatar Mar 18 '22 05:03 gyigi

openwrt 上没法跑,是类库链接的问题。

/lib64/ld-linux-x86-64.so.2 (0x7f4503ab0000)
        libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f4503ab0000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f4503ab0000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f4503ab0000)
Error relocating ./cloudreve: __vfprintf_chk: symbol not found
Error relocating ./cloudreve: __memcpy_chk: symbol not found
Error relocating ./cloudreve: __memset_chk: symbol not found
Error relocating ./cloudreve: __fprintf_chk: symbol not found

mokeyish avatar Apr 09 '22 21:04 mokeyish

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 05 '23 00:04 stale[bot]

你那路由器应该是mips架构,cloudreve没有

GreenTeodoro839 avatar Apr 05 '23 05:04 GreenTeodoro839

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 01 '24 00:04 stale[bot]