Comments (11)
Did you make & install lzfse before building unzip-lzfse?
from unzip-lzfse.
Yes, lzfse had been made & installed before
from unzip-lzfse.
@nihuo try
cmake .
make install
in lzfse
and then rebuild unzip-lzfse
from unzip-lzfse.
same error :(
from unzip-lzfse.
In my Macbook, it could be perfectly compiled
from unzip-lzfse.
I just tested on CentOS 7, same error
from unzip-lzfse.
Got a little progress.
build lzfse with below commands
mkdir build
cd build
cmake ..
make install
after these command and build unzip project will be success. But when using the unzip extract ipa file, got below message:
`LZFSE' method not supported
from unzip-lzfse.
看Makefile最后输出的那个链接命令,cc -o unzip ... -llzfse ... -s 把 -llzfse 放到-s后面即可成功链接
from unzip-lzfse.
root@dev206:~/build/unzip-lzfse# cc -o unzip -L/usr/local/lib -s -llzfse -Lbzip2 unzip.o crc32.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o ubz2err.o unreduce.o unshrink.o zipinfo.o unix.o
unix.o: In function `set_symlnk_attribs':
unix.c:(.text+0x194c): warning: lchmod is not implemented and will always fail
extract.o: In function `extract_or_test_entrylist':
extract.c:(.text+0x1992): undefined reference to `lzfse_decode_buffer'
extract.o: In function `UZlzfse_decode':
extract.c:(.text+0x4d20): undefined reference to `lzfse_decode_buffer'
collect2: error: ld returned 1 exit status
root@dev206:~/build/unzip-lzfse# cc -v
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.2.0-8ubuntu3.2' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3.2)
from unzip-lzfse.
@nihuo Try
from unzip-lzfse.
COOL!!!!!!!! It works now!
Thank you very much!
from unzip-lzfse.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unzip-lzfse.