LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2013, 07:05 PM   #1
reddragon3668
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
Need help with GVIM


I am pretty much a linux newbie; its been a while since I've loaded and ran a distro. I recently loaded Vector which is based on Slackware and I've ran across a problem that I'm not sure how to fix. The program GVIM won't run. If I try to open it via a terminal, I get the following error:

Quote:
gvim: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory
I'm kind of lost here and any help would be greatly appreciated! I did a search and found the libpython2.6.so.1.0 file here:

/opt/libreoffice3.6/program/libpython2.6.so.1.0

So at least I know the file exist. I am suppossing that I need to define a sym link of sorts but I'm not sure how to go about it.

Thanks again for any help!
 
Old 07-06-2013, 08:22 PM   #2
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 496

Rep: Reputation: 213Reputation: 213Reputation: 213
I don't use Vector, but in Slackware libpython is part of the python package, and it should be located in /usr/lib or /usr/lib64. Make sure that you have python installed.
 
Old 07-06-2013, 11:11 PM   #3
reddragon3668
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
theres a 2.6 and a 2.7 version of python installed. Not sure why GVIM isn't picking it up.
 
Old 07-07-2013, 12:34 AM   #4
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 496

Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by reddragon3668 View Post
theres a 2.6 and a 2.7 version of python installed. Not sure why GVIM isn't picking it up.
Check that libpython is actually in /usr/lib (or /usr/lib64 if your system is x86_64). For example, this is what you'd see in Slackware64 14.0:

Code:
$ ls -l /usr/lib64/libpython*
lrwxrwxrwx 1 root root      19 Oct 11  2012 /usr/lib64/libpython2.7.so -> libpython2.7.so.1.0
-r-xr-xr-x 1 root root 1890224 Jul  3  2012 /usr/lib64/libpython2.7.so.1.0
If the library exists, try running ldconfig as root. If it doesn't exist, perhaps reinstalling python would solve the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gVim installer jaepi Linux - Software 1 06-21-2007 05:09 AM
gvimrc for gvim powah SUSE / openSUSE 1 04-26-2005 09:21 PM
where is the gvim? ayiiq180 Linux - Software 2 12-12-2004 03:41 AM
gvim where can I get it for RH 7.3 mtint Linux - Networking 3 10-22-2002 09:04 AM
gvim where can I get it for RH 7.3 mtint Linux - Software 1 08-16-2002 01:54 PM


All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration