Page 1 of 1

[SOLVED] Brasero disk copy fails with missing library

PostPosted: Mar 11th, '14, 16:38
by billr
This is Mageia 4, x86_64. Selecting disk copy from the Brasero menu brings up a message saying:
Code: Select all
All required applications and libraries are not installed.
Please install the following manually and try again:
libdvdcss.so.2 (library).


lib64dvdcss is installed and includes the requisite file:
Code: Select all
$ rpm -q brasero
brasero-3.10.0-1.mga4
$ rpm -q lib64dvdcss2
lib64dvdcss2-1.2.13-2.mga4.tainted
$ rpm -q -l lib64dvdcss2
/usr/lib64/libdvdcss.so.2
/usr/lib64/libdvdcss.so.2.1.0


Any ideas? Is Brasero or one of it's libraries looking for a 32-bit version of the library (e.g., in /usr/lib)?

Re: Brasero disk copy fails with missing library

PostPosted: Mar 12th, '14, 01:34
by martinw
Without lib64dvdcss2 installed, I got the same error message. Installing that package fixed the problem. I did have to quit brasero and restart it.

Re: Brasero disk copy fails with missing library

PostPosted: Mar 12th, '14, 15:24
by wintpe
its not asking you to install lib64dvdcss2

its asking you to install libdvdcss2

ie the i586 version.

so the app you are using must also be the i586 version

regards peter

Re: Brasero disk copy fails with missing library

PostPosted: Mar 12th, '14, 16:17
by billr
wintpe wrote:its not asking you to install lib64dvdcss2

its asking you to install libdvdcss2

ie the i586 version.

so the app you are using must also be the i586 version

regards peter


If so, then it's a Mageia packaging problem, as I installed it from the software manager and rpm -i reports it is the x86_64 version:
Code: Select all
$ rpm -q -i brasero
Name        : brasero
Version     : 3.10.0
Release     : 1.mga4
Architecture: x86_64
Install Date: Tue 11 Mar 2014 07:21:18 AM PDT

Re: Brasero disk copy fails with missing library

PostPosted: Mar 12th, '14, 16:34
by wintpe
can you try running ldd on the binary file for brasero

run rpm -qal on the rpm to find the binary, usualy something like /usr/bin

also check that you have not installed both 32 and 64 bit versions

regards peter

Re: Brasero disk copy fails with missing library

PostPosted: Mar 12th, '14, 17:53
by billr
Good suggestion, Peter. Here's the output:
Code: Select all
$ ldd /usr/bin/brasero
        linux-vdso.so.1 (0x00007ffff6f3a000)
        libbrasero-media3.so.1 => /lib64/libbrasero-media3.so.1 (0x00007f048d115000)
        libbrasero-burn3.so.1 => /lib64/libbrasero-burn3.so.1 (0x00007f048ce89000)
        libbrasero-utils3.so.1 => /lib64/libbrasero-utils3.so.1 (0x00007f048cc60000)
        libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007f048ca5e000)
        libgstvideo-1.0.so.0 => /lib64/libgstvideo-1.0.so.0 (0x00007f048c819000)
        libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 (0x00007f048c517000)
        libgtk-3.so.0 => /lib64/libgtk-3.so.0 (0x00007f048be0c000)
        libgdk-3.so.0 => /lib64/libgdk-3.so.0 (0x00007f048bb5b000)
        libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007f048b910000)
        libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007f048b6ef000)
        libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f048b3d1000)
        libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f048b069000)
        libtracker-sparql-0.16.so.0 => /lib64/libtracker-sparql-0.16.so.0 (0x00007f048ae49000)
        libtotem-plparser.so.18 => /lib64/libtotem-plparser.so.18 (0x00007f048ac2a000)
        libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f048a8c9000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f048a679000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f048a379000)
        libSM.so.6 => /lib64/libSM.so.6 (0x00007f048a171000)
        libICE.so.6 => /lib64/libICE.so.6 (0x00007f0489f55000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0489d38000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f0489983000)
        libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f048977f000)
        libgstpbutils-1.0.so.0 => /lib64/libgstpbutils-1.0.so.0 (0x00007f0489559000)
        libnotify.so.4 => /lib64/libnotify.so.4 (0x00007f0489351000)
        libcanberra-gtk3.so.0 => /lib64/libcanberra-gtk3.so.0 (0x00007f048914c000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f0488e49000)
        libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 (0x00007f0488c3c000)
        libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x00007f04889e5000)
        liborc-0.4.so.0 => /lib64/liborc-0.4.so.0 (0x00007f048875f000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f048855b000)
        libX11.so.6 => /lib64/libX11.so.6 (0x00007f0488220000)
        libXi.so.6 => /lib64/libXi.so.6 (0x00007f0488010000)
        libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f0487e0a000)
        libcairo-gobject.so.2 => /lib64/libcairo-gobject.so.2 (0x00007f0487c01000)
        libatk-1.0.so.0 => /lib64/libatk-1.0.so.0 (0x00007f04879de000)
        libatk-bridge-2.0.so.0 => /lib64/libatk-bridge-2.0.so.0 (0x00007f04877b3000)
        libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007f048759f000)
        libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007f0487363000)
        libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007f0487160000)
        libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f0486f56000)
        libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007f0486d4b000)
        libXcomposite.so.1 => /lib64/libXcomposite.so.1 (0x00007f0486b48000)
        libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007f0486945000)
        libwayland-client.so.0 => /lib64/libwayland-client.so.0 (0x00007f0486738000)
        libxkbcommon.so.0 => /lib64/libxkbcommon.so.0 (0x00007f04864d9000)
        libwayland-cursor.so.0 => /lib64/libwayland-cursor.so.0 (0x00007f04862d1000)
        libXext.so.6 => /lib64/libXext.so.6 (0x00007f04860bf000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f0485eb7000)
        libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007f0485c0c000)
        libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f048597a000)
        libEGL.so.1 => /lib64/libEGL.so.1 (0x00007f0485757000)
        libpng16.so.16 => /lib64/libpng16.so.16 (0x00007f04854f8000)
        libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f04852f5000)
        libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007f04850eb000)
        libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f0484ecc000)
        libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f0484cc2000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f0484aa8000)
        libGL.so.1 => /lib64/libGL.so.1 (0x00007f0484827000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f04845f6000)
        libtracker-data.so.0 => /usr/lib64/tracker-0.16/libtracker-data.so.0 (0x00007f0484367000)
        libtracker-common.so.0 => /usr/lib64/tracker-0.16/libtracker-common.so.0 (0x00007f048412d000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f0483f29000)
        libsoup-2.4.so.1 => /lib64/libsoup-2.4.so.1 (0x00007f0483c66000)
        libgmime-2.6.so.0 => /lib64/libgmime-2.6.so.0 (0x00007f04839f7000)
        libarchive.so.13 => /lib64/libarchive.so.13 (0x00007f0483751000)
        libgcrypt.so.11 => /lib64/libgcrypt.so.11 (0x00007f04834cd000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f04832b4000)
        libffi.so.6 => /lib64/libffi.so.6 (0x00007f04830ac000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f0482e46000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f048d33b000)
        libgstaudio-1.0.so.0 => /lib64/libgstaudio-1.0.so.0 (0x00007f0482bfd000)
        libcanberra.so.0 => /lib64/libcanberra.so.0 (0x00007f04829ec000)
        libatspi.so.0 => /lib64/libatspi.so.0 (0x00007f04827bf000)
        libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f0482578000)
        libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f0482325000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f0482115000)
        libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x00007f0481f13000)
        libxcb-dri2.so.0 => /lib64/libxcb-dri2.so.0 (0x00007f0481d0e000)
        libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0 (0x00007f0481b07000)
        libgbm.so.1 => /lib64/libgbm.so.1 (0x00007f04818ff000)
        libwayland-server.so.0 => /lib64/libwayland-server.so.0 (0x00007f04816ef000)
        libudev.so.1 => /lib64/libudev.so.1 (0x00007f04814dd000)
        libdrm.so.2 => /lib64/libdrm.so.2 (0x00007f04812d1000)
        libXau.so.6 => /lib64/libXau.so.6 (0x00007f04810cd000)
        libXdmcp.so.6 => /lib64/libXdmcp.so.6 (0x00007f0480ec7000)
        libglapi.so.0 => /lib64/libglapi.so.0 (0x00007f0480c73000)
        libxcb-glx.so.0 => /lib64/libxcb-glx.so.0 (0x00007f0480a5b000)
        libXxf86vm.so.1 => /lib64/libXxf86vm.so.1 (0x00007f0480855000)
        libsqlite3.so.0 => /lib64/libsqlite3.so.0 (0x00007f04805a0000)
        libicuuc.so.52 => /lib64/libicuuc.so.52 (0x00007f048022a000)
        libicui18n.so.52 => /lib64/libicui18n.so.52 (0x00007f047fe29000)
        libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007f047fa2a000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007f047f825000)
        liblzo2.so.2 => /lib64/liblzo2.so.2 (0x00007f047f604000)
        libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f047f3ff000)
        libgsttag-1.0.so.0 => /lib64/libgsttag-1.0.so.0 (0x00007f047f1c8000)
        libvorbisfile.so.3 => /usr/lib64/libvorbisfile.so.3 (0x00007f047efbf000)
        libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x00007f047edac000)
        libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f047eba2000)
        libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f047e980000)
        libicudata.so.52 => /lib64/libicudata.so.52 (0x00007f047e77f000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f047e47b000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f047e265000)
        libvorbis.so.0 => /lib64/libvorbis.so.0 (0x00007f047e037000)
        libogg.so.0 => /lib64/libogg.so.0 (0x00007f047de30000)

The interesting thing is, brasero loads and starts just fine. It's only when you click the copy disc button that the error message appears. So, libdvdcss2 is not required to load the program and is not an rpm dependency, either. It's obviously loaded on demand by brasero itself (probably to avoid the requirement to force the installation of a tainted library).

Re: Brasero disk copy fails with missing library

PostPosted: Mar 13th, '14, 16:23
by wintpe
yes or the click button calls out to another utility that needs it.

run top in a shell, while clicking the button several times and see what process it spawns.

or better still attach strace to it just before you click the button

ps -ef|grep programname

strace -fp processid

regards peter

Re: Brasero disk copy fails with missing library

PostPosted: Mar 13th, '14, 21:48
by martinw
@Peter
wintpe wrote:its not asking you to install lib64dvdcss2
its asking you to install libdvdcss2
ie the i586 version.
so the app you are using must also be the i586 version
regards peter

This is incorrect:
Code: Select all
# urpmq -l lib64dvdcss2
/usr/lib64/libdvdcss.so.2
/usr/lib64/libdvdcss.so.2.1.0
/usr/share/doc/lib64dvdcss2
/usr/share/doc/lib64dvdcss2/AUTHORS
/usr/share/doc/lib64dvdcss2/README

i.e. the package lib64dvdcss2 provides the file libdvdcss.so.2.

@Bill, if you type
Code: Select all
ls -l /usr/lib64/libdvdcss*

in a terminal window, do you see something like
Code: Select all
lrwxrwxrwx 1 root root    18 Mar 11 23:27 /usr/lib64/libdvdcss.so.2 -> libdvdcss.so.2.1.0
-rwxr-xr-x 1 root root 36240 Oct 31 12:06 /usr/lib64/libdvdcss.so.2.1.0*

If not, try forcing the package to be reinstalled with
Code: Select all
urpmi --replacepkgs lib64dvdcss2

Re: Brasero disk copy fails with missing library

PostPosted: Mar 13th, '14, 21:59
by billr
@Martin, I do see exactly what you showed, so lib64dvdcss2 is installed. I went to try it again earlier this morning, running strace per Peter's suggestion, but brasero actually worked! I don't know what's different than before other than I no longer have the original DVD in the burner. I'm going to run a few more tests before calling this mysteriously solved.

Re: Brasero disk copy fails with missing library

PostPosted: Mar 21st, '14, 16:31
by billr
Well, Brasero is working now. I don't know what's different, but marking the thread as solved.