Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: mikeb on October 22, 2015, 11:39:46 PM
-
Hello
I try to install mpd-minimal
But when I go to run it
it Says
mpd: error while loading shared libraries: libcdio_paranoia.so.0: cannot open shared object file: No such file or directory
libcdio is installed
-
TC6 libcdio.tcz does not contain libcdio_paranoia.so.0 (you can confirm via Apps).
It is, however, present in the libcdio from TC5. Download and load/install this older version and see if it allows your mpd-minimal to run:
http://distro.ibiblio.org/tinycorelinux/5.x/x86/tcz/
-
TC6 libcdio.tcz does not contain libcdio_paranoia.so.0 (you can confirm via Apps).
It is, however, present in the libcdio from TC5. Download and load/install this older version and see if it allows your mpd-minimal to run:
http://distro.ibiblio.org/tinycorelinux/5.x/x86/tcz/
Is there an instruction to do this ?
Thank you
-
Both the old and new libcdio versions share ncurses dependency, so shouldn't be an issue. Download old libcdio.tcz from the link provided above, navigate to the download directory and run 'tce-load -i libcdio.tcz'. All files will be extracted into system, you should see libcdio_paranoia.so.0 in /usr/local/lib. Of course you will need to reload mpd-minimal if you have since rebooted. Then run mpd-minimal and see if there are errors.
-
Both the old and new libcdio versions share ncurses dependency, so shouldn't be an issue. Download old libcdio.tcz from the link provided above, navigate to the download directory and run 'tce-load -i libcdio.tcz'. All files will be extracted into system, you should see libcdio_paranoia.so.0 in /usr/local/lib. Of course you will need to reload mpd-minimal if you have since rebooted. Then run mpd-minimal and see if there are errors.
It says libcdio is already installed - how do i remove it ?
-
Use the apps gui to ensure it is not listed onboot and re-boot.
-
Then go into your /tce/optional directory and move the TC6 libcdio.tcz to libcdio.tcz.TC6 to disable it. Then copy the old TC5 libcdio.tcz into /tce/optional. Full system reboot then install mpd-minimal again and test run.
-
This being said, probably the easiest thing would be for somebody to submit a libcdio-paranoia extension for the tc-6.x repo.
-
Then go into your /tce/optional directory and move the TC6 libcdio.tcz to libcdio.tcz.TC6 to disable it. Then copy the old TC5 libcdio.tcz into /tce/optional. Full system reboot then install mpd-minimal again and test run.
Thank you very much, it is fixed :)
-
libcdio-paranoia extension compiled for tc-6.x repo - I'll post it and adjust the mpd-minimal deps once the repo comes back online
-
Welcome mikeb but a hack as you are using a libcdio not part of TC6 proper. Keep a backup in case something gets overwritten when using Apps for maintenance.
Juanito thank-you for submitting. What you accomplish in 5-10 minutes takes me a couple days. Is this what you compiled?
https://github.com/rocky/libcdio-paranoia
Believe it or not i was able to compile :) Not proper TC6 compile to submit, just testing. First time using autoconf and an autogen.sh file.
Shouldn't libcdio.tcz be listed as a dependency of libcdio-dev.tcz?
For personal learning, this was created from make install. How to split into a -dev extension? Dev should include all .pc, .a, .la and .h files?
tc@box:/tmp/paranoiaextension$ du -a
140.0K ./usr/local/bin/cd-paranoia
140.0K ./usr/local/bin
4.0K ./usr/local/lib/pkgconfig/libcdio_cdda.pc
4.0K ./usr/local/lib/pkgconfig/libcdio_paranoia.pc
8.0K ./usr/local/lib/pkgconfig
144.0K ./usr/local/lib/libcdio_paranoia.a
4.0K ./usr/local/lib/libcdio_paranoia.la
0 ./usr/local/lib/libcdio_paranoia.so
0 ./usr/local/lib/libcdio_paranoia.so.2
112.0K ./usr/local/lib/libcdio_paranoia.so.2.0.0
136.0K ./usr/local/lib/libcdio_cdda.a
4.0K ./usr/local/lib/libcdio_cdda.la
0 ./usr/local/lib/libcdio_cdda.so
0 ./usr/local/lib/libcdio_cdda.so.2
104.0K ./usr/local/lib/libcdio_cdda.so.2.0.0
512.0K ./usr/local/lib
8.0K ./usr/local/include/cdio/paranoia/paranoia.h
16.0K ./usr/local/include/cdio/paranoia/cdda.h
24.0K ./usr/local/include/cdio/paranoia
24.0K ./usr/local/include/cdio
24.0K ./usr/local/include
12.0K ./usr/local/share/man/jp/man1/cd-paranoia.1
12.0K ./usr/local/share/man/jp/man1
12.0K ./usr/local/share/man/jp
12.0K ./usr/local/share/man/man1/cd-paranoia.1
12.0K ./usr/local/share/man/man1
24.0K ./usr/local/share/man
24.0K ./usr/local/share
700.0K ./usr/local
700.0K ./usr
700.0K .
-
Welcome mikeb but a hack as you are using a libcdio not part of TC6 proper. Keep a backup in case something gets overwritten when using Apps for maintenance.
If you remove libcdio.tcz.md5.txt then the apps gui will not update libcdio.
Is this what you compiled
No, libcdio-paranoia-10.2+0.93+1.tar.bz2
Shouldn't libcdio.tcz be listed as a dependency of libcdio-dev.tcz?
Yes, I'll fix that as soon as the repo is back up.
How to split into a -dev extension?
You can do it manually - easy enough for small extensions - or copy the relevent section of one of the build scripts under repo.tinycorelinux.net/6.x/x86/tcz/src
Dev should include all .pc, .a, .la and .h files?
Yes, plus bin/*-config, aclocal/*.m4, vapi/* cmake/*, etc - to save space, you can leave out the .a libs - they are not required in the majority of cases.
-
If you remove libcdio.tcz.md5.txt then the apps gui will not update libcdio.
Note, apps gui will then also be unable to download/install other extensions that depend on libcdio, because it fails to determine if the correct deps are installed.
-
As the TC5 and TC6 extensions are both named libcdio.tcz, regardless of md5 file removal Apps > Update .dep files overwrites the .dep file without notification. In this case no biggie, as the TC5 extension only required ncurses and the updated dep file will then include ncurses and vcdimager. Unfortunately it sometimes works the other way, 'Update .dep files' may auto-remove desired dependencies when mixing/matching extensions.
Yes, plus bin/*-config, aclocal/*.m4, vapi/* cmake/*, etc - to save space, you can leave out the .a libs - they are not required in the majority of cases.
Thanks for sharing. Please clarify, you mean discard .a libs altogether or move to -dev?
-
For run of the mill apps, I believe the static libs (.a) can be discarded altogether.
-
libcdio-paranoia posted, libcdio-dev and mpd-minimal deps adjusted.
-
Tiny Core 7
mpd-minimal 0.18.7
libcdio-paranoia 0.93
The same error:
mpd: error while loading shared libraries: libcdio_paranoia.so.0: cannot open shared object file: No such file or directory
-
What does this show:
$ tce-status -i | grep libcdio-paranoia
-
I see the problem now, both libcdio and libcdio-paranoia were updated in tc-6.x, which broke mpd-minimal.
You'll need to pm the mpd-minimal maintainer (gutmensch or gavs) and request an update
-
tc@box:~$ tce-status -i | grep libcdio-paranoia
libcdio-paranoia
-
ffmpeg has the same mistake:
ffplay: error while loading shared libraries: libcdio_paranoia.so.0: cannot open shared object file: No such file or directory
-
ffmpeg recompiled and ffmpeg, ffmpeg-dev, libavcodec, libavdevice, libavfilter, libavformat, libavutil, libpostproc, libswresample and libswscale posted.
-
Please rebuild mpd-minimal too
-
Did you send a pm to the maintainer?
-
yes, to gutmensch
gavs offline for a long time
-
Any news ? I am as well very interey to get mpd running with tiny...
-
I'd say if the maintainers have not replied by now, you can go ahead and compile/submit an mpd extension.
-
I tried to compile the real minimal mpd - only local playback
Music Player Daemon 0.19.13
Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright (C) 2008-2014 Max Kellermann <max@duempel.org>
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Database plugins:
simple proxy
Storage plugins:
local
Decoders plugins:
[mpg123] mp3
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[dsdiff] dff
[dsf] dsf
[faad] aac
[wavpack] wv
[pcm]
Output plugins:
null fifo alsa ao oss httpd recorder
Encoder plugins:
null vorbis wave flac
Input plugins:
file alsa
Playlist plugins:
extm3u m3u pls cue embcue
Protocols:
file:// alsa://
http://rghost.ru/8zdRvN6fS
simple replace mpd-minimal.tcz
-
Hi Nomadic
Rather than posting a link to an external site, maybe you could submit it to the repository. This will allow people to
install it using the Apps utility and automatically resolve any dependencies the extension may have. Instructions for
submitting an extension are included here:
http://wiki.tinycorelinux.net/wiki:creating_extensions
-
It's just for testing. Maybe something else must be added
-
Please test extended build (added curl, cdio_paranoia, required files for repo)
Music Player Daemon 0.19.13
Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright (C) 2008-2014 Max Kellermann <max@duempel.org>
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Database plugins:
simple proxy
Storage plugins:
local
Decoders plugins:
[mad] mp3 mp2
[mpg123] mp3
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[dsdiff] dff
[dsf] dsf
[faad] aac
[wavpack] wv
[pcm]
Output plugins:
null fifo alsa ao oss httpd recorder
Encoder plugins:
null vorbis lame wave flac
Archive plugins:
[bz2] bz2
Input plugins:
file alsa archive curl cdio_paranoia
Playlist plugins:
extm3u m3u pls cue embcue
Protocols:
file:// http:// https:// cdda:// alsa://
Download (http://www.mediafire.com/download/6yi29tihslcj5gg/mpd-minimal.tar.gz)
-
I'm unable to download the file.
What is meant by "added curl, cdio_paranoia, required files for repo"?
-
I'm unable to download the file.
Reupload file (http://www.mediafire.com/download/6yi29tihslcj5gg/mpd-minimal.tar.gz)
What is meant by "added curl, cdio_paranoia, required files for repo"?
added compared to the previous build
-
You need to add bzip2-lib and icu to the dep file.
Also mpd will not start without mpd.conf, so I'd suggest you add a start-up script to copy mpd.conf.example into /usr/local/etc as mpd.conf after first testing for it's presence.
Finally, mpd looks for alsa.conf and aliases.conf, so I guess a comment about requiring alsa-config/alsa to be installed and configured in the info file would be good :)
-
Add alsa-config to dep file?
Package includes file /usr/local/etc/mpd.conf.example
I think it is to manually copy and configure
-
Added deps:
- bzip2-lib.tcz
- icu.tcz
- alsa-config.tcz
Download (http://www.mediafire.com/download/zdg8tizad1jv3tp/mpd-minimal.tar.gz)