LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-20-2011, 06:46 AM   #1
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Rep: Reputation: 7
DVD::rip dvdrip libdv.so.4 not found, but is installed.


I am installing dvdrip, on Slackware 13.37 64 with Sbopkg and the git Slackbuild queue for dvdrip. DVD::rip does run but when I select 'RIP selected titles(s)' I get the following error:

Code:
Job 'Process title #2' failed with error message:
Job 'Rip - title #2' failed with error message:
Command exits with failure code:
Command: rm -f /home/hyperhead/dvdrip-data/test_rip/vob/002//test_rip-???.vob && 
execflow -n 19 tccat -t dvd -T 2,-1,1 -i \/dev\/dvd | dvdrip-splitpipe -f 
/home/hyperhead/dvdrip-data/test_rip/tmp/test_rip-002-nav.log 1024 
/home/hyperhead/dvdrip-data/test_rip/vob/002//test_rip vob  | tcextract 
-a 0 -x ac3 -t vob | tcdecode -x ac3 | tcscan -x pcm 
&& echo EXECFLOW_OK

Output: tcscan: error while loading shared libraries: libdv.so.4: cannot open shared object file: No such file or directory
tcextract: error while loading shared libraries: libdv.so.4: cannot open shared object file: No such file or directory
tcdecode: error while loading shared libraries: libavcodec.so.52: cannot open shared object file: No such file or directory
tccat: error while loading shared libraries: libdv.so.4: cannot open shared object file: No such file or directory
--splitpipe-finished--
I have checked that libdv.so.4 exists and it does

Code:
bash-4.1# find / -name 'libdv.so.4'
/tmp/SBo/libdv-1.0.0/libdv/.libs/libdv.so.4
/usr/local/lib/libdv.so.4

-latr /usr/local/lib | grep libdv*
-rwxr-xr-x  1 root root  440955 Aug 20 00:51 libdv.so.4.0.3
lrwxrwxrwx  1 root root      14 Aug 20 00:51 libdv.so -> libdv.so.4.0.3
-rwxr-xr-x  1 root root     782 Aug 20 00:51 libdv.la
-rw-r--r--  1 root root  698068 Aug 20 00:51 libdv.a
lrwxrwxrwx  1 root root      14 Aug 20 11:19 libdv.so.4 -> libdv.so.4.0.3


I also have the lib paths in ld.so.conf

Code:
cat /etc/ld.so.conf
/usr/local/lib
/usr/x86_64-slackware-linux/lib
/usr/lib64/seamonkey
/opt/kde3/lib64
/usr/lib
/lib
Is there anything I am missing here? I am out of ideas!
 
Old 08-20-2011, 08:53 AM   #2
fgcl2k
Member
 
Registered: Jan 2011
Distribution: Slackware 14.1
Posts: 108

Rep: Reputation: 29
Quote:
Originally Posted by hyperhead View Post
I am installing dvdrip, on Slackware 13.37 64 with Sbopkg and the git Slackbuild queue for dvdrip. DVD::rip does run but when I select 'RIP selected titles(s)' I get the following error:

I have checked that libdv.so.4 exists and it does

Code:
bash-4.1# find / -name 'libdv.so.4'
/tmp/SBo/libdv-1.0.0/libdv/.libs/libdv.so.4
/usr/local/lib/libdv.so.4

-latr /usr/local/lib | grep libdv*
-rwxr-xr-x  1 root root  440955 Aug 20 00:51 libdv.so.4.0.3
lrwxrwxrwx  1 root root      14 Aug 20 00:51 libdv.so -> libdv.so.4.0.3
-rwxr-xr-x  1 root root     782 Aug 20 00:51 libdv.la
-rw-r--r--  1 root root  698068 Aug 20 00:51 libdv.a
lrwxrwxrwx  1 root root      14 Aug 20 11:19 libdv.so.4 -> libdv.so.4.0.3


...

Is there anything I am missing here? I am out of ideas!
I have installed DVD::Rip on 13.37 using SBo (manually, without using queues) without problems. I have
Code:
-rwxr-xr-x 1 root root 122288 ago 11 21:14 /usr/lib64/libdv.so.4.0.3
Are you sure that your libdv is 64 bit?
 
1 members found this post helpful.
Old 08-20-2011, 10:57 AM   #3
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
If you modified /etc/ld.so.conf yourself, you need to run ldconfig.
 
Old 08-21-2011, 07:19 AM   #4
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by ajlewis2 View Post
If you modified /etc/ld.so.conf yourself, you need to run ldconfig.
Yes, sorry I forgot to mention I did run ldconfig
 
Old 08-21-2011, 07:21 AM   #5
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by fgcl2k View Post
I have installed DVD::Rip on 13.37 using SBo (manually, without using queues) without problems. I have
Code:
-rwxr-xr-x 1 root root 122288 ago 11 21:14 /usr/lib64/libdv.so.4.0.3
Are you sure that your libdv is 64 bit?
Hi thanks for reply, how did you install libdv, via SBo or manually? I took the one from SBo and installed manually. Neither seemed to work. does your ld.so.conf contian the path /usr/lib64 ?

Thanks
 
Old 08-21-2011, 07:33 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Install a genuine SBo package.

Not all applications like /usr/local/.

Some, say one of 300 binaries are hard-coded to look in /usr/lib* only.
 
1 members found this post helpful.
Old 08-21-2011, 07:50 AM   #7
wigry
Member
 
Registered: Jul 2004
Distribution: slackware
Posts: 218

Rep: Reputation: 52
Usually 32-bit libs are in /lib, /usr/lib and /usr/local/lib. 64-bit libs are in /lib64, /usr/lib64, and /usr/local/lib64. Your ld.so.conf only enlists directories of 32-bit libraries except for /opt/kde3/lib64

Please enlist also your 64-bit lib directories and then rerun ldconfig.

If you hwever do not hae separate directories for 32-bit and 64-bit libs, then how do you differentiate between 32 and 64-bit libs? To run 64-bit programs you must have 64-bit libs.

Also there seems to be a problem with libavcodec.so.52

Last edited by wigry; 08-21-2011 at 07:52 AM.
 
1 members found this post helpful.
Old 08-21-2011, 08:09 AM   #8
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by wigry View Post
Usually 32-bit libs are in /lib, /usr/lib and /usr/local/lib. 64-bit libs are in /lib64, /usr/lib64, and /usr/local/lib64. Your ld.so.conf only enlists directories of 32-bit libraries except for /opt/kde3/lib64

Please enlist also your 64-bit lib directories and then rerun ldconfig.

If you hwever do not hae separate directories for 32-bit and 64-bit libs, then how do you differentiate between 32 and 64-bit libs? To run 64-bit programs you must have 64-bit libs.

Also there seems to be a problem with libavcodec.so.52
Hi,
I will add all my 64bit lib paths to ld.so.conf
There are separate directories for 32 and 64, so there is a differentiation between 23 and 64 bit libraries. See output below

Code:
/

drwxr-xr-x   6 root root  4096 Aug 19 10:53 lib
drwxr-xr-x   2 root root 12288 May  1 20:03 lib64

/usr/

drwxr-xr-x   45 root root  40960 Aug 20 08:49 lib
drwxr-xr-x  161 root root 131072 Aug 21 12:40 lib64

/usr/local/

drwxr-xr-x  3 root root 4096 Aug 21 12:31 lib
drwxr-xr-x  2 root root 4096 Mar 26 02:02 lib64
 
Old 08-21-2011, 08:14 AM   #9
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by hyperhead View Post
Hi,
I will add all my 64bit lib paths to ld.so.conf
There are separate directories for 32 and 64, so there is a differentiation between 23 and 64 bit libraries. See output below

Code:
/

drwxr-xr-x   6 root root  4096 Aug 19 10:53 lib
drwxr-xr-x   2 root root 12288 May  1 20:03 lib64

/usr/

drwxr-xr-x   45 root root  40960 Aug 20 08:49 lib
drwxr-xr-x  161 root root 131072 Aug 21 12:40 lib64

/usr/local/

drwxr-xr-x  3 root root 4096 Aug 21 12:31 lib
drwxr-xr-x  2 root root 4096 Mar 26 02:02 lib64
I now have
Code:
/lib
/usr/lib
/usr/local/lib
/lib64
/usr/lib64
/usr/local/lib64
/usr/x86_64-slackware-linux/lib
/usr/lib64/seamonkey
/opt/kde3/lib64
I ran ldconfig as root, but when I run dvdrip, still the same outcome
 
Old 08-21-2011, 08:21 AM   #10
wigry
Member
 
Registered: Jul 2004
Distribution: slackware
Posts: 218

Rep: Reputation: 52
Post the outputs of:

ldd tcscan
ldd tcextract
ldd tcdecode
ldd tccat
 
Old 08-21-2011, 09:05 AM   #11
fgcl2k
Member
 
Registered: Jan 2011
Distribution: Slackware 14.1
Posts: 108

Rep: Reputation: 29
Quote:
Originally Posted by hyperhead View Post
Hi thanks for reply, how did you install libdv, via SBo or manually? I took the one from SBo and installed manually. Neither seemed to work. does your ld.so.conf contian the path /usr/lib64 ?

Thanks
Code:
$ cat /etc/ld.so.conf 
/usr/local/lib
/usr/x86_64-slackware-linux/lib
/usr/lib64/seamonkey
$
I installed via SBo, with the SlackBuild; it created the following package: libdv-1.0.0-x86_64-1_SBo
I think you should try to install with the SlackBuild script.

P.S. You didn't say if your library is really 64 bit.

Code:
$ file /usr/lib64/libdv.so.4.0.3 
/usr/lib64/libdv.so.4.0.3: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
$
 
1 members found this post helpful.
Old 08-21-2011, 02:48 PM   #12
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by wigry View Post
Post the outputs of:

ldd tcscan
ldd tcextract
ldd tcdecode
ldd tccat
ldd /usr/bin/tcscan
linux-gate.so.1 => (0xffffe000)
libdv.so.4 => not found
libmp3lame.so.0 => not found
libm.so.6 => /lib/libm.so.6 (0xf7783000)
libz.so.1 => /usr/lib/libz.so.1 (0xf776f000)
libdl.so.2 => /lib/libdl.so.2 (0xf776a000)
libc.so.6 => /lib/libc.so.6 (0xf7607000)
/lib/ld-linux.so.2 (0xf77d3000)

ldd /usr/bin/tcextract
linux-gate.so.1 => (0xffffe000)
libdv.so.4 => not found
libmjpegutils-1.9.so.0 => not found
libtheora.so.0 => not found
libvorbis.so.0 => not found
libogg.so.0 => not found
libm.so.6 => /lib/libm.so.6 (0xf76c4000)
libz.so.1 => /usr/lib/libz.so.1 (0xf76b0000)
libdl.so.2 => /lib/libdl.so.2 (0xf76ac000)
libc.so.6 => /lib/libc.so.6 (0xf7549000)
/lib/ld-linux.so.2 (0xf7715000)

ldd /usr/bin/tcdecode
linux-gate.so.1 => (0xffffe000)
libavcodec.so.52 => not found
libdv.so.4 => not found
libmp3lame.so.0 => not found
liblzo2.so.2 => not found
libquicktime.so.0 => not found
libpthread.so.0 => /lib/libpthread.so.0 (0xf76e1000)
libmpeg2.so.0 => not found
libmpeg2convert.so.0 => not found
libtheora.so.0 => not found
libvorbis.so.0 => not found
libogg.so.0 => not found
libvorbisfile.so.3 => not found
libm.so.6 => /lib/libm.so.6 (0xf76ba000)
libz.so.1 => /usr/lib/libz.so.1 (0xf76a6000)
libdl.so.2 => /lib/libdl.so.2 (0xf76a1000)
libc.so.6 => /lib/libc.so.6 (0xf753e000)
/lib/ld-linux.so.2 (0xf7725000)

ldd /usr/bin/tccat
linux-gate.so.1 => (0xffffe000)
libdv.so.4 => not found
libdvdread.so.4 => not found
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xf759e000)
libm.so.6 => /lib/libm.so.6 (0xf7578000)
libz.so.1 => /usr/lib/libz.so.1 (0xf7563000)
libdl.so.2 => /lib/libdl.so.2 (0xf755f000)
libc.so.6 => /lib/libc.so.6 (0xf73fc000)
/lib/ld-linux.so.2 (0xf76ef000
 
Old 08-21-2011, 02:55 PM   #13
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by fgcl2k View Post
Code:
$ cat /etc/ld.so.conf 
/usr/local/lib
/usr/x86_64-slackware-linux/lib
/usr/lib64/seamonkey
$
I installed via SBo, with the SlackBuild; it created the following package: libdv-1.0.0-x86_64-1_SBo
I think you should try to install with the SlackBuild script.

P.S. You didn't say if your library is really 64 bit.

Code:
$ file /usr/lib64/libdv.so.4.0.3 
/usr/lib64/libdv.so.4.0.3: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
$
Here is the library, it is the same as yours :P
Code:
file /usr/lib64/libdv.so.4.0.3
/usr/lib64/libdv.so.4.0.3: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
I will try and build using the slackbuild script, to see what happens. Perhaps it is the transcode I am installing that is looking in the wrong place for the libraries??
 
Old 08-21-2011, 03:13 PM   #14
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by hyperhead View Post
Here is the library, it is the same as yours :P
Code:
file /usr/lib64/libdv.so.4.0.3
/usr/lib64/libdv.so.4.0.3: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
I will try and build using the slackbuild script, to see what happens. Perhaps it is the transcode I am installing that is looking in the wrong place for the libraries??
I have just looked at the transcode package, I think this could be the issue.

transcode-1.1.5-i486-5sl

Its not 64bit.
 
Old 08-21-2011, 03:43 PM   #15
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Original Poster
Rep: Reputation: 7
Solved it! Thanks for all your help guys.

It was the transcode installation in the end. I found this post:

http://www.linuxquestions.org/questi...ltilib-752172/

AlienBobs post about adding this line:

LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \

To the slackbuild script between the CXXFLAGS and ./configure lines

this always prefers lib64 to lib !

Last edited by hyperhead; 08-21-2011 at 03:45 PM.
 
  


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
Installing kino in Fedora 11... libdv not found? bbneo Linux - Software 1 02-28-2010 07:55 PM
dvd::rip rar command not found ?? manuleka Linux - Software 2 06-19-2009 08:10 PM
Kino install, libdv not found rooman Linux - Software 3 02-24-2008 02:03 PM
Dvd:rip / transcode users: when you rip dvds, is the output file the size you expect? 144419855310001 Linux - Software 0 09-02-2006 09:56 AM
package libdv-0.103-0.pm.2.i586 was not found ... SlowMindThinkin Suse/Novell 0 12-23-2004 10:38 PM


All times are GMT -5. The time now is 04:46 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration