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

OpenSSL3.0 and Ubuntu 22.04 Support... #1790

Open
jiapei100 opened this issue Jun 14, 2022 · 6 comments · May be fixed by #1941
Open

OpenSSL3.0 and Ubuntu 22.04 Support... #1790

jiapei100 opened this issue Jun 14, 2022 · 6 comments · May be fixed by #1941
Assignees
Labels
Enhancement New feature or request

Comments

@jiapei100
Copy link

Looking forward to the support of
OpenSSL3 and Ubuntu 22.04.

Thanks...

@jiapei100 jiapei100 added Enhancement New feature or request Triage Needed The Issue still needs to be reviewed by Azure Kinect team members. labels Jun 14, 2022
@qm13 qm13 removed the Triage Needed The Issue still needs to be reviewed by Azure Kinect team members. label Jun 16, 2022
@nvibd
Copy link

nvibd commented Jun 23, 2022

+1

@YellowOrz
Copy link

YellowOrz commented Jul 12, 2022

For Ubuntu 22.04, you can download k4a-tools_1.4.1_amd64.deb, libk4a1.4-dev_1.4.1_amd64.deb and libk4a1.4_1.4.1_amd64.deb for 18.04. Before installing this three .deb file, you need to temporarily switch the source list of apt to 20.04 and then install libsoundio1 (sudo apt install libsoundio1, which is not available in the source list of 22.04. After the installation is complete, remember to switch back your source list to 22.04.
This method works for me.

@jackjansen
Copy link

Before installing this three .deb file, you need to temporarily switch the source list of apt to 20.04 and then install libsoundio1 (sudo apt install libsoundio1, which is not available in the source list of 22.04.

Does anyone happen to have a recipe/example to do this, especially on the github actions ci/cd?

@jackjansen
Copy link

Answering my own request:

Does anyone happen to have a recipe/example to do this, especially on the github actions ci/cd?

Here is a code snippet I use in my github actions to install k4a and k4abt on Ubuntu 22.04. It also has the code to pre-accept the EULAs.

sudo apt-add-repository -y -n 'deb http://archive.ubuntu.com/ubuntu focal main'
sudo apt-add-repository -y 'deb http://archive.ubuntu.com/ubuntu focal universe'
sudo apt-get install -y libsoundio1
sudo apt-add-repository -r -y -n 'deb http://archive.ubuntu.com/ubuntu focal universe'
sudo apt-add-repository -r -y 'deb http://archive.ubuntu.com/ubuntu focal main'

if ! dpkg -s libk4a1.3 > /dev/null; then
	curl -sSL https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/libk/libk4a1.3/libk4a1.3_1.3.0_amd64.deb > /tmp/libk4a1.3_1.3.0_amd64.deb
	echo 'libk4a1.3 libk4a1.3/accepted-eula-hash string 0f5d5c5de396e4fee4c0753a21fee0c1ed726cf0316204edda484f08cb266d76' | sudo debconf-set-selections
	sudo dpkg -i /tmp/libk4a1.3_1.3.0_amd64.deb
fi
if ! dpkg -s libk4a1.3-dev > /dev/null; then
	curl -sSL https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/libk/libk4a1.3-dev/libk4a1.3-dev_1.3.0_amd64.deb > /tmp/libk4a1.3-dev_1.3.0_amd64.deb
	sudo dpkg -i /tmp/libk4a1.3-dev_1.3.0_amd64.deb
fi
if ! dpkg -s libk4abt1.0 > /dev/null; then
	curl -sSL https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/libk/libk4abt1.0/libk4abt1.0_1.0.0_amd64.deb > /tmp/libk4abt1.0_1.0.0_amd64.deb
	echo 'libk4abt1.0	libk4abt1.0/accepted-eula-hash	string	03a13b63730639eeb6626d24fd45cf25131ee8e8e0df3f1b63f552269b176e38' | sudo debconf-set-selections
	sudo dpkg -i /tmp/libk4abt1.0_1.0.0_amd64.deb
fi
if ! dpkg -s libk4abt1.0-dev > /dev/null; then
	curl -sSL https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/libk/libk4abt1.0-dev/libk4abt1.0-dev_1.0.0_amd64.deb > /tmp/libk4abt1.0-dev_1.0.0_amd64.deb
	sudo dpkg -i /tmp/libk4abt1.0-dev_1.0.0_amd64.deb
fi
if ! dpkg -s k4a-tools > /dev/null; then
	curl -sSL https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/k/k4a-tools/k4a-tools_1.3.0_amd64.deb > /tmp/k4a-tools_1.3.0_amd64.deb
	sudo dpkg -i /tmp/k4a-tools_1.3.0_amd64.deb
fi

@remmel
Copy link

remmel commented May 17, 2023

@jackjansen is there a reason you are not using last version (k4a-tools1.4 libk4a1.4-dev libk4abt1.1-dev) ?

@jackjansen
Copy link

Sorry @remmel I hadn't seen your message until just now. There was a historic reason for sticking with 1.3 for our application, but I must admit that I don't remember anymore what the problem was with 1.4. I vaguely remember that it had to do with the fact that k4abt 1.1 didn't work for us, and therefore we reverted to k4abt 1.0, and that required us to revert to k4a 1.3.

I will try to find the time to investigate, but I can't promise anything.

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

Successfully merging a pull request may close this issue.

7 participants