Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I'm trying to run a older SIMetrix Version on Ubuntu 15.04 64bit (if there is a newer version of SIMetrix around tell me!).

When I do it I get following error:

user@user-Ubuntu-Laptop:/opt/simetrix_intro_53/bin$ ./SIMetrix ./SIMetrix: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory

But when I run sudo ldconfig -v | grep Xext the output is libXext.so.6 -> libXext.so.6.4.0.

So why is the file not found? Running SIMetrix with sudo doesn't help.


user@user-Ubuntu-Laptop:/opt/simetrix_intro_53/bin$ sudo linux32 --3gb ./SIMetrix ./SIMetrix: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory


$ file ./SIMetrix ./SIMetrix: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped


$ uname -a Linux user-Ubuntu-Laptop 3.19.0-16-generic #16-Ubuntu SMP Thu Apr 30 16:09:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


$ ldd ./SIMetrix linux-gate.so.1 => (0xf777f000) libSupportDll.so => /opt/lib/simetrix/5.3/libSupportDll.so (0xf7704000) libqt-mt.so.3 => /opt/lib/simetrix/5.3/libqt-mt.so.3 (0xf6ed9000) libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf6ec3000) libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf6d78000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf6d5b000) libstdc++.so.5 => not found libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf6d0e000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6cf0000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf6b35000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf6b30000) libstdc++.so.5 => not found libGL.so.1 => not found libXmu.so.6 => not found libSM.so.6 => not found libICE.so.6 => not found libstdc++.so.5 => not found libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf6b0d000) /lib/ld-linux.so.2 (0xf7780000) libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf6b08000) libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf6b01000)

share|improve this question
    
I think you install 32bit program on 64 or reverse.... –  PersianGulf May 17 at 18:17
    
You can run via linux32 on 64 bit machine or linux64 on 32 bit machine. –  PersianGulf May 17 at 18:18
    
Yes that's correct, I have a 64bit system and the binary is made for 32bit. But the solution you suggested doesn't do the trick. –  Cajus Ammon May 17 at 18:45
1  
Install the corresponding 32 bit library, perhaps? I.e. you probably have libxext6:amd64, but try installing libxext6:i386 as well. Paste the output of file ./SIMetrix , uname -a, ldd ./SIMetrix into your question. –  Faheem Mitha May 17 at 19:19
    
Hey Faheem Mitha, your suggestion did it! I installed libxext6:i386 with apt-get. Now libstdc++.so.5 is missing. Any way to install all dependencies at once? –  Cajus Ammon May 17 at 19:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.