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

Cannot locate symbol 'sk_num' in native library 'libssl.so' #34

Open
robertlemmen opened this Issue Jun 6, 2018 · 5 comments

Comments

Projects
None yet
5 participants
@donpdonp

This comment has been minimized.

Show comment
Hide comment
@donpdonp

donpdonp Jul 16, 2018

building IO::Socket::Async::SSL in Ubuntu 18.04 / openssl 1.1.0g gives:

===> Testing [OK] for OpenSSL:ver<0.1.19>:auth<github:sergot>
===> Testing: IO::Socket::Async::SSL:ver<0.7.0>
Cannot locate symbol 'sk_num' in native library 'libssl.so'
  in method setup at /home/donp/.rakudobrew/moar-2018.06/install/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 283
  in method CALL-ME at /home/donp/.rakudobrew/moar-2018.06/install/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 570
  in block  at /home/donp/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 436
  in block  at /home/donp/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 401
  in block <unit> at t/client-server.t line 171

donpdonp commented Jul 16, 2018

building IO::Socket::Async::SSL in Ubuntu 18.04 / openssl 1.1.0g gives:

===> Testing [OK] for OpenSSL:ver<0.1.19>:auth<github:sergot>
===> Testing: IO::Socket::Async::SSL:ver<0.7.0>
Cannot locate symbol 'sk_num' in native library 'libssl.so'
  in method setup at /home/donp/.rakudobrew/moar-2018.06/install/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 283
  in method CALL-ME at /home/donp/.rakudobrew/moar-2018.06/install/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 570
  in block  at /home/donp/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 436
  in block  at /home/donp/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 401
  in block <unit> at t/client-server.t line 171

@jnthn

This comment has been minimized.

Show comment
Hide comment
@jnthn

jnthn Jul 16, 2018

Owner

Yes, unfortunately that symbol went missing in 1.1, so for the moment this module requires a 1.0 library. It had used to work with 1.1 also, so will either need to find how sk_num is spelled in 1.1 or make whatever code was added conditional on version.

Owner

jnthn commented Jul 16, 2018

Yes, unfortunately that symbol went missing in 1.1, so for the moment this module requires a 1.0 library. It had used to work with 1.1 also, so will either need to find how sk_num is spelled in 1.1 or make whatever code was added conditional on version.

@donpdonp

This comment has been minimized.

Show comment
Hide comment
@donpdonp

donpdonp Jul 17, 2018

The OpenSSL module has a patch in the issue comments. For anyone needing a temporary fix, go to the openssl issue listed above for instructions. As far as Socket::Async, I think the only thing to do is wait on OpenSSL for a release with a fix.

donpdonp commented Jul 17, 2018

The OpenSSL module has a patch in the issue comments. For anyone needing a temporary fix, go to the openssl issue listed above for instructions. As far as Socket::Async, I think the only thing to do is wait on OpenSSL for a release with a fix.

@kensanata

This comment has been minimized.

Show comment
Hide comment
@kensanata

kensanata Oct 6, 2018

I've run into this problem as well, on a Debian server. There, I have 1.1.0f-3+deb9u2 installed. On a laptop running PureOS (derived from Debian), I have 1.1.0h-4 installed and I'm no longer seeing the problem. I guess it was fixed somewhere in between?

===> Testing: IO::Socket::Async::SSL:ver<0.7.0>
Cannot locate symbol 'sk_num' in native library 'libssl.so'
  in method setup at /home/alex/rakudo/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 283
  in method CALL-ME at /home/alex/rakudo/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 570
  in block  at /home/alex/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 436
  in block  at /home/alex/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 401
  in block <unit> at t/client-server.t line 171

kensanata commented Oct 6, 2018

I've run into this problem as well, on a Debian server. There, I have 1.1.0f-3+deb9u2 installed. On a laptop running PureOS (derived from Debian), I have 1.1.0h-4 installed and I'm no longer seeing the problem. I guess it was fixed somewhere in between?

===> Testing: IO::Socket::Async::SSL:ver<0.7.0>
Cannot locate symbol 'sk_num' in native library 'libssl.so'
  in method setup at /home/alex/rakudo/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 283
  in method CALL-ME at /home/alex/rakudo/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 570
  in block  at /home/alex/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 436
  in block  at /home/alex/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 401
  in block <unit> at t/client-server.t line 171
@rbt

This comment has been minimized.

Show comment
Hide comment
@rbt

rbt Oct 8, 2018

I'm seeing this too with the rakudo-star:latest image.

Using --force seems to work around the problem (for installing Cro).

==> DockerFile
FROM rakudo-star:latest

RUN apt-get -y install uuid-dev libssl-dev make gcc
&& zef install IO::Socket::Async::SSL

===> Searching for: IO::Socket::Async::SSL
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
Cannot locate symbol 'sk_num' in native library 'libssl.so'
in method setup at /usr/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 291
in method CALL-ME at /usr/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 570
in block at /root/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 436
in block at /root/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 401
in block at t/client-server.t line 171

rbt commented Oct 8, 2018

I'm seeing this too with the rakudo-star:latest image.

Using --force seems to work around the problem (for installing Cro).

==> DockerFile
FROM rakudo-star:latest

RUN apt-get -y install uuid-dev libssl-dev make gcc
&& zef install IO::Socket::Async::SSL

===> Searching for: IO::Socket::Async::SSL
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
Cannot locate symbol 'sk_num' in native library 'libssl.so'
in method setup at /usr/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 291
in method CALL-ME at /usr/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 570
in block at /root/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 436
in block at /root/.zef/store/IO-Socket-Async-SSL-0.7.0.tar.gz/IO-Socket-Async-SSL-0.7.0/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 401
in block at t/client-server.t line 171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment