Missing libs, esp libpython2.7.so.1.0 {needed by vim}

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
jtwdyp
Posts: 137
Joined: Fri 04 Oct 2013, 10:48

Missing libs, esp libpython2.7.so.1.0 {needed by vim}

#1 Post by jtwdyp »

I added a few things with the Puppy Package Manager. Some of them called in dependencies. By the time I was done I had 4 missing libraries. The first three probably didn't matter as they were only needed for dependencies that I don't think I actually use:

Code: Select all

Missing Library:
libboost_program_options.so.1.49.0
Needed by:
akonadi-1.7.2

Missing Library:
libmpfr.so.4
Needed by:
soprano-2.7.6
redland-1.0.15
rasqal-0.9.29

Missing Library:
libicuuc.so.49
Needed by:
soprano-2.7.6
redland-1.0.15
rasqal-0.9.29
raptor2-2.0.8

Missing Library:
libpython2.7.so.1.0
Needed by:
vim-7.3.645
That last one bothers me because I really wanted vim:

Code: Select all

# vim test.text
vim: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
# 
Where/how can I get the missing libs? Especially libpython2.7.so.1.0???
Last edited by jtwdyp on Tue 15 Oct 2013, 04:37, edited 1 time in total.
[color=brown][size=67]
--
JtWdyP

[/size][/color]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »


User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#3 Post by sunburnt »

Hi jtwdyp; You don`t say what Puppy version you`re running ( Always a good idea...).

The PPM wouldn`t list the files if they weren`t needed.

Python is in the Devx add-on file in most Puppy versions.
Just download it and then try testing dependencies again.

User avatar
jtwdyp
Posts: 137
Joined: Fri 04 Oct 2013, 10:48

#4 Post by jtwdyp »

Semme wrote:Version?
sunburnt wrote:Hi jtwdyp; You don`t say what Puppy version you`re running ( Always a good idea...).
oops... That would be slacko 5.6...
The PPM wouldn`t list the files if they weren`t needed.
Well I was certain they were listed as requirements somewhere. Which is why I'm hoping to find out what provides the other three as well. But considering how much isn't implimented in the version of vi that came with the slacko cd, vim is a must have.
Python is in the Devx add-on file in most Puppy versions.
Just download it and then try testing dependencies again.
Will try that when next I boot Puppy. {possibly later tonight... eerr, make that "possibly in the wee hours of this morning"}
[color=brown][size=67]
--
JtWdyP

[/size][/color]

User avatar
jtwdyp
Posts: 137
Joined: Fri 04 Oct 2013, 10:48

#5 Post by jtwdyp »

jtwdyp wrote:
sunburnt wrote:Python is in the Devx add-on file in most Puppy versions.
Just download it and then try testing dependencies again.
Will try that when next I boot Puppy. {possibly later tonight... eerr, make that "possibly in the wee hours of this morning"}
I searched for devx with PPM... All it found was strings_sfdisk-2.2.1 ... That didn't pull in the missing lib... So I looked for python itself. And python-2.7.3 seems to have installed ok. But when PPM tried to check for missing libs, it hungup...

Several hours later I rebooted. And vim is working... the other three libs are still missing, And any attempt to actually check python for missing libs locks up.

But so far it hasn't affected anything else that I've noticed...

Should I worry about it???

&

How can I find out what provides those other three libraries?
[color=brown][size=67]
--
JtWdyP

[/size][/color]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

Consult the readme to know which devx your setup requires. Confirm vim deps with: ldd /usr/bin/vim

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#7 Post by sunburnt »

What Semme said...

User avatar
jtwdyp
Posts: 137
Joined: Fri 04 Oct 2013, 10:48

#8 Post by jtwdyp »

Semme wrote:Consult the readme to know which devx your setup requires. Confirm vim deps with: ldd /usr/bin/vim
The only reason I wanted Devx was because sunburnt suggested it as something that provides python...

I've since installed python directly... Which seems to have resolved any problems I had with vim...

The last time I booted Puppy, I did run "ldd /usr/bin/vim" anyway. It listed a location for each library it mentioned. I'm presuming that means it actually found them? If so perhaps I should try

Code: Select all

ldd /usr/bin/python

to find out if there is anything missing there??
(the gui checker in the menu locks up when I check python with it...)
[color=brown][size=67]
--
JtWdyP

[/size][/color]

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#9 Post by sunburnt »

HI again jtwdyp; This will list only the missing libs.
The path /usr/bin/python must be correct of course.
( Note the spaces on both sides of "not", that`s why it`s ' not '. )

ldd /usr/bin/python |grep ' not '

# ldd only works on exec. and lib. files, not scripts, or files that Python runs ( *.py ).
Last edited by sunburnt on Fri 11 Oct 2013, 16:47, edited 1 time in total.

User avatar
jtwdyp
Posts: 137
Joined: Fri 04 Oct 2013, 10:48

#10 Post by jtwdyp »

sunburnt wrote:HI again jtwdyp; This will list only the missing libs.
The path /usr/bin/python must be correct of course.
( Note the spaces on both sides of "not", that`s why it`s ' not '. )

ldd /usr/bin/python |grep ' not '

# ldd only works on exec. files, not libs., scripts, or files that Python runs ( *.py ).
This ldd is a nice tool, I'll probably find other reasons to use it? :wink:

Thanks
[color=brown][size=67]
--
JtWdyP

[/size][/color]

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#11 Post by 666philb »

sunburnt wrote:# ldd only works on exec. files, not libs., scripts, or files that Python runs ( *.py ).

ldd also works on libs
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#12 Post by sunburnt »

666philb; Yes it does, but only on those that actually have other libs. as deps.

I haven`t found very many, but there`s probably a number of them. I`ll change it...

steppnav
Posts: 2
Joined: Sat 12 Nov 2011, 23:45

Another nail in the KISS coffin

#13 Post by steppnav »

:x Why would would they make vim dependent on any scripting language?????????

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

Re: Another nail in the KISS coffin

#14 Post by step »

steppnav wrote::x Why would would they make vim dependent on any scripting language?????????
Because the vim package was compiled with the optional python support option enabled. The standard vim makefile disables this compile-time option. If this compile-time option is enabled, vim runtime expects to find the python library installed.
Run "vim --version" from a terminal to display which options were compiled in to your vim.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#15 Post by don570 »

I put libpython in my python 2.7.8 packages. I got it from devx packages.

http://murga-linux.com/puppy/viewtopic.php?t=97945

_________________________________________

Post Reply