You are not logged in.

#1 2012-04-27 08:03:57

stp002
Member
Registered: 2011-12-26
Posts: 44

Unable to install 32bit libs on 64bit Arch

Hi everyone,
I have been trying to install 32bit packages on my 64bit Archlinux.But when ever I issue a command eg:Pacman -S  lib32-glibc I get an error "Target not found".I have enabled the
[multi-lib] respository.I know that it shouldn't be a problem once you enable the respository.I must be missing out something here.I have searched for lib32 packages with the command "pacman -Qs lib32" but all in vain, there aren't lib32 libraries installed :-(.
Any help will be appreciated.
Thanks

Offline

#2 2012-04-27 08:21:47

beta990
Member
Registered: 2011-07-10
Posts: 207

Re: Unable to install 32bit libs on 64bit Arch

Did you tried pacman -Syy and than pacman -S lib32-glibc?

See the wiki for more info... https://wiki.archlinux.org/index.php/Pacman

Offline

#3 2012-04-27 08:43:34

stp002
Member
Registered: 2011-12-26
Posts: 44

Re: Unable to install 32bit libs on 64bit Arch

Yes , I updated my system today.I tried to install all the required 32libs "pacman -S gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-glibc" but i get the same message "target not found":gcc-multilib.

Offline

#4 2012-04-27 08:50:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Unable to install 32bit libs on 64bit Arch

Please post your pacman.conf


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-04-27 09:01:19

stp002
Member
Registered: 2011-12-26
Posts: 44

Re: Unable to install 32bit libs on 64bit Arch

Please note this pacman.conf file.

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists

# PGP signature checking
# NOTE: None of this will work without running `pacman-key --init` first.
# The compiled in default is equivalent to the following line. This requires
# you to locally sign and trust packager keys using `pacman-key` for them to be
# considered valid.
#SigLevel = Optional TrustedOnly
# If you wish to check signatures but avoid local sign and trust issues, use
# the following line. This will treat any key imported into pacman's keyring as
# trusted.
SigLevel = Optional TrustAll
# For now, off by default unless you read the above.
#SigLevel = Never

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[core]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[community]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

#[multilib]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Offline

#6 2012-04-27 09:15:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Unable to install 32bit libs on 64bit Arch

stpoo2 wrote:

#[multilib]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

You need to uncomment the repo...

And then -Syy


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2012-04-27 09:20:39

stp002
Member
Registered: 2011-12-26
Posts: 44

Re: Unable to install 32bit libs on 64bit Arch

Thank you very much for your patience.I didn't notice that.
Good Day.

Offline

#8 2012-04-27 10:16:24

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Unable to install 32bit libs on 64bit Arch

Don't forget to mark your thread as [SOLVED].


Burninate!

Offline

Board footer

Powered by FluxBB