Multilib availability

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Multilib availability

Postby evand » Thu May 26, 2016 5:27 am

I'm looking to install and run software that's built for armv7hf on a Odroid C2 which uses a Cortex-A53 (ARMv8). The software devs indicate that adding the 32bit libs to mix is likely to be all that's required, albeit in the long term when there's sufficient demand they'll create specific builds for armv8/aarch64. I tried to add multilib to pacman's sources list but it seems it's not been incorporated in https://archlinuxarm.org/platforms/armv ... /odroid-c2

Any workarounds to get the 32bit libs installed?
evand
 
Posts: 20
Joined: Thu May 26, 2016 4:37 am

Re: Multilib availability

Postby WarheadsSE » Thu May 26, 2016 4:55 pm

Because we have no multilib. You should be able to run said software in an arvm7h chroot.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Multilib availability

Postby evand » Fri May 27, 2016 6:33 pm

Thanks for the tip. I created a chroot environment for ARMv7, installed the program and its dependencies and it's up and running.

Is there any way of launching the program in the chroot jail on startup of the device?
evand
 
Posts: 20
Joined: Thu May 26, 2016 4:37 am

Re: Multilib availability

Postby andiling » Fri May 27, 2016 6:41 pm

http://linux.die.net/man/1/chroot

Just add your command to the end and let it run at boot.
andiling
 
Posts: 74
Joined: Sun Mar 06, 2016 8:34 pm

Re: Multilib availability

Postby WarheadsSE » Fri May 27, 2016 6:50 pm

Perhaps via nspawn
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Multilib availability

Postby evand » Mon May 30, 2016 5:01 am

Thank you. I've looked into it and reviewed the Arch guide. It looks like a great way to have the software launch on startup of the ODROID. How would I go about bootstrapping without the ability to call pacman and have it pull from the Armv7 build?
evand
 
Posts: 20
Joined: Thu May 26, 2016 4:37 am

Re: Multilib availability

Postby WarheadsSE » Mon May 30, 2016 5:31 pm

1) Install devtools-alarm
2) See the manuals/help for mkarchroot / pacman
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Multilib availability

Postby evand » Thu Jun 02, 2016 5:52 am

Thanks for the help, much appreciated.
evand
 
Posts: 20
Joined: Thu May 26, 2016 4:37 am

Re: Multilib availability

Postby evand » Thu Jun 02, 2016 2:01 pm

Ok, I've looked at mkarchroot and pacman help and I'm still a little lost.

If I was to call mkarchroot I'm still unsure how I'd get it to reference the armv7 repositories rather than the Armv8 repositories?
evand
 
Posts: 20
Joined: Thu May 26, 2016 4:37 am

Re: Multilib availability

Postby WarheadsSE » Thu Jun 02, 2016 2:11 pm

You supply an alternate pacman.conf
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to ARMv8

Who is online

Users browsing this forum: Google [Bot] and 9 guests