1

I need a 32-bit compat libselinux.so.1 on my x86-64 Centos system to run some non-open source software from Xilinx. I tried installing with yum:

$ sudo yum install libselinux-devel.i686

However, I found that the package is apparently broken as the link to libselinux.so in /lib (which points to /lib/libselinux.so.1) is broken (/lib/libselinux.so.1 does not exist)... so apparently that package is broken at this point.

So now I need to build the libselinux-devel.src.rpm so that it's actually a 32-bit lib that would then get installed on my x86-64 Centos 7 system.

How would I go about doing that?

aneccodeal
  • 8,531
  • 7
  • 45
  • 74

1 Answers1

0

Use mock to build libselinux-devel.i686 in an i686 chroot.

Jeff Johnson
  • 2,310
  • 13
  • 23