LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Library errors during software install (https://www.linuxquestions.org/questions/linux-desktop-74/library-errors-during-software-install-500470/)

iluzion 11-10-2006 07:56 PM

Library errors during software install
 
I just installed Debian for the first time and I've been getting errors about not being able to load shared libraries in multiple programs, but when i search for them I can find the file they reference. For example:

Vmware:

/usr/lib/vmware/bin/vmplayer: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory


Firefox:

./firefox-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory


I can find both of these but don't know how to get it set so that they are found by the program that needs them.

uselpa 11-11-2006 12:51 PM

The paths where the libraries are located should be in /etc/ld.so.conf. Then, as root, try to issue a "ldconfig".

iluzion 11-11-2006 02:45 PM

added the location (/usr/lib) to the conf file, ran ldconfig, still doesn't work.

uselpa 11-11-2006 02:58 PM

What you could also try is run the command with strace, i.e. "strace vmplayer". That will output all the system calls, and some of them will have error codes. That might point us into the right direction.

uselpa 11-11-2006 03:16 PM

I just see you double-posted. That makes no sense. I'll stop here.

iluzion 11-11-2006 05:00 PM

I double posted thinking different people would read each area and this is sorta important as I need vmware for work. Maybe you could offer some advice with what was said on the other post?

reddazz 11-12-2006 02:49 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 12:10 AM.