Outils pour utilisateurs

Outils du site

Panneau latéral




Ham Radio






EchoLink under Linux (Debian Jessie amd64)


  • Problems: x86 binary, linking against old QT libraries, and using OSS
  • Solutions: Debian multiarch, squeeze packages and PulseAudio OSS shim
  1. Get Debian packages for qtel (local copy)
    • MD5: bbccd602a312824e1e5ff7873af5b4cb
    • SHA1: e5c9082b6832254feeb115fd3157ff9d34f4fcf8
    • SHA256: f7ed742f4d36d8698667628415c158a9d88a70f48378ac9615993ca87b89baf5
  2. Set the system up to use i386 libraries
    $ <in>sudo dpkg --add-architecture i386</in>
    $ <in>sudo apt-get update</in>
  3. Install the packages from the qtel archive
    $ <in>sudo tar xzvf qtel-debian.tgz</in>
    $ <in>sudo dpkg -i *.deb</in>
  4. Let apt repair broken dependencies
    $ <in>sudo apt-get install libc6:i386 libgcc1:i386 libstdc++6:i386</in>
    $ <in>sudo apt-get -f install</in>
  5. Install other missing i386 dependencies
    $ <in>sudo apt-get install apt-file</in>
    $ <in>sudo apt-file update</in>
    $ <in>ldd /usr/bin/qtel | \
        sed -n "s/=>.*//p" | \
        while read file; do
          apt-file search $file; 
        done | sed "/dbg/d;s/:.*/:i386/;s/-i386//;s/lib32/lib/" | sort | uniq | \
        xargs sudo apt-get -y install</in>
    $ <in>sudo apt-get -f install</in>
    • In essence: list shared libraries in use; keep only their filename; pass to apt-file to find matching package; ignore debug packages, remove -386 suffix and 32 from lib32 prefix, add :i386 specification; sort the list; keep one instance of each entry; install all entries in the list without confirmation
  6. Add old squeeze sources
    $ <in>echo "deb http://mirror.internode.on.net/pub/debian/ squeeze main" | sudo tee -a /etc/apt/sources.list</in>
    $ <in>sudo apt-get update</in>
  7. Install old libqt3-mt for i386
    $ <in>sudo apt-get install libqt3-mt:i386</in>
  8. Install i386 PulseAudio tools
    $ <in> sudo apt-get install osspd-pulseaudio:i386 pulseaudio-utils:i386</in>
  9. Run qtel through padsp
    $ <in>padsp qtel</in> # Or, if linker errors,
    $ <in>LD_PRELOAD="/usr/lib/i386-linux-gnu//pulseaudio/libpulsedsp.so" qtel</in>

EchoLinux from CQiNet


ham/echolinklinux.txt · Dernière modification: 2014-10-30 23:44 par oliviermehani