Gcc-multilib & ppl [solved]

The last update for ppl broke gcc-multilib. It kept complaining about not finding any libppl.so.9.
Not sure if it's connected, but when installing from aur, makepkg also failed on not finding x86_64-unknown-linux-gnu, or something like that.
I don't have the exact outputs, since I already restarted, sry about that.
For the time being I solved it by replacing gcc-multilib with gcc .
Last edited by lman (2012-03-04 15:11:44)

lman wrote:Edit: gcc-multilib already new one, still waiting on libtool-multilib, hope it syncs soon
A quick solution I use for such circumstances is to manually download the package from the website and pacman -U it.

Similar Messages

  • [SOLVED] GCC multilib: cannot find shared library

    Hi,
    I'm trying to compile a systemc program to a 32-bit executable on arch x86_64.  I'm using GCC multilib.  Program compiles fine, but I get the following error when trying to run.
    /home/[myusername]/workspace/systemc_test/Debug/systemc_test: error while loading shared libraries: libsystemc-2.3.1.so: cannot open shared object file: No such file or directory
    Compiler:
    g++ -std=c++0x -DSC_INCLUDE_DYNAMIC_PROCESSES -I/usr/local/systemc/include -O0 -g3 -Wall -c -fmessage-length=0 -m32 -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.cpp"
    Linker:
    g++ -L/usr/local/systemc/lib-linux -m32 -o "systemc_test" ./main.o -lsystemc
    ls /usr/local/systemc/lib-linux/
    libsystemc-2.3.1.so  libsystemc.a  libsystemc.la  libsystemc.so  pkgconfig
    What am I doing wrong?  For the record, this works fine on Ubuntu (64-bit with multilib) using the same version of the systemc library, compiled and installed in exactly the same manner.
    Thanks!
    Last edited by kamz (2014-08-04 02:38:02)

    You're correct -- doesn't find that path.
    ldd systemc_test
    linux-gate.so.1 (0xf77ac000)
        libsystemc-2.3.1.so => not found
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf768f000)
        libm.so.6 => /usr/lib32/libm.so.6 (0xf7643000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7628000)
        libc.so.6 => /usr/lib32/libc.so.6 (0xf7465000)
        /lib/ld-linux.so.2 (0xf77ad000)
    Adding /usr/local/systemc/lib-linux to LD_LIBRARY_PATH solves the problem.  I used a script under /etc/profile.d/ to set this at session start, so I now consider this solved.  Out of curiousity, is it possible to avoid having to do this?

  • [solved: I am a dope] Can gcc and gcc-multilib coexist?

    If I try to install gcc-multilib, it conflicts with my existing 64-bit gcc package. Is there a way for me to install it in another path or install the binaries from gcc-multilib as gcc32, g++32 etc?
    Last edited by rhd (2012-02-20 02:50:55)

    rhd wrote:
    I'm learning 32-bit assembly and the tutorial I am using has a small collection of example code and a little library which needs a 32-bit copy of libgcc.a.
    libgcc.a is owned by gcc and not gcc-libs and so here I am, attempting to install the multilib package instead of the 64-bit version. The -m32 flag doesn't help. [edit: the -m32 flag to gcc, which tells it to compile for a 32 bit arch]
    $ nosr libgcc.a
    core/gcc
    community/arm-elf-gcc-base
    community/arm-wince-cegcc-gcc
    community/avr-gcc
    community/mingw32-gcc
    community/mingw32-gcc-base
    multilib/gcc-multilib
    I tried to point out that gcc-multilib provides gcc. Everything gcc does, you can do with gcc-multilib. You can't have both installed at the same time (but you wouldn't want/need to, either).
    Last edited by falconindy (2012-02-18 15:01:10)

  • [Solved] gcc-multilib alongside gcc?

    Hi everyone. Apologies if this has been asked before, I've been searching around for a while and have not found an answer yet.
    Is it at all possible to have both gcc and gcc-multilib installed on x86_64 at one time? Pacman complains about conflicts between the two if you attempt to install both. If there are actual file conflicts, would it be possible to install gcc-multilib to a location such as /opt, and would this remedy the conflicts?
    Cheers!
    Last edited by xdelv (2011-08-16 13:54:35)

    bernarcher wrote:Why do you want to do so? gcc-multilib fully qualifies as gcc with additional capabilities. You will most probably get conflicts if you use both in parallel.
    Hi, thanks for the quick reply. I was under the impression that gcc-multilib was only capable of compiling multilib packages, and I don't want to give up my ability to compile native 64bit packages as well. Is that not the case?
    Edit: I've just found https://bbs.archlinux.org/viewtopic.php?id=102828 which seems to answer my question, in that "gcc-multilib includes just about every architecture, which is why it's 68 MB instead of about16". That's awesome, it seems "multilib" in my mind was associated with lib32 packages only, instead of multiple architectures. Thank you for helping me figure this out!
    Last edited by xdelv (2011-08-16 13:54:05)

  • Question gcc-multilib [Solved]

    Hi, and maybe a dumb question but I have 64bit arch and I sometimes install something and it wants to replace gcc-lib with gcc-multilib how does this effect me?
    thanks
    --jerry
    Last edited by jk121960 (2012-08-17 12:00:50)

    gcc-multilib is the default gcc with an additional multilib toolchain (for 32bit binaries on 64bit linux). This does not affect the 64bit system.

  • [SOLVED] gcc-multilib vs cross32-gcc

    What is the difference between gcc-multilib from http://supraverse.net/arch and cross32-gcc from community repo? I currently use gcc-multilib. If cross32-gcc provides the same functionality, how do I use this gcc for compiling 32-bit binaries.
    I use gcc-multilib mainly to compile grub-legacy, grub2 for bios and grub2 for i386 UEFI. Can anyone try compiling grub2-efi-bzr (with _EFI_ARCH=i386 in the PKGBUILD) in Arch64 using cross32-gcc. I maintain that package and i am willing to modify the PKGBUILD to use cross32-gcc in case of cross-compiling. Thanks in advance.
    Last edited by skodabenz (2011-01-30 19:37:06)

    Marenz wrote:
    RetroX wrote:
    cross32-gcc is actually just the 32-bit gcc package for 64-bit platforms.  gcc-multilib includes just about every architecture, which is why it's 68 MB instead of about16.
    Also, the gcc-multilib package is neat, but it doesn't seem to be maintained very well.  It doesn't actually specify that it conflicts with the regular GCC, and it seems to be out of date currently.
    Well, yes, I don't have the time and right now not even the hardware to update it (my 64bit desktop is pretty far away right now), sorry about that.
    If anyone is willing to step in here, be my guest. Just provide me with the packages. I can also offer write access to the related git repositroy with the PKGBUILDs.
    --Marenz
    Ah, that's fine.  I guess that I'll just use the cross32-gcc.
    And I didn't notice that this topic was a week old. D:
    Sorry about that.
    Last edited by RetroX (2010-08-21 16:07:45)

  • Gcc-multilib not found

    Hello,
    I want to upgrade my system but it fails for two packages from aur lib32-avahi and lib32-libtasn1 because they need the dependency gcc-multilib which I cannot find.
    $ yaourt -Syu --aur
    :: Synchronising package databases...
    ==> Software upgrade (new version) :
    aur/lib32-avahi 0.6.25-3.1 -> 0.6.30-2
    aur/lib32-libtasn1 2.6-1 -> 2.9-1
    ==> lib32-avahi dependencies:
    - expat (already installed)
    - lib32-glib2 (already installed)
    - lib32-dbus-core (already installed)
    - lib32-libcap (already installed)
    - lib32-libdaemon (building from AUR)
    - lib32-gdbm (building from AUR)
    ==> Continue building lib32-avahi ? [Y/n]
    ==> -------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for lib32-avahi:
    ==> lib32-gdbm dependencies:
    - lib32-glibc (already installed)
    - gdbm>=1.8.3 (already installed)
    - gcc-multilib (building from AUR)
    ==> Continue building lib32-gdbm ? [Y/n]
    ==> ------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for lib32-gdbm:
    error: target not found: gcc-multilib
    ==> Restart building lib32-gdbm ? [y/N]
    ==> -----------------------------------
    Same for lib32-libtasn
    any idea ?
    Thank you
    By the way, is there a way to know if these two packages are a dependency of another one or something ? Because I don't remember why I installed it...
    Last edited by martvefun (2011-05-22 08:20:11)

    Thank you it seems to work.
    I've lots of conflict like
    :: binutils-multilib and binutils are in conflict. Remove binutils?
    :: gcc-libs-multilib and gcc-libs are in conflict. Remove gcc-libs?
    :: gcc-multilib and gcc are in conflict. Remove gcc?
    Can I do that safely ?
    So if I understand all the packages in multilib repo are to compile 32 packages in 64 bit system. I don't need to do it now so maybe I can just remove these packages...
    Last edited by martvefun (2011-05-22 09:23:33)

  • Libx32-glibc won't install due to gcc-multilib-x32 dependency

    I'm trying to install the libx32-glibc package (https://aur.archlinux.org/packages/libx32-glibc/) which does not list any dependencies on the package web page. However, when I try to install it, it shows this message:
    ==> Making package: libx32-glibc 2.17_5-1 (****)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Installing missing dependencies...
    [sudo] password for ****:
    error: target not found: gcc-multilib-x32>=4.7
    ==> ERROR: 'pacman' failed to install missing dependencies.
    I need libx32-glibc to install gcc-multilib-x32 which gives this message when trying to install:
    $ makepkg -s
    ==> Making package: gcc-multilib-x32 4.8.0_3-1 (****)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Installing missing dependencies...
    [sudo] password for ****:
    error: target not found: libx32-glibc>=2.17
    ==> ERROR: 'pacman' failed to install missing dependencies.
    How can I get gcc-multilib-x32 to install? I tried removing the dependency check in the PKGBUILD but that had other issues.

    The circular dependency was made intentionally, it is actually the same circular dependency you can find in the main repo: gcc -> gcc-libs -> glibc -> gcc (make). Because making glibc requires a valid gcc while gcc requires glibc to be functional.
    To build this, you actually need the packages glibc-x32-seed and gcc-x32-seed. Then you can build libx32-glibc to replace glibc-x32-seed, then eventually gcc-multilib-x32 to replace gcc-x32-seed.
    There're more information about this in this thread and this blog post in Chinese.

  • Safe to replace gcc with gcc-multilib?

    It seems to me that every single useful package requires that I replace gcc-libs with gcc-libs-multilibs, binutils with binutils-multilib, and gcc with gcc-multilib, and it's frustrating. I'm trying to install pipelight in order to be able to do online schooling in Arch instead of having to switch to windows all the time, but I'm leery about replacing all these packages due to countless problems I've had with gcc-libs in the past. Is it safe to replace all these packages? Can't name any right now but there's been quite a few extremely useful packages that I won't install because it requires me to replace all these packages.
    EDIT: I'm sorry, correction, this doesn't happen with pipelight specifically. It happens when I try to install a dependency; wine-silverlight. Yaourt also tells me that it's an unsupported and potentially dangerous package, although I didn't see anything signifying that in the AUR. I'm starting to believe yaourt says this about every package.
    Last edited by xworld (2014-01-16 20:42:45)

    All AUR packages are unsupported, may be potentially dangerous and you should inspect the PKGBUILDs before using them to build and install packages.
    If you're using a 64-bit system and have to use multilib, you do install lib32-* or *-multilib packages, nothing wrong with that. Why do you think it's unsafe?
    xworld wrote:I'm leery about replacing all these packages due to countless problems I've had with gcc-libs in the past.
    Any examples?

  • Gcc multilib failed to update

    [root@log 09:35:04]$ pacman -Syu gcc-multilib
    :: Synchronizing package databases...
    local is up to date
    aur is up to date
    core is up to date
    extra is up to date
    community is up to date
    multilib is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    warning: cannot resolve "glibc>=2.19", a dependency of "gcc-libs-multilib"
    warning: cannot resolve "gcc-libs-multilib=4.8.2-8", a dependency of "gcc-multilib"
    warning: cannot resolve "glibc>=2.19", a dependency of "gcc-libs-multilib"
    warning: cannot resolve "gcc-libs-multilib=4.8.2-8", a dependency of "gcc-multilib"
    warning: cannot resolve "gcc-multilib=4.8.2-8", a dependency of "gcc-go-multilib"
    warning: cannot resolve "glibc>=2.19", a dependency of "gcc-libs-multilib"
    :: The following packages cannot be upgraded due to unresolvable dependencies:
          gcc-multilib  gcc-go-multilib  gcc-libs-multilib
    :: Do you want to skip the above packages for this upgrade? [y/N] y
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gcc-libs-multilib: requires lib32-gcc-libs=4.8.2-7

    Try using an up to date mirror or wait a bit. glibc has been recently updated and maybe the mirror you're using hasn't synced it yet.
    When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode
    like this
    It makes the code more readable and - in case of longer listings - more convenient to scroll through.

  • Replace with gcc-multilib

    Morning Folks,
    My arch linux system runs very very well. Now I would like to use eagle, a CAD software to design circuit boards (PCBs).
    Eagle is available in the AUR: https://aur.archlinux.org/packages.php?ID=15941
    The last time (a year or two ago) I messed up my entire system by installing that package. Installing eagle from the AUR requires to install gcc-multilib, which somehow replaces the current, existing gcc.
    Is it safe to do that, or was I doing something wrong? I really really need my toolchain running like it does now.
    ~ Tectu

    As far as I know, multilib is just "the same gcc" but with it you cannot only build x86_64 code, but also 32-bit code, right?
    After installing gcc-multilib, I'll be still able to call    $ gcc   and build some 64-bit code like now? I ask because I work with cross compiling, and I don't want to mess things up again
    ~ Tectu
    Last edited by Tectu (2012-09-17 12:47:40)

  • Problem installing gcc-multilib

    Hi all,
    I am trying to install lib32-jpeg7 from AUR but I am getting
    an error that the system needs gcc-multilib.
    I then go to /etc/pacman.conf and add the following lines:
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    I then do pacman -Syy
    and that's what I get back
    error: failed retrieving file 'multilib.db' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
    What should I do?
    Thanks in advance

    I've downloaded the demo of sunblast
    http://www.sunblastthegame.com/download.php
    After I untar it on to my home folder
    it says this:
    [konos@archBox sunblast_demo_linux32]$ ./sunblastdemo
    ./sunblastdemo: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
    So I googled the library and found that it belongs to the lib32-libjpeg package which I tried to download with yaourt.
    Yaourt then complained that it needs gcc-multilib to build it and cancelled the operation!
    So.. I figured out that I have to manually install gcc-multilib first and then lib32-libjpeg with yaourt in order to make it work..!
    P.S. @Karol: I 've already installed the package you are suggesting
    Last edited by konos5 (2011-10-26 00:20:02)

  • Installing gcc-multilib after gcc installed.

    Hey there,
    I'm trying to install gcc-multilib on my 64 bit machine as I'm trying to compile some binaries for a 32 bit system so I'm trying to install the multilib version of gcc however when I go to install it it obviously conflicts with the gcc I currently have installed and in order to install it I'd need to remove gcc-libs which basically uninstalls a large majority of my system because everything relies on gcc-libs.
    Sorry if this is the wrong area I just don't really know what to do.
    Thanks

    Are you trying to remove gcc-libs manually rather than letting pacman do it as part of the transaction that replaces gcc with gcc-multilib? Because gcc-multilib should pull in gcc-libs-multilib which provides gcc-libs, so stuff depending on that should be fine.

  • Gcc update breaks with gcc-multilib

    What should I do? I cannot just uninstall gcc-multilib as many packages depend on it.
    $ $ sudo pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    multilib is up to date
    :: Starting full system upgrade...
    warning: grml-zsh-config: ignoring package upgrade (0.7.4-1 => 0.8.1-1)
    resolving dependencies...
    looking for inter-conflicts...
    :: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] y
    :: gcc and gcc-multilib are in conflict. Remove gcc-multilib? [y/N] y
    error: failed to prepare transaction (could not satisfy dependencies)
    :: libtool-multilib: requires gcc-multilib=4.8.0

    akurei, i had  the same messages a while ago everytime gcc was updated in extra but multilib lagged behind.
    On my system the problem was caused because i had missed replacing a compiler (gcc-objc in my case ) with its multilib counterpart.
    As long as gcc-libs-multilib was the same version as gcc-libs everything worked.
    I suggest you run pacman -Sl multilib and check if you miss something in that list you do use the multilib version of.
    Last edited by Lone_Wolf (2013-04-16 14:40:39)

  • How to install GCC 5.1 [SOLVED]

    Hi all,
    I'm trying to install the [testing]-version of GCC 5.1. It requires gcc-libs 5.1 [testing] to be installed, so I downloaded the corresponding tar.xz file and tried to pacman -U it.
    However, gcc-libs 5.1 requires 4.9.2-4 to be installed. Which it is. But apparently it isn't recognized.
    [xxx@ccc Downloads]$ sudo pacman -U gcc-libs-5.1.0-1-x86_64.pkg.tar.xz
    [sudo] Passwort für xxx:
    Lade Pakete...
    Löse Abhängigkeiten auf...
    Suche nach in Konflikt stehenden Paketen...
    Fehler: Konnte den Vorgang nicht vorbereiten (Kann Abhängigkeiten nicht erfüllen)
    :: gcc: benötigt gcc-libs=4.9.2-4
    [xxx@ccc Downloads]$ sudo pacman -U gcc-libs-4.9.2-4-x86_64.pkg.tar.xz
    Lade Pakete...
    Warnung: gcc-libs-4.9.2-4 ist aktuell -- Reinstalliere
    Löse Abhängigkeiten auf...
    Suche nach in Konflikt stehenden Paketen...
    Pakete (1) gcc-libs-4.9.2-4
    Gesamtgröße der zu installierenden Pakete:  13,26 MiB
    Größendifferenz der Aktualisierung:        0,00 MiB
    :: Installation fortsetzen? [J/n] n
    Is that a bug or am I missing something?
    Last edited by Arcoth (2015-05-02 23:04:09)

    karol wrote:
    Arcoth wrote:Is that a bug or am I missing something?
    You misunderstood pacman's output.
    I just now saw it.
    I'm currently compiling GCC from source anyway though, to keep the bleeding-edge, so I won't need that package. Once it becomes official I'll just upgrade as usual.
    Thanks, everyone!

Maybe you are looking for

  • IWeb '08 - Slideshow Not Working

    I created my site in iWeb then published it to a folder and it works wonderfully. But when I uploaded, I got a slideshow error on my "gallery" page. When I click the "Play Slideshow" link, it opens a new window... the dreaded "404 Not Found" with a m

  • Launching application from consoleone alarm disposition.

    Hi! I can't get this to work. I enable launching application for a certain alarm but nothing happens. For example i've tried starting notepad when a system: nlm loaded alarm arrives. But nothing. And i can't find a way to debug this either.... Forwar

  • Long Term Manpower Plan

    Dear, I would appreciate it if some one can help me in finding the best source or information about the Long Term Manpower Plan in SAP HCM, I don’t know if it is in the new releases of compensation management or personal development / career and succ

  • Watching dvd's

    am i supposed to be able to play dvd's in quicktime? i can't get it to work. every time i drag the dvd icon to the quicktime icon, i get an error saying the movie cannot be opened.

  • Enable DirectAccess, Disable VPN

    Hi all, I've just completed the upgrade on my Server 2012 Essentials server to R2 and I'm getting DirectAccess setup. As my clients are running Enteprise SKU of the OS, I have no reason for the clients to want a SSTP VPN so I'd like to disable the VP