Skip to content

How to install libdev-ssl and openssl for the powerpc64-unknown-linux-gnu target? #999

Answered by Emilgardis
philipwilk asked this question in Q&A
Discussion options

You must be logged in to vote

This seems to work

file powerpc64.sh

#!/usr/bin/env bash
mv /etc/apt/sources.list /etc/apt/sources.list.bak
mv /etc/apt/sources.d /etc/apt/sources.d.bak
echo -e "deb http://archive.debian.org/debian jessie main\ndeb http://archive.debian.org/debian jessie-backports main\ndeb http://ftp.ports.debian.org/debian-ports unstable main\ndeb http://ftp.ports.debian.org/debian-ports unreleased main" > /etc/apt/sources.list
dpkg --add-architecture ppc64
apt-get update
cd $(mktemp -d)
apt-get -d --no-install-recommends download libssl-dev:ppc64
dpkg -x libssl-dev* /
mv -f /etc/apt/sources.list.bak /etc/apt/sources.list
mv -f /etc/apt/sources.d.bak /etc/apt/sources.d
dpkg --remove-architecture ppc64

C…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@Emilgardis
Comment options

Comment options

You must be logged in to vote
3 replies
@Alexhuszagh
Comment options

@Emilgardis
Comment options

@philipwilk
Comment options

Answer selected by Emilgardis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants