Protocol "smtps" is not supported (or) Disabled in libcurl

I got this error

ImportError: cannot import name ‘spawn’
Makefile:217: recipe for target ‘image_bin’ failed
make: *** [image_bin] Error 1

You can search the answer in google.

Do you know if that error is being emitted from the host environment or the container environment? A quick search indicates that it might be because python3-distutils is missing. Try adding it to your host environment and see if that fixes it.

Hi,

I added this python3-distutils, but getting the previous error.

image

I trying to add this glibc, but i am getting error
ERROR:-/*
mangoh@mangoh-vm:~$ sudo apt install glibc
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package glibc
*/

Build Linux for wp76. (He is also facing same problem in VM).

Hi,

I tried this configuration, but getting the same error.

what is your “ldd --version”?

owner@ubuntu:~$ ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27
Copyright © 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

owner@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
Codename: bionic

your version and my version are same.

mangoh@mangoh-vm:~$ ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27
Copyright © 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

mangoh@mangoh-vm:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

how about these two commands?

  1. strings /lib/x86_64-linux-gnu/libc.so.6 |grep GLIBC
  2. string /home/mangoh/Downloads/fi/yocto/build_bin/tmp/systroots-uninative/x86_64-linux/lib/libc.so.6 |grep GLIBC

In my side:
owner@ubuntu:~$ strings /lib/x86_64-linux-gnu/libc.so.6 |grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27
GLIBC_PRIVATE
GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1) stable release version 2.27.

mangoh@mangoh-vm:~$ strings /lib/x86_64-linux-gnu/libc.so.6 |grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27
GLIBC_PRIVATE
GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1) stable release version 2.27.

mangoh@mangoh-vm:~$ strings /home/mangoh/Downloads/yocto/build_bin/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6 |grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_PRIVATE

seems that is the problem.
Not sure if you can copy the one to it and make again.


you can see /home/mangoh/Downloads/yocto/build_bin/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6 does not have GLIBC_2.27…

yes,i have seen it is not a 2.27 .how to proceed now?

Not sure if you can copy the working one to the build path and make image again.

I got same error,so can you please create the .cwe file and send me,to enable RTSP and RTMP protocols in curl.

how did you copy?
the one in /lib/x86_64-linux-gnu/libc.so.6 should have GLIB_2.7.

i did’t copy any thing,just i searched in google.
sudo apt-get install glibc-source and then tried make image,but i got same error

can you please create the .cwe file and send me,to enable RTSP and RTMP protocols in curl

Then why don’t you copy the library to /home/mangoh/Downloads/yocto/build_bin/tmp/sysroots-uninative/x86_64-linux/lib