when compress a folder on linux, a strange error occured. #214
-
an error appeared as below. the 7z.so i used the /usr/lib/p7zip/7z.so. and when the code run on windows, it works. version: the code is c++ on linux: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi! |
Beta Was this translation helpful? Give feedback.
Hi!
By default bit7z builds for 7-Zip 23.01. Unfortunately, this version of 7-Zip introduced some incompatibilities with p7zip's shared libraries that can cause problems like yours.
If you want to use p7zip's 7z.so with bit7z, you need to build the latter with the
BIT7Z_USE_LEGACY_IUNKNOWN
option enabled.This should solve your problem.