Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
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
Alpine Linux: libssl.a: file format not recognized; treating as linker script #31
Alpine Linux: libssl.a: file format not recognized; treating as linker script #31
Comments
Following on from #30 when trying to build nassl 1.1.0 on Alpine Linux I get the following error:
# sudo pip3 install --upgrade https://github.com/nabla-c0d3/nassl/archive/1.1.0.tar.gz Collecting https://github.com/nabla-c0d3/nassl/archive/1.1.0.tar.gz Downloading https://github.com/nabla-c0d3/nassl/archive/1.1.0.tar.gz (2.0MB) 100% |████████████████████████████████| 2.0MB 381kB/s Installing collected packages: nassl Found existing installation: nassl 0.17.0 Uninstalling nassl-0.17.0: Successfully uninstalled nassl-0.17.0 Running setup.py install for nassl . error Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-q2k5aflw-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-vs155ft9-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/nassl copying nassl/__init__.py -> build/lib.linux-x86_64-3.6/nassl copying nassl/ssl_client.py -> build/lib.linux-x86_64-3.6/nassl copying nassl/legacy_ssl_client.py -> build/lib.linux-x86_64-3.6/nassl copying nassl/ocsp_response.py -> build/lib.linux-x86_64-3.6/nassl running build_ext building 'nassl._nassl_legacy' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/nassl creating build/temp.linux-x86_64-3.6/nassl/_nassl gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/nassl.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl.o -Wall gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/nassl_SSL_CTX.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_SSL_CTX.o -Wall gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/nassl_SSL.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_SSL.o -Wall gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/nassl_X509.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_X509.o -Wall gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/nassl_errors.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_errors.o -Wall gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/nassl_BIO.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_BIO.o -Wall gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/nassl_X509_EXTENSION.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_X509_EXTENSION.o -Wall gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/nassl_X509_NAME_ENTRY.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_X509_NAME_ENTRY.o -Wall gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/nassl_SSL_SESSION.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_SSL_SESSION.o -Wall gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/openssl_utils.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/openssl_utils.o -Wall gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/nassl_OCSP_RESPONSE.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_OCSP_RESPONSE.o -Wall gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DLEGACY_OPENSSL=1 -I/tmp/pip-q2k5aflw-build/bin/openssl-legacy/include -Inassl/_nassl -I/usr/include/python3.6m -c nassl/_nassl/python_utils.c -o build/temp.linux-x86_64-3.6/nassl/_nassl/python_utils.o -Wall gcc -shared -Wl,--as-needed -Wl,--as-needed build/temp.linux-x86_64-3.6/nassl/_nassl/nassl.o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_SSL_CTX.o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_SSL.o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_X509.o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_errors.o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_BIO.o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_X509_EXTENSION.o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_X509_NAME_ENTRY.o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_SSL_SESSION.o build/temp.linux-x86_64-3.6/nassl/_nassl/openssl_utils.o build/temp.linux-x86_64-3.6/nassl/_nassl/nassl_OCSP_RESPONSE.o build/temp.linux-x86_64-3.6/nassl/_nassl/python_utils.o /tmp/pip-q2k5aflw-build/bin/openssl-legacy/linux64/libssl.a /tmp/pip-q2k5aflw-build/bin/openssl-legacy/linux64/libcrypto.a /tmp/pip-q2k5aflw-build/bin/zlib/linux64/libz.a -L/usr/lib -lpython3.6m -o build/lib.linux-x86_64-3.6/nassl/_nassl_legacy.cpython-36m-x86_64-linux-gnu.so -Wl,-z,noexecstack /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../x86_64-alpine-linux-musl/bin/ld:/tmp/pip-q2k5aflw-build/bin/openssl-legacy/linux64/libssl.a: file format not recognized; treating as linker script /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../x86_64-alpine-linux-musl/bin/ld:/tmp/pip-q2k5aflw-build/bin/openssl-legacy/linux64/libssl.a:1: syntax error collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 ---------------------------------------- Rolling back uninstall of nassl Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-q2k5aflw-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-vs155ft9-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-q2k5aflw-build/
As a side-note pip is unable to get 1.1.0 from pypi because nassl-1.1.0.tar.gz is not available from https://pypi.python.org/simple/nassl/, so I had to provide the URL to github instead.
The text was updated successfully, but these errors were encountered:
Alpine linux libssl dev
Package | openssl-dev |
---|---|
Version | 3.1.1-r1 |
Description | Toolkit for Transport Layer Security (TLS) (development files) |
Project | https://www.openssl.org/ |
License | Apache-2.0 |
Branch | edge |
Repository | main |
Architecture | aarch64 |
Size | 343.38 kB |
Installed size | 2.18 MB |
Origin | openssl |
Maintainer | Ariadne Conill |
Build time | 2023-05-30 17:47:38 |
Commit | ce9fe873f850cb0c44db559e3b9d4678e9e27dd4 |
Git repository | Git repository |
Build log | Build log |
Contents | Contents of package |
- agensgraph-dev
- anytun-dev
- apk-tools-dev
- apr-util-dev
- asio-dev
- boinc-dev
- cassandra-cpp-driver-dev
- cjose-dev
- clamav-dev
- curl-dev
- dpdk-dev
- duo_unix-dev
- efl-dev
- freerdp-dev
- fsverity-utils-dev
- gnunet-dev
- google-cloud-cpp-dev
- grpc-dev
- gst-plugins-rs-dev
- heimdal-dev
- ipmiutil-dev
- ixwebsocket-dev
- jami-daemon-dev
- jimtcl-dev
- jose-dev
- khealthcertificate-dev
- kodi-dev
- ldns-dev
- libcouchbase-dev
- libdroplet-dev
- libewf-dev
- libfido2-dev
- libgit2-1.5-dev
- libgit2-dev
- libimobiledevice-dev
- libmesode-dev
- libneo4j-client-dev
- libnvme-dev
- libpq-dev
- librdkafka-dev
- libretls-dev
- libshairport-dev
- libshout-dev
- libsrt-dev
- libssh-dev
- libssh2-dev
- libstrophe-dev
- libtorrent-rasterbar-dev
- libvmime-dev
- libvncserver-dev
- mariadb-connector-c-dev
- mariadb-dev
- monetdb-dev
- mtxclient-dev
- nemo-qml-plugin-systemsettings-dev
- neon-dev
- net-snmp-dev
- nut-dev
- open-isns-dev
- openconnect-dev
- opendht-dev
- opensc-dev
- openvpn-dev
- opusfile-dev
- pacman-dev
- perl-anyevent
- perl-net-amqp-rabbitmq
- pjproject-dev
- poco-dev
- postgresql-bdr-dev
- postgresql12-dev
- postgresql13-dev
- postgresql14-dev
- postgresql15-dev
- qpdf-dev
- qt5-qtbase-dev
- qt6-qtbase-dev
- rizin-dev
- roc-toolkit-dev
- ruby-build-runtime
- s2geometry-dev
- s2n-tls-dev
- serf-dev
- spice-dev
- spice-gtk-dev
- tg_owt-dev
- tpm2-pkcs11-dev
- tpm2-tss-dev
- ustream-ssl-dev
- vdr-dev
- wt-dev
- xen-dev
- yara-dev
- yubico-piv-tool-dev
- zfs-dev
Alpine linux libssl dev
File | Package | Branch | Repository | Architecture |
---|---|---|---|---|
/usr/lib/libssl.so | libressl-dev | edge | x86_64 | |
/usr/lib/libssl.so | libressl-dev | edge | x86 | |
/usr/lib/libssl.so | libressl-dev | edge | aarch64 | |
/usr/lib/libssl.so | libressl-dev | edge | armhf | |
/usr/lib/libssl.so | libressl-dev | edge | ppc64le | |
/usr/lib/libssl.so | libressl-dev | edge | armv7 | |
/usr/lib/libssl.so | libressl-dev | edge | riscv64 | |
/usr/lib/libssl.so | openssl1.1-compat-dev | edge | ppc64le | |
/usr/lib/libssl.so | openssl1.1-compat-dev | edge | s390x | |
/usr/lib/libssl.so | openssl1.1-compat-dev | edge | x86 | |
/usr/lib/libssl.so | openssl-dev | edge | s390x | |
/usr/lib/libssl.so | openssl-dev | edge | ppc64le | |
/usr/lib/libssl.so | openssl-dev | edge | x86 | |
/usr/lib/libssl.so | openssl1.1-compat-dev | edge | x86_64 | |
/usr/lib/libssl.so | openssl-dev | edge | x86_64 | |
/usr/lib/libssl.so | openssl-dev | edge | riscv64 | |
/usr/lib/libssl.so | openssl1.1-compat-dev | edge | riscv64 | |
/usr/lib/libssl.so | openssl-dev | edge | armhf | |
/usr/lib/libssl.so | openssl-dev | edge | armv7 | |
/usr/lib/libssl.so | openssl-dev | edge | aarch64 | |
/usr/lib/libssl.so | openssl1.1-compat-dev | edge | armhf | |
/usr/lib/libssl.so | openssl1.1-compat-dev | edge | armv7 | |
/usr/lib/libssl.so | openssl1.1-compat-dev | edge | aarch64 |