Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

im getting this error when trying to run

vmware-vcenter-converter

/usr/lib/vmware-vcenter-converter-standalone/converter-gui: error while loading shared libraries: libXinerama.so.1: cannot open shared object file: No such file or directory

locate libXinerama

result as following

 /usr/lib/vmware/lib/libXinerama.so.1
/usr/lib/vmware/lib/libXinerama.so.1/libXinerama.so.1
/usr/lib/vmware-installer/2.1.0/lib/lib/libXinerama.so.1
/usr/lib/vmware-installer/2.1.0/lib/lib/libXinerama.so.1/libXinerama.so.1
/usr/lib/x86_64-linux-gnu/libXinerama.so.1
/usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0

my box arch : Ubuntu 13

uname -a
 3.11.0-14-generic #21-Ubuntu SMP Tue Nov 12 17:04:55 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

i was trying to install different package to fix this issue , no luck

Any tips to fix missing shared libs

share|improve this question

migrated from stackoverflow.com Dec 16 '13 at 0:11

This question came from our site for professional and enthusiast programmers.

    
Shouldn't you try to locate libXinerama.so.1 instead of libXcursor.so.1? –  Nikos C. Dec 15 '13 at 11:35
    
its type i copied wrong ouput , i was trying libXinerama already but no luck –  Marco DonJuan Dec 15 '13 at 11:38
    
Try installing the "libxinerama1" package with sudo apt-get install libxinerama1. –  Nikos C. Dec 15 '13 at 11:43
    
already did , libxinerama1 is already the newest version. –  Marco DonJuan Dec 15 '13 at 11:53
    
Could it be that you're using the 32-bit version of VMware even though you're on a 64-bit Ubuntu? If yes, then apt-get install libxinerama1:i386 and try again. Or install the 64-bit version of VMware instead. –  Nikos C. Dec 15 '13 at 17:23

2 Answers 2

up vote 0 down vote accepted

From the output of ldd, it would seem that converter-gui is running on 32-bit libs.
You will need to install the 32bit version of all the libs missing from the ldd output

libvmomi.so.1.2 => not found
libvmacore.so.1.2 => not found
libtypes.so => not found
libXinerama.so.1 => not found
libexpat.so.0 => not found
libConverterWizard.so => not found
libconverterLogicTypes.so => not found
libconverterTypes.so => not found

Which should just involve a apt-get install for xinerama and expat
apt-get install libxinerama1:i386 and apt-get install libexpat1:i386

If you have the rest of the missing libs on the system already, you'll need to point the program to the location where the libs are located with export LD_LIBRARY_PATH=/path/to/i386/vm/libs:$LD_LIBRARY_PATH

share|improve this answer

It seems like libXinerama.so.1 is in your system, but not in the folder vmware is looking for it. Have you tried a link?

    ln /usr/lib/x86_64-linux-gnu/libXinerama.so.1 /usr/lib/vmware-vcenter-converter-standalone/libXinerama.so.1

However, you can give us more info doing this:

    ls -ld /usr/ /usr/lib/ /usr/lib/x86_64-linux-gnu/
    ls -l /usr/lib/x86_64-linux-gnu/libXinerama.so.1
share|improve this answer
    
i did , and ouput as : ln /usr/lib/x86_64-linux-gnu/libXinerama.so.1 /usr/lib/vmware-vcenter-converter-standalone/converter-gui/libXinerama.so.1 ln: accessing ‘/usr/lib/vmware-vcenter-converter-standalone/converter-gui/libXinerama.so.1’: Not a directory –  Marco DonJuan Dec 15 '13 at 11:55
    
yeah, sorry, I mean ln /usr/lib/x86_64-linux-gnu/libXinerama.so.1 /usr/lib/vmware-vcenter-converter-standalone/libXinerama.so.1 –  manolo Dec 15 '13 at 12:01
    
you can give us more info doing this ls -ld /usr/ /usr/lib/ /usr/lib/x86_64-linux-gnu/ –  manolo Dec 15 '13 at 12:06
    
no luck didnot work –  Marco DonJuan Dec 15 '13 at 12:24
    
drwxr-xr-x 10 root root 4096 Oct 16 22:58 /usr/ drwxr-xr-x 242 root root 36864 Dec 15 16:02 /usr/lib/ drwxr-xr-x 104 root root 69632 Dec 15 16:02 /usr/lib/x86_64-linux-gnu/ –  Marco DonJuan Dec 15 '13 at 12:25

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.