Menu

#76 unable to install on 64 bit distro

Fixed in v3.2
open
nobody
None
5
2016-05-27
2016-04-17
Ernesto
No

I was not able to run the magnifier, I'm on debian jessie, x86_64. ldd shows several files not found:

$ldd magnifier
linux-gate.so.1 (0xf776d000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf772e000)
libX11.so.6 => not found
libgdk_pixbuf-2.0.so.0 => not found
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libgobject-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libgthread-2.0.so.0 => not found
libgmodule-2.0.so.0 => not found
libpango-1.0.so.0 => not found
libatk-1.0.so.0 => not found
libcairo.so.2 => not found
libdl.so.2 => /lib32/libdl.so.2 (0xf7727000)
libc.so.6 => /lib32/libc.so.6 (0xf757a000)
/lib/ld-linux.so.2 (0xf7770000)

However, I've manually added to the LD_LIBRARY_PATH

$ echo $LD_LIBRARY_PATH
/lib32:/libx32:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/refdbg:

I'm not sure what I'm doing wrong.

Discussion

  • hackerb9

    hackerb9 - 2016-05-27

    The problem is that version 3.5 was compiled in 2011 and assumes a 32-bit machine. The proper solution would be for the authors to recompile VMG for the amd64 architecture. In the meantime, you can still run the old 32-bit binary, once you've got the 32-bit libraries installed. You can do that like so:

        dpkg --add-architecture i386
        apt-get update
    

    After that, you can install whatever 32-bit libraries you're missing by appending ":i386" to the package name.

        apt-get install libgtk2.0-0:i386
    

    I tried it and it worked for me.

    Hope that helps.

    P.S. See https://wiki.debian.org/Multiarch/HOWTO for more details about architectures.

     

    Last edit: hackerb9 2016-05-27
  • hackerb9

    hackerb9 - 2016-05-27

    Actually, I've got a better solution...

    I've compiled a 64-bit version of version 3.7.1. Until the authors get around to uploading an official release, you can use mine from here: https://sourceforge.net/p/magnifier/feature-requests/_discuss/thread/0dee3949/52c9/attachment/magnifier-linux-3.7.1.tar.gz

    I've included a .desktop file and the 32-bit binary as well, so this should be all around better than the current version available (3.5).

     

    Last edit: hackerb9 2016-05-27

Log in to post a comment.