1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

shibby's : optware + mpd can't load libintl.so.3

Discussion in 'Tomato Firmware' started by jenom, Jun 1, 2014.

  1. jenom

    jenom Networkin' Nut Member

    Running shibby's tomato v117
    installed OPTWARE, and installed MPD from shibby's repo

    root@unknown:/# ipkg install mpd
    Installing mpd (0.16.2-2) to /opt/...
    Downloading http://tomato.groov.pl/repo/mpd_0.16.2-2_mipsel.ipk
    Configuring mpd
    Successfully terminated.



    root@unknown:/# ipkg install gettext
    Installing gettext (0.14.5-2) to /opt/...
    Downloading http://tomato.groov.pl/repo/gettext_0.14.5-2_mipsel.ipk
    Configuring gettext
    Successfully terminated.


    did LDCONFIG


    root@unknown:/# mpd
    mpd: can't load library 'libintl.so.3'

    Any suggestions how to fix this error ?
    Thanks!




     
  2. jenom

    jenom Networkin' Nut Member

    manually created a new link libintl.so.3 to libintl-0.9.28.so

    lrwxrwxrwx 1 root root 12 May 31 21:24 libintl.so -> libintl.so.0
    lrwxrwxrwx 1 root root 17 May 31 21:24 libintl.so.0 -> libintl-0.9.28.so
    lrwxrwxrwx 1 root root 26 Jun 1 11:46 libintl.so.3 -> /opt/lib/libintl-0.9.28.so

    however, when I run MPD, a new error shows up:

    root@unknown:/opt/lib# mpd
    mpd: can't load library 'libuClibc++.so.0'

    Any suggestion ?
     
  3. jenom

    jenom Networkin' Nut Member

    created manually a new link libuClibc++.so.0 to libuClibc-0.9.28.so

    lrwxrwxrwx 1 root root 28 Jun 1 12:00 libuClibc++.so.0 -> /opt/lib/libuClibc-0 .9.28.so
    -rw-r--r-- 1 root root 698368 Feb 18 2012 libuClibc-0.9.28.so

    now FINALLY mpd starts without any missing library errors, just needs to properly configured

    root@unknown:/opt/lib# mpd
    listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
    output: No "audio_output" defined in config file
    output: Attempt to detect audio output device
    output: Attempting to detect a oss audio device
    oss: Error opening OSS device "/dev/dsp": No such file or directory
    oss: Error opening OSS device "/dev/sound/dsp": No such file or directory
    output: Unable to detect an audio device


    I think Shibby should fix these errors:

    1)mpd dependency on gettext
    2)libintl.so.3
    3)libuClibc++.so.0

    Thanks!
     
  4. jenom

    jenom Networkin' Nut Member

    Having problem even to find mpd config file (mpd.conf), my search resulted nothing

    root@unknown:/# find / -name mpd
    /opt/bin/mpd
    /opt/share/doc/mpd
    /opt/include/mpd

    root@unknown:/# find / -name mpd.conf
    root@unknown:/#

    I think, I am giving up on Shibby's+optware+mpd.......too many problems to fix !
     
  5. leandroong

    leandroong Addicted to LI Member

    -I suggest switching to entware optware, it has the latest mpd version, 0.18.11.
    - mpd.conf is located on /opt/etc
    - mpd.conf need to be configured properly for it to work correctly.
    -mpd optware installation, use "opkg install mpc mpd"
     
  6. jenom

    jenom Networkin' Nut Member

    rebooted and tried again
    now my usb audio device was detected:

    snd-usb-audio: probe of 2-1:1.3 failed with error -5
    usbcore: registered new interface driver snd-usb-audio
    usbcore: registered new interface driver hiddev
    input: C-Media Electronics Inc. USB PnP Sound Device as /class/input/input 0
    input: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device ] on usb-0000:00:04.0-1
    usbcore: registered new interface driver usbhid


    still no mpd.conf in /opt/etc or anywhere else

    /opt/etc# ls
    avahi dbus-1 default esd.conf init.d ipkg.conf ld.so.cache ld.so.conf mc slsh.rc


    when I run mpd:

    root@unknown:/opt# mpd
    listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
    output: No "audio_output" defined in config file
    output: Attempt to detect audio output device
    output: Attempting to detect a oss audio device
    output: Successfully detected a oss audio device


    however, when I run a pre-configured script with "wget" and "streamripper" for a Shoutcast station, somehow it worked, got audio playing and recording


    root@unknown:/opt# ./1fm
    Connecting to 205.164.35.183:80 (205.164.35.183:80)
    MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
    Connecting...
    stream: 1.FM Total Hits en EspaƱol
    server name: SHOUTcast/Linux v1.9.8
    declared bitrate: 128
    meta interval: 8192

    [skipping... ] Alexander Acha - Amor Sincero [ 849kb] Alexander Acha - Amor Sincero [ 1kb]
    [skipping... ] Sasha, Benny y Erik - Seras el Aire [ 385kb], Benny y Erik - Seras el Aire [ 1kb]

    I have considered entware, it seems newer, but maybe has smaller selection of packages and less "how to " documentation......would be nice to see a comparison chart of packages for optware & entware
     
  7. leandroong

    leandroong Addicted to LI Member

  8. jenom

    jenom Networkin' Nut Member

    these are just the packages
    is there any place where I can download complete "entware" system and save it locally on my hard drive?
    (I know it can be installed through a "entware-install.sh)
    Thanks
     
  9. leandroong

    leandroong Addicted to LI Member

    https://github.com/Entware/entware
     

Share This Page