Lost Shared Libraries

Post here if you are a new Porteus member and you're looking for some help.
willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Lost Shared Libraries

Post#1 by willard » 26 Nov 2016, 21:39

Re: 3.1, 32-bit
Hi,
Q: Can someone help locate 'libxine.so.1'?

Code: Select all

guest@porteus:~$ qdvdauthor
qdvdauthor: error while loading shared libraries: 
libxine.so.1: cannot open shared object file: 
No such file or directory
guest@porteus:~$ 
thx
willard

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Lost Shared Libraries

Post#2 by ncmprhnsbl » 26 Nov 2016, 22:49

you need xine-lib package, which can be got via USM...
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: Lost Shared Libraries

Post#3 by willard » 27 Nov 2016, 00:03

ncmprhnsbl wrote:you need xine-lib package, which can be got via USM...
ncmprhnsbl,
USM got it to surface, now 'libjpeg.so.62' is lost in the weeds:

Code: Select all

guest@porteus:~$ qdvdauthor
qdvdauthor: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
guest@porteus:~$ 
Q: Is there a utility able to find these missing libs?
Suspect there will be others out in 'orbit' somewhere.
willard

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: Lost Shared Libraries

Post#4 by willard » 27 Nov 2016, 02:21

willard wrote:
ncmprhnsbl wrote:you need xine-lib package, which can be got via USM...
ncmprhnsbl,
USM got it to surface, now 'libjpeg.so.62' is lost in the weeds:


Q: Is there a utility able to find these missing libs?re will be others out in 'orbit' somewhere.
This URL explains how it's done with another distro:
http://askubuntu.com/questions/313691/m ... ed-library

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Lost Shared Libraries

Post#5 by ncmprhnsbl » 27 Nov 2016, 03:16

willard wrote: Q: Is there a utility able to find these missing libs?
sure is: USM :)

Code: Select all

root@porteus:# usm -s libjpeg.so.62

 ----------------------------- 
 Are you searching for a library file? 

libjpeg.so.62, it seems a library.
Would you like to find the package for it? [y/n]

 libjpeg.so.62  was found in   mozjpeg-3.1-x86_64-1_slonly.txz
can also be done with the gui> check the 'library' radio/box below the search bar

edit: this page http://qdvdauthor.sourceforge.net/tools.html might helpful to find missing packages too..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: Lost Shared Libraries

Post#6 by willard » 27 Nov 2016, 06:29

ncmprhnsbl wrote:
willard wrote: Q: Is there a utility able to find these missing libs?
sure is: USM :)

Code: Select all

root@porteus:# usm -s libjpeg.so.62

 ----------------------------- 
 Are you searching for a library file? 

libjpeg.so.62, it seems a library.
Would you like to find the package for it? [y/n]

 libjpeg.so.62  was found in   mozjpeg-3.1-x86_64-1_slonly.txz
can also be done with the gui> check the 'library' radio/box below the search bar

edit: this page http://qdvdauthor.sourceforge.net/tools.html might helpful to find missing packages too..
ncmprhnsbl,
5 essential packages used, excluding dependencies:
http://glennmcc.dynu.com/download/qdvdauthor/

Porteus 3.1, 32-bit cannot update slackonly mirror:
USM was only able to locate 'mozjpeg-3.1-i486-2_slack.txz', which didn't resolve libjpeg.so.62!
Therefore, I cannot locate 'mozjpeg-3.1-x86_64-1_slonly.txz' ?
willard

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Lost Shared Libraries

Post#7 by ncmprhnsbl » 27 Nov 2016, 07:56

willard wrote:Porteus 3.1, 32-bit cannot update slackonly mirror:
sorry didnt tak into account arch and version... though i thought slackonly should work with 3.1, maybe your usm needs to updated(not the databases)
willard wrote:5 essential packages used, excluding dependencies:
http://glennmcc.dynu.com/download/qdvdauthor/
hmm.. have you installed these packages?
because the libjpeg package should have the required lib(though these packages seems a bit old)
or try libjpeg-turbo which is the newer version..
also libjpeg.so.62 seems like a funny number... its posible you may need to make a symlink to libjpeg.so
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: Lost Shared Libraries

Post#8 by willard » 27 Nov 2016, 10:53

ncmprhnsbl wrote: hmm.. have you installed these packages?
because the libjpeg package should have the required lib(though these packages seems a bit old)
or try libjpeg-turbo which is the newer version..
also libjpeg.so.62 seems like a funny number... its posible you may need to make a symlink to libjpeg.so
ncmprhnsbl,
Yes, those 5 tgz packages were installed that support the latest version of qdvdauthor.
Please enlighten me on generating a Porteus symlink to the shared library in question?
My experience w/symlinks is limited to win32 shortcuts.
willard

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Lost Shared Libraries

Post#9 by ncmprhnsbl » 27 Nov 2016, 21:45

ok, first check out what libs are there,
go to /usr/lib and look for libjpeg.so s or even /lib..
(using a file search utility might be easier, its possible libjpeg.so.62 is actually there somewhere, just not where expected)
then open a root terminal and:

Code: Select all

cd /usr/lib 
(if thats the right place)
[ln -s TARGET LINKNAME]
in this case(depending on target lib name):

Code: Select all

ln -s libjpeg.so.0 libjpeg.so.62
this could also be done with a root filemanager:
(usually) rightclick>new>link which presents a dialog..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: Lost Shared Libraries

Post#10 by willard » 28 Nov 2016, 04:34

ncmprhnsbl wrote:ok, first check out what libs are there,
go to /usr/lib and look for libjpeg.so s or even /lib..
(using a file search utility might be easier, its possible libjpeg.so.62 is actually there somewhere, just not where expected)
hi,

Code: Select all

root@porteus:/home/guest# find -H / -name "*libjpeg.so.62*"
find: `/mnt/live/proc/1339/task/1339/net': Invalid argument
find: `/mnt/live/proc/1339/net': Invalid argument
/mnt/live/memory/images/mozjpeg-3.1-i486-bundle.xzm/opt/mozjpeg/lib32/libjpeg.so.62
/mnt/live/memory/images/mozjpeg-3.1-i486-bundle.xzm/opt/mozjpeg/lib32/libjpeg.so.62.2.0
find: `/home/guest/.gvfs': Permission denied
/opt/mozjpeg/lib32/libjpeg.so.62
/opt/mozjpeg/lib32/libjpeg.so.62.2.0
find: `/proc/1339/task/1339/net': Invalid argument
find: `/proc/1339/net': Invalid argument
root@porteus:/home/guest#
I gather a symlink is required and could a rooted thunar do that?
willard

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Lost Shared Libraries

Post#11 by ncmprhnsbl » 28 Nov 2016, 05:18

willard wrote:I gather a symlink is required and could a rooted thunar do that?
yeah... although i'd be inclined to try moving or copying it/them to /usr/lib or /lib and see what happens..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: Lost Shared Libraries

Post#12 by willard » 28 Nov 2016, 06:09

ncmprhnsbl wrote:
willard wrote:I gather a symlink is required and could a rooted thunar do that?
yeah... although i'd be inclined to try moving or copying it/them to /usr/lib or /lib and see what happens..
Hi,

Code: Select all

root@porteus:/usr/lib# ln -s libjpeg.so.0 libjpeg.so.62
ln: failed to create symbolic link ‘libjpeg.so.62’: File exists
root@porteus:/usr/lib# 
. . . plan B?
willard

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Lost Shared Libraries

Post#13 by ncmprhnsbl » 28 Nov 2016, 06:30

eh?
if you moved/copied libjpeg.so.62 to /usr/lib the link is not required.. that was only if you didnt have a real one, which you now do..
just try qdvdauthor and see whether it finds it..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: Lost Shared Libraries

Post#14 by willard » 28 Nov 2016, 06:52

ncmprhnsbl wrote:eh?
if you moved/copied libjpeg.so.62 to /usr/lib the link is not required.. that was only if you didnt have a real one, which you now do..
just try qdvdauthor and see whether it finds it..
Nope!

Code: Select all

guest@porteus:~$ qdvdauthor
qdvdauthor: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
guest@porteus:~$ 

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Lost Shared Libraries

Post#15 by ncmprhnsbl » 28 Nov 2016, 08:16

ok...
how about if you put it in /lib?
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply