Skip to content

Instantly share code, notes, and snippets.

@garronej
Last active May 30, 2021 10:45
Show Gist options
  • Save garronej/01f0dac45efe9161969a83890c019efa to your computer and use it in GitHub Desktop.
Save garronej/01f0dac45efe9161969a83890c019efa to your computer and use it in GitHub Desktop.
Install speex and speexdsp
aptitude remove libspeex-dev libspeexdsp-dev libspeex1
rm /usr/lib/arm-linux-gnueabihf/libspeex*
use prefix: /usr
Install:
https://github.com/xiph/speexdsp
Install:
https://github.com/xiph/speex
ln -s /usr/local/lib/libspeex* /usr/lib/arm-linux-gnueabihf/
@garronej
Copy link
Author

garronej commented Apr 9, 2018

require:
apt-get install autoconf (=> automake autotools-dev libsigsegv2 m4 )
apt-get install libtool

@garronej
Copy link
Author

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:

  • add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
    during execution
  • add LIBDIR to the 'LD_RUN_PATH' environment variable
    during linking
  • use the '-Wl,-rpath -Wl,LIBDIR' linker flag
  • have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

@garronej
Copy link
Author

✓ pi @ willyPi /usr/local/lib $ sudo apt-get purge libspeex1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaa1 libass5 libavc1394-0 libavresample3 libavutil55 libbs2b0 libdc1394-22 libdca0 libde265-0 libdv4 libdvdnav4 libdvdread4 libebur128-1 libfaad2
libfftw3-double3 libflite1 libgme0 libgstreamer-plugins-bad1.0-0 libiec61883-0 libilmbase12 libkate1 liblilv-0-0 libmjpegutils-2.1-0 libmms0 libmodplug1
libmpcdec6 libmpeg2encpp-2.1-0 libmpg123-0 libmplex2-2.1-0 libofa0 libopencv-core2.4v5 libopencv-flann2.4v5 libopencv-imgproc2.4v5 libopencv-video2.4v5
libopenexr22 libopenmpt0 libpgm-5.2-0 libpostproc54 libraw1394-11 librubberband2 libserd-0-0 libshine3 libsnappy1v5 libsodium18 libsord-0-0 libsoundtouch1
libsoxr0 libsratom-0-0 libssh-gcrypt-4 libswresample2 libswscale4 libtag1v5 libtag1v5-vanilla libtwolame0 libva-drm1 libva-x11-1 libva1 libvdpau-va-gl1
libvdpau1 libvo-aacenc0 libvo-amrwbenc0 libvpx4 libwavpack1 libwayland-egl1-mesa libwebrtc-audio-processing1 libwildmidi-config libwildmidi2 libx264-148
libx265-95 libxvidcore4 libzbar0 libzmq5 libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers va-driver-all vdpau-driver-all
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
gstreamer1.0-libav* gstreamer1.0-plugins-bad* gstreamer1.0-plugins-good* libavcodec57* libavfilter6* libavformat57* libchromaprint1*
libopencv-calib3d2.4v5* libopencv-features2d2.4v5* libopencv-highgui2.4-deb0* libopencv-objdetect2.4v5* libshout3* libspeex1* omxplayer*
0 upgraded, 0 newly installed, 14 to remove and 219 not upgraded.
After this operation, 31.6 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 132551 files and directories currently installed.)
Removing gstreamer1.0-libav:armhf (1.10.4-1) ...
Removing gstreamer1.0-plugins-bad:armhf (1.10.4-1) ...
Removing gstreamer1.0-plugins-good:armhf (1.10.4-1) ...
Removing omxplayer (20170330134343-2) ...
Removing libavfilter6:armhf (7:3.2.10-1
deb9u1+rpt1) ...
Removing libopencv-objdetect2.4v5:armhf (2.4.9.1+dfsg1-2) ...
Removing libopencv-calib3d2.4v5:armhf (2.4.9.1+dfsg1-2) ...
Removing libopencv-features2d2.4v5:armhf (2.4.9.1+dfsg1-2) ...
Removing libopencv-highgui2.4-deb0:armhf (2.4.9.1+dfsg1-2) ...
Removing libshout3:armhf (2.3.1-3) ...
Removing libavformat57:armhf (7:3.2.10-1deb9u1+rpt1) ...
Removing libchromaprint1:armhf (1.4.2-1) ...
Removing libavcodec57:armhf (7:3.2.10-1
deb9u1+rpt1) ...
Removing libspeex1:armhf (1.2rc1.2-1) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
(Reading database ... 132187 files and directories currently installed.)
Purging configuration files for libspeex1:armhf (1.2
rc1.2-1) ...
Purging configuration files for libshout3:armhf (2.3.1-3) ...
✓ pi @ willyPi /usr/local/lib $ sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libaa1* libass5* libavc1394-0* libavresample3* libavutil55* libbs2b0* libdc1394-22* libdca0* libde265-0* libdv4* libdvdnav4* libdvdread4* libebur128-1*
libfaad2* libfftw3-double3* libflite1* libgme0* libgstreamer-plugins-bad1.0-0* libiec61883-0* libilmbase12* libkate1* liblilv-0-0* libmjpegutils-2.1-0*
libmms0* libmodplug1* libmpcdec6* libmpeg2encpp-2.1-0* libmpg123-0* libmplex2-2.1-0* libofa0* libopencv-core2.4v5* libopencv-flann2.4v5*
libopencv-imgproc2.4v5* libopencv-video2.4v5* libopenexr22* libopenmpt0* libpgm-5.2-0* libpostproc54* libraw1394-11* librubberband2* libserd-0-0*
libshine3* libsnappy1v5* libsodium18* libsord-0-0* libsoundtouch1* libsoxr0* libsratom-0-0* libssh-gcrypt-4* libswresample2* libswscale4* libtag1v5*
libtag1v5-vanilla* libtwolame0* libva-drm1* libva-x11-1* libva1* libvdpau-va-gl1* libvdpau1* libvo-aacenc0* libvo-amrwbenc0* libvpx4* libwavpack1*
libwayland-egl1-mesa* libwebrtc-audio-processing1* libwildmidi-config* libwildmidi2* libx264-148* libx265-95* libxvidcore4* libzbar0* libzmq5*
libzvbi-common* libzvbi0* mesa-va-drivers* mesa-vdpau-drivers* va-driver-all* vdpau-driver-all*
0 upgraded, 0 newly installed, 78 to remove and 216 not upgraded.
After this operation, 79.8 MB disk space will be freed.
Do you want to continue? [Y/n] Y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment