Outils pour utilisateurs

Outils du site


Panneau latéral

Tips

Divers

Projets

Ham Radio

Machines

Research

Privé

Études

ham:echolinklinux

EchoLink under Linux (Debian Jessie amd64)

qtel

  • 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
    $ sudo dpkg --add-architecture i386
    $ sudo apt-get update
  3. Install the packages from the qtel archive
    $ sudo tar xzvf qtel-debian.tgz
    $ sudo dpkg -i *.deb
  4. Let apt repair broken dependencies
    $ sudo apt-get install libc6:i386 libgcc1:i386 libstdc++6:i386
    $ sudo apt-get -f install
  5. Install other missing i386 dependencies
    $ sudo apt-get install apt-file
    $ sudo apt-file update
    $ 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
    $ sudo apt-get -f install
    • 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
    $ echo "deb http://mirror.internode.on.net/pub/debian/ squeeze main" | sudo tee -a /etc/apt/sources.list
    $ sudo apt-get update
  7. Install old libqt3-mt for i386
    $ sudo apt-get install libqt3-mt:i386
  8. Install i386 PulseAudio tools
    $  sudo apt-get install osspd-pulseaudio:i386 pulseaudio-utils:i386
  9. Run qtel through padsp
    $ padsp qtel # Or, if linker errors,
    $ LD_PRELOAD="/usr/lib/i386-linux-gnu//pulseaudio/libpulsedsp.so" qtel

EchoLinux from CQiNet

References

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