Tiny Core Extensions > TCE Bugs

mpd: error while loading shared libraries: libSM.so.6

(1/2) > >>

raflik:
I installed mpd.tcz with ab and this resulted in mpd which - when executed - cannot find libSM.so.6 library.

Apart from that I wonder why tinycore's mpd has dependencies on X libraries, I normally use Arch Linux. On this distro ldd of mpd gives:

   linux-gate.so.1 =>  (0xb777e000)
   libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0xb7750000)
   libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0xb7741000)
   libavahi-glib.so.1 => /usr/lib/libavahi-glib.so.1 (0xb773e000)
   libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7676000)
   libmpcdec.so.5 => /usr/lib/libmpcdec.so.5 (0xb7669000)
   libwavpack.so.1 => /usr/lib/libwavpack.so.1 (0xb7643000)
   libm.so.6 => /lib/libm.so.6 (0xb761e000)
   libfaad.so.2 => /usr/lib/libfaad.so.2 (0xb75df000)
   libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb755e000)
   libcurl.so.4 => /usr/lib/libcurl.so.4 (0xb7511000)
   libmms.so.0 => /usr/lib/libmms.so.0 (0xb7502000)
   libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0xb74f0000)
   libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb74e8000)
   libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb74c1000)
   libogg.so.0 => /usr/lib/libogg.so.0 (0xb74bc000)
   libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb746f000)
   libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0xb744d000)
   libmodplug.so.1 => /usr/lib/libmodplug.so.1 (0xb7386000)
   libmad.so.0 => /usr/lib/libmad.so.0 (0xb736f000)
   libavformat.so.52 => /usr/lib/libavformat.so.52 (0xb7290000)
   libavcodec.so.52 => /usr/lib/libavcodec.so.52 (0xb6857000)
   libavutil.so.50 => /usr/lib/libavutil.so.50 (0xb683f000)
   libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb67cc000)
   libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb6656000)
   libao.so.4 => /usr/lib/libao.so.4 (0xb664e000)
   libasound.so.2 => /usr/lib/libasound.so.2 (0xb6589000)
   libshout.so.3 => /usr/lib/libshout.so.3 (0xb6579000)
   libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0xb640e000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb640a000)
   libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb63ee000)
   libpthread.so.0 => /lib/libpthread.so.0 (0xb63d4000)
   libc.so.6 => /lib/libc.so.6 (0xb6289000)
   libssp.so.0 => /usr/lib/libssp.so.0 (0xb6285000)
   libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb624c000)
   librt.so.1 => /lib/librt.so.1 (0xb6243000)
   libdl.so.2 => /lib/libdl.so.2 (0xb623f000)
   libpcre.so.0 => /lib/libpcre.so.0 (0xb6208000)
   /lib/ld-linux.so.2 (0xb777f000)
   libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0xb61b6000)
   libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0xb603c000)
   libz.so.1 => /usr/lib/libz.so.1 (0xb6027000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb5f39000)
   libavcore.so.0 => /usr/lib/libavcore.so.0 (0xb5f36000)
   libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb5f24000)
   libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0xb5e17000)
   libx264.so.104 => /usr/lib/libx264.so.104 (0xb5d72000)
   libvpx.so.0 => /usr/lib/libvpx.so.0 (0xb5cd9000)
   libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0xb5c96000)
   libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0xb5c7c000)
   libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0xb5bc8000)
   libopenjpeg.so.2 => /usr/lib/libopenjpeg.so.2 (0xb5bab000)
   libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0 (0xb5b96000)
   libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0 (0xb5b6a000)
   libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb5b58000)
   libva.so.1 => /usr/lib/libva.so.1 (0xb5b4f000)
   libspeex.so.1 => /usr/lib/libspeex.so.1 (0xb5b3a000)
   libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb5aea000)
   liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0xb5a83000)

I see no X dependencies.

TaoTePuh:
Is there no /usr/lib/libSM.so.6 in your installation?

Which version of TC do you use? Maybe the library is too old?


--- Quote ---...
I see no X dependencies.
--- End quote ---

And you see no :


--- Code: ---libpulse-simple.so.0 => /usr/local/lib/libpulse-simple.so.0 (0xb71d3000)
libpulse.so.0 => /usr/local/lib/libpulse.so.0 (0xb71a1000)
libpulsecommon-UNKNOWN.UNKNOWN.UNKNOWN.so => /usr/local/lib/libpulsecommon-UNKNOWN.UNKNOWN.UNKNOWN.so (0xb6d7b000)

--- End code ---

Which means that your Arch Linux version of mpd has no support for the "PulseAudio sound server". The support of PulseAudio generates the dependency to libSM.

raflik:
No, there isn't.

I thought that tinycore's philosophy is about (small) size, so I don't get the idea of pulseaudio support which I don't want to use. I totally don't need X libs, because I don't want X server at all.

I guess I need to prepare my own extension for mpd to meet my needs... But before I do that I would like to try out the version in repo and would be interested in getting that damn libSM.so.6;).

maro:
@raflik: I was suprised reading your report about the missing lib, as I can find it in TC 3.1:

--- Code: ---tc@box:~$ version
tinycore_3.1
tc@box:~$ ldconfig -p | grep libSM.so.6
        libSM.so.6 (libc6) => /usr/lib/libSM.so.6

--- End code ---
Are you using maybe using MC (which I have not checked)?

I think it would be a fair assumption that most extensions are built for TC (and not MC) users. But nothing is stopping you to create your own extension and use it either privately or submit it for the wider public. I just think we all need to be sensible that we don't end up with too many different extensions for a given application.

In general I'd prefer to have a "base" extension that delivers just the minimal capabilities and "extras" that build on top of it. I assume that it is not possible in this case. Seeing the large dependency tree of 'mpd.tcz' I imagine that this is pretty much what I'd call a "fat" version. I'm just concious that few people will agree to what should be seen as a "minimal" configuration. So you end up with creating your own extension, which is not a "biggy" in my view.

roberts:
FYI /usr/lib/libSM.so.6 is in Xlibs.gz which must be loaded if using microcore and you desire the X libs that are available in tinycore.

Navigation

[0] Message Index

[#] Next page

Go to full version