Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: libunshield #5086

Closed
strikersix23 opened this issue Mar 27, 2020 · 6 comments
Closed

Request: libunshield #5086

strikersix23 opened this issue Mar 27, 2020 · 6 comments
Labels
package request A new package was requested.

Comments

@strikersix23
Copy link

extracts cab and iss(installshield cab) files uses zlib and openssl
Links:
Homepage:
https://github.com/twogood/unshield

src:https://github.com/twogood/unshield

Additional info
Tried to compile but got an linking error
Here is the error I'm on Android 9

/data/data/com.termux/files/usr/bin/arm-linux-androideabi-ld: CMakeFiles/unshield.dir/unshield.c.o: in function main': /data/data/com.termux/files/home/unshield/src/unshield.c:778: undefined reference to libiconv_open'
/data/data/com.termux/files/usr/bin/arm-linux-androideabi-ld: /data/data/com.termux/files/home/unshield/src/unshield.c:820: undefined reference to libiconv_close' /data/data/com.termux/files/usr/bin/arm-linux-androideabi-ld: CMakeFiles/unshield.dir/unshield.c.o: in function convert_encoding':
/data/data/com.termux/files/home/unshield/src/unshield.c:159: undefined reference to `libiconv'
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/CMakeFiles/unshield.dir/build.make:106: src/unshield] Error 1
make[2]: Leaving directory '/data/data/com.termux/files/home/unshield/build'
make[1]: *** [CMakeFiles/Makefile2:209: src/CMakeFiles/unshield.dir/all] Error 2
make[1]: Leaving directory '/data/data/com.termux/files/home/unshield/build'
make: *** [Makefile:147: all] Error 2

@ghost ghost added the package request A new package was requested. label Mar 28, 2020
@FreddieOliveira
Copy link
Contributor

/data/data/com.termux/files/home/unshield/src/unshield.c:159: undefined reference to `libiconv'

Did you try to install it pkg install libiconv and then compile again?

@strikersix23
Copy link
Author

libiconv is already installed I triple checked I believe macros might be missing

@strikersix23
Copy link
Author

As it is missing
libiconv_open
libiconv_close

Everything else compiles but it stops there

@strikersix23
Copy link
Author

I got logs here:
CMakeOutput.log

CMakeError.log

@qwerty12
Copy link
Contributor

qwerty12 commented Apr 18, 2020

Configure it with LDFLAGS=" -Wl,--no-as-needed -liconv" cmake .. (I had the pleasure of working that one out when rebuilding transmission-daemon on my Android 9 phone)

ghost pushed a commit that referenced this issue May 7, 2020
@ghost
Copy link

ghost commented May 7, 2020

Package is now available.

You can obtain it with these commands:

pkg install unshield

@ghost ghost closed this as completed May 7, 2020
@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package request A new package was requested.
Projects
None yet
Development

No branches or pull requests

3 participants