Difference between revisions of "Multilib"

From ArchWiki
Jump to: navigation, search
(lib32-libstdc++5 fix)
(lib32-libstdc++5 fix)
Line 56: Line 56:
 
  http://aur.archlinux.org/packages.php?ID=11191
 
  http://aur.archlinux.org/packages.php?ID=11191
  
7) Extract the contents of the PKGBUILD and modify the PKGBUILD by replacing the dependency "lib32-gcc" with the words "gcc-multilib"
+
7) Extract the contents and modify the PKGBUILD file by replacing the dependency "lib32-gcc" with the depenency "gcc-multilib"
  
 
8) Run `makepkg` to build the package (make sure you do NOT run makepkg as root or sudo)
 
8) Run `makepkg` to build the package (make sure you do NOT run makepkg as root or sudo)

Revision as of 04:03, 29 August 2010

Multilib support is coming to Arch, see: http://mailman.archlinux.org/pipermail/arch-dev-public/2010-August/017702.html

The repository can be found here:

[multilib]
Include = /etc/pacman.d/mirrorlist

TODO list

  • build Multilib_Project/Needed_Packages using the new toolchain (done)
  • clean up lib32 stuff from community (done)
  • arch-multilib mailing list (done)
  • infrastructure (folders) on sigurd for the new repository (done)
  • adjust dbscripts so cleanup doesn't kill our packages (done)
  • world domination (pending)

Developers and TUs interested in helping with multilib

  • Thomas Bächler
  • Jan Steffens
  • Sven-Hendrik Haase
  • Ionut Biru
  • Rémy Oudompheng
  • Laurent Carlier
  • Devin Cofer
  • ...


lib32-libstdc++5 fix

If your system complains that it "could not satisfy dependencies" because "lib32-libstdc++5" requires the package "lib32-gcc" then these are the steps that can be taken to fix this problem.

1) Make sure that you have added this to pacman.conf

[multilib]
Include = /etc/pacman.d/mirrorlist

2) The make sure to update your pacman package list:

pacman -Syy

3) Next remove lib32-libstdc++5

pacman -Rd lib32-libstdc++5

4) Then upgrade your system.

pacman -Syu

5) Then install the multilib gcc package

pacman -S gcc-multilib

6) Download the PKGBUILD for lib32-libstdc++5

http://aur.archlinux.org/packages.php?ID=11191

7) Extract the contents and modify the PKGBUILD file by replacing the dependency "lib32-gcc" with the depenency "gcc-multilib"

8) Run `makepkg` to build the package (make sure you do NOT run makepkg as root or sudo)

9) Install the lib32-libstdc++5 package which makepkg built for you

pacman -U lib32-libstdc++5-3.3.6-3-x86_64.pkg.tar.xz


I hope this helps.