You are not logged in.

#1 2009-09-02 13:49:35

cetinsert
Member
Registered: 2009-08-17
Posts: 4

32-bit binary does not run on x86_64, ldd not a dynamic executable

Hi,

I switched from Ubuntu 8.10 x86_64 to arch linux x86_64 a short while ago and have an issue running 32-bit proprietary binary that dynamically links to some libraries.

ldd insists "not a dynamic executable"

How am I supposed to resolve the issue? Running this 32-bit binary using 64-bit Ubuntu was never an issue.

Best Regards,
Cetin Sert

Offline

#2 2009-09-02 14:03:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: 32-bit binary does not run on x86_64, ldd not a dynamic executable

Arch is not multi-lib, Ubuntu is.

The wiki has details about running 32-bit apps under Arch64.

Offline

#3 2009-09-02 14:06:12

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: 32-bit binary does not run on x86_64, ldd not a dynamic executable

Have a look here.
The easiest way is option 1 there


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#4 2009-09-03 09:58:43

cetinsert
Member
Registered: 2009-08-17
Posts: 4

Re: 32-bit binary does not run on x86_64, ldd not a dynamic executable

I installed all the lib32 libraries but I still get the same error:

[cetin@unique bin]$ pacman -Qs lib32-*
local/lib32-alsa-lib 1.0.20-1 (lib32)
    An alternative implementation of Linux sound support
local/lib32-atk 1.26.0-1 (lib32)
    A library providing a set of interfaces for accessibility
local/lib32-cairo 1.8.8-1 (lib32)
    Cairo vector graphics library
local/lib32-curl 7.19.6-1 (lib32)
    An URL retrival utility and library
local/lib32-db 4.7.25.4-1 (lib32)
    The Berkeley DB embedded database system
local/lib32-dbus-core 1.2.14-1
    Freedesktop.org message bus system
local/lib32-e2fsprogs 1.41.8-2.1
    Ext2 filesystem utilities
local/lib32-expat 2.0.1-2 (lib32)
    An XML Parser library written in C
local/lib32-fontconfig 2.6.0-2 (lib32)
    A library for configuring and customizing font access
local/lib32-freetype2 2.3.9-2 (lib32)
    TrueType font rendering library
local/lib32-gcc-libs 4.4.1-1 (lib32)
    The GNU Compiler Collection
local/lib32-glib2 2.20.4-1 (lib32)
    Common C routines used by GTK+ 2.4 and other libs
local/lib32-glibc 2.10.1-4 (lib32)
    GNU C Library (32 Bit)
local/lib32-gnutls 2.8.3-1 (lib32)
    A library which provides a secure layer over a reliable transport layer
local/lib32-gtk2 2.16.5-1 (lib32)
    The GTK+ Toolkit (v2)
local/lib32-heimdal 1.2.1-5 (lib32)
    Heimdal Kerberos V5 libraries
local/lib32-libart-lgpl 2.3.20-1 (lib32)
    A library for high-performance 2D graphics
local/lib32-libcups 1.3.11-1 (lib32)
    The CUPS Printing System
local/lib32-libdrm 2.4.12-1 (lib32)
    Userspace interface to kernel DRM services
local/lib32-libgcrypt 1.4.4-2 (lib32)
    Libgcrypt is a general purpose crypto library based on the code used
local/lib32-libgpg-error 1.6-1.1 (lib32)
    Support library for libgcrypt
local/lib32-libice 1.0.5-1 (lib32)
    X11 Inter-Client Exchange library
local/lib32-libjpeg 7-1 (lib32)
    Library of JPEG support functions
local/lib32-libpng 1.2.39-1 (lib32)
    A collection of routines used to create PNG format graphics files
local/lib32-libsm 1.1.1-1 (lib32)
    X11 Session Management library
local/lib32-libstdc++5 3.3.6-3 (lib32)
    GNU Standard C++ library version 3
local/lib32-libtasn1 2.2-1 (lib32)
    The ASN.1 library used in GNUTLS
local/lib32-libtiff 3.9.0-1 (lib32)
    Library for manipulation of TIFF images
local/lib32-libx11 1.2.2-1 (lib32)
    X11 client-side library
local/lib32-libxau 1.0.4-1 (lib32)
    X11 authorisation library
local/lib32-libxcb 1.4-1 (lib32)
    X11 client-side library
local/lib32-libxcomposite 0.4.0-2 (lib32)
    X11 Composite extension library
local/lib32-libxcursor 1.1.9-2 (lib32)
    X cursor management library
local/lib32-libxdamage 1.1.1-2 (lib32)
    X11 damaged region extension library
local/lib32-libxdmcp 1.0.2-2 (lib32)
    X11 Display Manager Control Protocol library
local/lib32-libxext 1.0.5-2 (lib32)
    X11 miscellaneous extensions library
local/lib32-libxfixes 4.0.3-2 (lib32)
    X11 miscellaneous 'fixes' extension library
local/lib32-libxft 2.1.13-1 (lib32)
    FreeType-based font drawing library for X
local/lib32-libxi 1.2.1-1 (lib32)
    X11 Input extension library
local/lib32-libxinerama 1.0.3-2 (lib32)
    X11 Xinerama extension library
local/lib32-libxml2 2.7.3-3 (lib32)
    XML parsing library, version 2
local/lib32-libxmu 1.0.4-2 (lib32)
    X11 miscellaneous micro-utility library
local/lib32-libxrandr 1.3.0-1 (lib32)
    X11 RandR extension library
local/lib32-libxrender 0.9.4-2 (lib32)
    X Rendering Extension client library
local/lib32-libxslt 1.1.24-2 (lib32)
    XML stylesheet transformation library
local/lib32-libxss 1.2.0-1 (lib32)
    X11 Screen Saver extension library
local/lib32-libxt 1.0.6-1 (lib32)
    X11 toolkit intrinsics library
local/lib32-libxtst 1.0.3-2 (lib32)
    X11 Testing -- Resource extension library
local/lib32-libxv 1.0.4-1 (lib32)
    X11 Video extension library
local/lib32-libxxf86vm 1.0.2-1 (lib32)
    X11 XFree86 video mode extension library
local/lib32-lzo2 2.03-1 (lib32)
    LZO is a portable lossless data compression library written in ANSI C
local/lib32-mesa 7.5-2 (lib32)
    Mesa OpenGL library
local/lib32-nas 1.9.2-1 (lib32)
    Network Audio System is a network transparent, client/server audio transport system
local/lib32-ncurses 5.7-2 (lib32)
    A System V Release 4.0 curses emulation library
local/lib32-nspr 4.8-1 (lib32)
    Netscape Portable Runtime
local/lib32-nss 3.12.3.1-1 (lib32)
    Mozilla's Netscape Security Services Library that implements PKI support
local/lib32-nvidia-utils 185.18.36-1 (lib32)
    NVIDIA drivers utilities and libraries.
local/lib32-openal 1.8.466-1 (lib32)
    OpenAL audio library for use with opengl
local/lib32-opencdk 0.6.6-1.1 (lib32)
    The Open Crypto Development Kit provides basic parts of the OpenPGP message format
local/lib32-openssl 0.9.8k-4 (lib32)
    The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
local/lib32-pango 1.24.5-1.1 (lib32)
    A library for layout and rendering of text
local/lib32-pciutils 3.1.3-1 (lib32)
    PCI bus configuration space access library and tools
local/lib32-pcre 7.9-1 (lib32)
    A library that implements Perl 5-style regular expressions
local/lib32-pixman 0.14.0-2 (lib32)
    Pixman library
local/lib32-qt 4.5.2-6 (lib32)
    The QT gui toolkit.
local/lib32-qt3 3.3.8-12 (lib32)
    The QT gui toolkit.
local/lib32-readline 6.0.004-1 (lib32)
    GNU readline library
local/lib32-sdl 1.2.13-3 (lib32)
    A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard
local/lib32-sqlite3 3.6.17-1 (lib32)
    A C library that implements an SQL database engine
local/lib32-util-linux-ng 2.16-1
    Miscellaneous system utilities for Linux
local/lib32-xcb-util 0.3.6-1 (lib32)
    Utility libraries for XC Binding
local/lib32-zlib 1.2.3.3-3 (lib32)
    A compression/decompression Library
[cetin@unique bin]$
[cetin@unique bin]$
[cetin@unique bin]$
[cetin@unique bin]$ ldd Adifor2.1
Adifor2.1          Adifor2.1-Linux86 
[cetin@unique bin]$ ldd Adifor2.1-Linux86
    not a dynamic executable

if i create a chroot environment can 64-bit programs in our tool chain call the 32-bit binary using exactly the same ways they would do on a working multilib environment? btw vanilla ubuntu 9.04 64-bit has the same issue, so I'm a bit at a loss now hehe.

Offline

#5 2009-09-11 17:14:36

heissfuss
Member
Registered: 2009-09-11
Posts: 1

Re: 32-bit binary does not run on x86_64, ldd not a dynamic executable

I'm new to archlinux and I'm not sure why this is necessary, but it seems you need to use ldd32 to trace dependencies for 32bit binaries.  ldd32 is included with lib32-glibc.

Offline

#6 2009-09-11 23:54:12

doorknob60
Member
Registered: 2008-09-29
Posts: 403

Re: 32-bit binary does not run on x86_64, ldd not a dynamic executable

This is the best and cleanest way to use a chroot IMO, works great for me: http://wiki.archlinux.org/index.php/Arc … bit_system I use it for Wine, Skype, some binary games, and some other random stuff. I can start 32 bit programs by just typing 'schroot -p -- skype' for example.

Offline

#7 2009-09-20 21:07:01

CaptainHero
Member
From: Germany
Registered: 2009-05-12
Posts: 37

Re: 32-bit binary does not run on x86_64, ldd not a dynamic executable

Im setting up a 32 Bit chroot at the moment for wine-w3fix.

Just being curious: What do you guys think would it take less disk usage to install i686 skype, googleearth ... or keep the bin32-* packages since some of them only use linked libraries and a clean i686 install of skype has huge dependencies like qt (which I already have as a x86_64 pkg)?

I partially answered the question myself but I'm not being sure.

Last edited by CaptainHero (2009-09-20 21:11:19)

Offline

Board footer

Powered by FluxBB