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

ERROR: Loading command: install (LoadError) dlopen failed: library "libssl.so.1.1" not found: needed by /data/data/com.termux/files/usr/lib/ruby/2.7.0/aarch64-linux-android/openssl.so in namespace (default) - /data/data/com.termux/files/usr/lib/ruby/2.7.0/aarch64-linux-android/openssl.so ERROR: While executing gem ... (NoMethodError) undefined method invoke_with_build_args' for nil:NilClass ERROR: Loading command: install (LoadError) dlopen failed: library "libssl.so.1.1" not found: needed by /data/data/com.termux/files/usr/lib/ruby/2.7.0/aarch64-linux-android/openssl.so in namespace (default) - /data/data/com.termux/files/usr/lib/ruby/2.7.0/aarch64-linux-android/openssl.so ERROR: While executing gem ... (NoMethodError) undefined method invoke_with_build_args' for nil:NilClass ERROR: Loading command: install (LoadError) #101

Closed
11092004 opened this issue Mar 5, 2022 · 30 comments
Labels

Comments

@11092004
Copy link

11092004 commented Mar 5, 2022

Important
Do not duplicate, search your issue before creating one!

Describe the bug
A clear and concise description of what the bug is.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. OnePlus 8]
  • OS: [e.g. Android 10]
    Screenshot_2022-03-05-11-45-09-113_com termux
@11092004
Copy link
Author

11092004 commented Mar 5, 2022

I have tried reinstalling it numerous times but every time I run into these issues

@ajithlak18
Copy link

ajithlak18 commented Mar 5, 2022

same here no solution is given by team

@dedshit
Copy link
Contributor

dedshit commented Mar 6, 2022

lol use latest version

@11092004
Copy link
Author

11092004 commented Mar 6, 2022

lol use latest version

Using the latest version

@dedshit
Copy link
Contributor

dedshit commented Mar 6, 2022

send screesnshot

@11092004
Copy link
Author

11092004 commented Mar 6, 2022

send screesnshot

Screenshot_2022-03-06-19-06-40-304_com termux

@dedshit
Copy link
Contributor

dedshit commented Mar 6, 2022

did u reinstalled metasploit or termux ?

@11092004
Copy link
Author

11092004 commented Mar 7, 2022

did u reinstalled metasploit or termux ?

I tried to do so many times but again again I get a issue

@skycat2216
Copy link

Do you ran

pkg upgrade

before?

@11092004
Copy link
Author

11092004 commented Mar 7, 2022

Do you ran

pkg upgrade

before?

Yes I did

@skycat2216
Copy link

skycat2216 commented Mar 7, 2022

Can you check your version of ruby and openssl??
It should be 3.1.0p0 and 3.0.1
Or just check the status of openssl 1.1
that might be the problem

@amzker
Copy link

amzker commented Mar 9, 2022

pkg install openssl-tools
cp -r $PREFIX/lib/openssl-1.1/* $PREFIX/lib/

@gushmazuko
Copy link
Owner

Fixed 280f656

@moonpower007
Copy link

Change to gremilers repo to install the old version worked for me

@CoryResilient
Copy link

Fixed 280f656

No it's not solved. Stop lying

@skycat2216
Copy link

skycat2216 commented Mar 27, 2022

apt search openssl
and paste the screenshot in here

@dedshit
Copy link
Contributor

dedshit commented Mar 27, 2022

Fixed 280f656

No it's not solved. Stop lying

screenshot

@CyberKid1987
Copy link

CyberKid1987 commented Apr 15, 2022

Uploading Screenshot_20220415-115259051.jpg…

Full Text Search... Done
libretls/stable 3.5.1 aarch64
libtls for OpenSSL

openssl/stable,now 3.0.2 aarch64 [installed]
Library implementing the SSL and TLS protocols as well as general purpose cryptography functions

openssl-1.1/stable 1.1.1n aarch64
Library implementing the SSL and TLS protocols as well as general purpose cryptography functions

openssl-1.1-static/stable 1.1.1n aarch64
Static libraries for openssl-1.1

openssl-static/stable 3.0.2 aarch64
Static libraries for openssl

openssl-tool/stable 3.0.2 aarch64
The openssl command line cryptographic tool

openssl1.1-tool/stable 1.1.1n aarch64
The openssl command line cryptographic tool

Same problem. Any help?

@skycat2216
Copy link

try installing openssl-1. 1
That might the reason

@CyberKid1987
Copy link

try installing openssl-1. 1 That might the reason

Same

@skycat2216
Copy link

Wait,Have you reinstall Ruby?

@CyberKid1987
Copy link

Wait,Have you reinstall Ruby?

Yes

@amzker
Copy link

amzker commented Apr 15, 2022

pkg install openssl-tools cp -r $PREFIX/lib/openssl-1.1/* $PREFIX/lib/

@CyberKid1987
Copy link

pkg install openssl-tools cp -r $PREFIX/lib/openssl-1.1/* $PREFIX/lib/

Wrong commands

@amzker
Copy link

amzker commented Apr 15, 2022

can you share the output of your typed command, my typo
openssl-tool

@CyberKid1987
Copy link

CyberKid1987 commented Apr 15, 2022

can you share the output of your typed command, my typo openssl-tool

Uploading Screenshot_20220415-132906753.jpg…

pkg install openssl-tools cp -r $PREFIX/lib/openssl-1.1/* $PREFIX/lib/
Checking availability of current mirror: ok
E: Command line option 'r' [from -r] is not understood in combination with the other options.
~ $

@amzker
Copy link

amzker commented Apr 15, 2022

borh are seprate commands, use like this
1st
pkg install openssl-tool

2nd
cp -r $PREFIX/lib/openssl-1.1/* $PREFIX/lib/

or combined

pkg install openssl-tool && cp -r $PREFIX/lib/openssl-1.1/* $PREFIX/lib/

@CyberKid1987
Copy link

CyberKid1987 commented Apr 15, 2022

borh are seprate commands, use like this 1st pkg install openssl-tool

2nd cp -r $PREFIX/lib/openssl-1.1/* $PREFIX/lib/

or combined

pkg install openssl-tool && cp -r $PREFIX/lib/openssl-1.1/* $PREFIX/lib/

First time not working. Second time works.. Its madness...

Now for dB connect:

mkdir -p $PREFIX/var/lib/postgresql
initdb $PREFIX/var/lib/postgresql

Commands to start and stop from termux are..
pg_ctl -D $PREFIX/var/lib/postgresql start

pg_ctl -D $PREFIX/var/lib/postgresql stop

Type msfconsole and then db_connect msf

Done...

@momo-AUX1
Copy link

Switch to the grimler mirrors to install an old openssh/ssl version that worked for me

@madc-MX
Copy link

madc-MX commented Sep 5, 2024

Screenshot_20240904_205305_Termux
Porq me aparece esto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

12 participants