How to install lib1394 i386 (32bit) version on ubuntu 11.10 amd64

jespestana

I have an old acquisition program for a firewire that seems to need the 32bits version of the library libraw1394.so .

Some notes, about the problem:

I think that the output of uname -m indicates that I have an ubuntu 64bits installed:

$ uname -m
x86_64

If I execute ldd on my application, the output indicates that lib1394.so was not found:

$ ldd ./smallv
    linux-gate.so.1 =>  (0xf76e9000)
    libsvs.so => /usr/local/svs/bin/libsvs.so (0xf76c7000)
    libsvscalc.so => /usr/local/svs/bin/libsvscalc.so (0xf76b7000)
    libsvscap.so => /usr/local/svs/bin/libsvscap.so (0xf76a0000)
    libfltk.so.1.1 => /usr/local/svs/bin/libfltk.so.1.1 (0xf761a000)
    libfltk_gl.so.1.1 => /usr/local/svs/bin/libfltk_gl.so.1.1 (0xf7612000)
    libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf7573000)
    libGL.so.1 => /usr/lib32/nvidia-current/libGL.so.1 (0xf74a1000)
    libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf73b5000)
    libpthread.so.0 => /lib32/libpthread.so.0 (0xf739a000)
    libm.so.6 => /lib32/libm.so.6 (0xf7370000)
    libc.so.6 => /lib32/libc.so.6 (0xf71f1000)
    libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf71d3000)
    libdcap.so => /usr/local/svs/bin/libdcap.so (0xf71c5000)
    libraw1394.so.8 => not found
    libXext.so.6 => /usr/lib32/libXext.so.6 (0xf71b2000)
    libX11.so.6 => /usr/lib32/libX11.so.6 (0xf707c000)
    libnvidia-tls.so.280.13 => /usr/lib32/nvidia-current/tls/libnvidia-tls.so.280.13 (0xf7079000)
    libnvidia-glcore.so.280.13 => /usr/lib32/nvidia-current/libnvidia-glcore.so.280.13 (0xf5767000)
    librt.so.1 => /lib32/librt.so.1 (0xf575e000)
    libdl.so.2 => /lib32/libdl.so.2 (0xf5759000)
    /lib/ld-linux.so.2 (0xf76ea000)
    libraw1394.so.8 => not found
    libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf573a000)
    libXau.so.6 => /usr/lib32/libXau.so.6 (0xf5735000)
    libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf572e000)

When I run the application I get the following error:

$ ./smallv
./smallv: error while loading shared libraries: libraw1394.so.8: wrong ELF class: ELFCLASS64

The library is locted in /usr/lib/ but it is and ELF63 version:

$ readelf -h /usr/lib/libraw1394.so
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  Entry point address:               0x4460
  Start of program headers:          64 (bytes into file)
  Start of section headers:          58768 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         7
  Size of section headers:           64 (bytes)
  Number of section headers:         26
  Section header string table index: 25

I have been searching a solution in various posts. So, I think that I have the source code of the applications so that I should be able to compile it. So I have to solutions, but I do not know how to execute them:

solution 1) Install the i386 (32bits) version of the library
solution 2) Compile the application again

I have been reading posts and it seems that I should use either GetLibs either ia32-libs either multiarch. Please, any feedback to the problem will be helpful! Thanks a lot!

jespestana

Lucio

First of all, you're right, your system is using the 64 bits architecture.

As you said that a solution for your problem could be install i386 (32bits) version of the library, I have told you how to do it:

  1. Open a terminal Ctrl+Alt+T
  2. Enter this command: sudo apt-get install libraw1394-11:i386

Now you should have installed the 32-bits version of the libraw library.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to install i386 package under amd64 ubuntu/debian

From Dev

How to install i386/amd64 packages on ARM or any other arch from Ubuntu Ports

From Dev

How can I install a 32bit python on 64 bit Ubuntu

From Dev

How can I install a 32bit python on 64 bit Ubuntu

From Dev

How do I force Ubuntu to use amd64, not i386

From Dev

Ubuntu: AMD64 vs i386?

From Dev

Did I install the wrong ISO? 64-bit PC (AMD64) desktop image vs 32-bit PC (i386) desktop image

From Dev

How do I install a 32-bit Java runtime on an amd64 server with multiarch?

From Dev

How do I use apt to install 32-bit OpenJDK-7-JRE on Azure AMD64 Ubuntu Server 14.04 LTS (Trusty)?

From Dev

How to install build-essential:i386 to compile a 32-bit executable on a 64-bit system?

From Dev

How can I install Wine (i386) on Ubuntu 19.10?

From Dev

VMWare Workstation 11 on Windows 10 executes as 32bit and fails to start a Ubuntu Linux 64bit guest

From Dev

How can I exclude part of my profile depending on 32bit or 64bit version of PowerShell

From Dev

How do I find the path to the 32bit version of java on 64bit Linux?

From Dev

How can I install Internet Explorer 32bit in Windows 64bit?

From Dev

How can I install a 64bit Linux virtual machine on a 32bit Linux?

From Dev

How to install libc6:i386 on 16.04.4 64bit?

From Dev

How do I install gcc-4.6 on Ubuntu 15.10 (32bit edition)

From Dev

How can I build i386 and amd64 packages on my amd64 laptop using debuild

From Dev

How to remove all i386 packages from Ubuntu 64bit?

From Dev

How to install Docker on 32bit machine having Ubuntu 12.04?

From Dev

How to Install XAMPP on my ubuntu 16.04 32bit

From Dev

Ubuntu amd64 instead of i386 - cause for slow booting?

From Dev

How to compile and install a 32Bit library on a 64 Bit (Ubuntu 12.04LTS) Linux using autotools, make and gcc?

From Dev

How to compile and install a 32Bit library on a 64 Bit (Ubuntu 12.04LTS) Linux using autotools, make and gcc?

From Dev

libgtk-x11-2.0.so.0:i386 not available on Ubuntu 13.10 64 bit; troubles with Adobe Air

From Dev

libgtk-x11-2.0.so.0:i386 not available on Ubuntu 13.10 64 bit; troubles with Adobe Air

From Dev

How can I emulate an amd64 system on an i386 system?

From Dev

How can I emulate an amd64 system on an i386 system?

Related Related

  1. 1

    How to install i386 package under amd64 ubuntu/debian

  2. 2

    How to install i386/amd64 packages on ARM or any other arch from Ubuntu Ports

  3. 3

    How can I install a 32bit python on 64 bit Ubuntu

  4. 4

    How can I install a 32bit python on 64 bit Ubuntu

  5. 5

    How do I force Ubuntu to use amd64, not i386

  6. 6

    Ubuntu: AMD64 vs i386?

  7. 7

    Did I install the wrong ISO? 64-bit PC (AMD64) desktop image vs 32-bit PC (i386) desktop image

  8. 8

    How do I install a 32-bit Java runtime on an amd64 server with multiarch?

  9. 9

    How do I use apt to install 32-bit OpenJDK-7-JRE on Azure AMD64 Ubuntu Server 14.04 LTS (Trusty)?

  10. 10

    How to install build-essential:i386 to compile a 32-bit executable on a 64-bit system?

  11. 11

    How can I install Wine (i386) on Ubuntu 19.10?

  12. 12

    VMWare Workstation 11 on Windows 10 executes as 32bit and fails to start a Ubuntu Linux 64bit guest

  13. 13

    How can I exclude part of my profile depending on 32bit or 64bit version of PowerShell

  14. 14

    How do I find the path to the 32bit version of java on 64bit Linux?

  15. 15

    How can I install Internet Explorer 32bit in Windows 64bit?

  16. 16

    How can I install a 64bit Linux virtual machine on a 32bit Linux?

  17. 17

    How to install libc6:i386 on 16.04.4 64bit?

  18. 18

    How do I install gcc-4.6 on Ubuntu 15.10 (32bit edition)

  19. 19

    How can I build i386 and amd64 packages on my amd64 laptop using debuild

  20. 20

    How to remove all i386 packages from Ubuntu 64bit?

  21. 21

    How to install Docker on 32bit machine having Ubuntu 12.04?

  22. 22

    How to Install XAMPP on my ubuntu 16.04 32bit

  23. 23

    Ubuntu amd64 instead of i386 - cause for slow booting?

  24. 24

    How to compile and install a 32Bit library on a 64 Bit (Ubuntu 12.04LTS) Linux using autotools, make and gcc?

  25. 25

    How to compile and install a 32Bit library on a 64 Bit (Ubuntu 12.04LTS) Linux using autotools, make and gcc?

  26. 26

    libgtk-x11-2.0.so.0:i386 not available on Ubuntu 13.10 64 bit; troubles with Adobe Air

  27. 27

    libgtk-x11-2.0.so.0:i386 not available on Ubuntu 13.10 64 bit; troubles with Adobe Air

  28. 28

    How can I emulate an amd64 system on an i386 system?

  29. 29

    How can I emulate an amd64 system on an i386 system?

HotTag

Archive