linux c 库文件

undefined reference to `dlsym'
解决方法:
-ldl
configure: No package 'glib-2.0' found
解决方法:
sudo apt-get install libglib2.0-dev
configure: error: Could not find bison
解决方法:
sudo apt-get install bison
cd . && /bin/bash /home/song/work/gxai/libs/gstreamer-1.14.1/missing automake-1.15 --gnu
/home/song/work/gxai/libs/gstreamer-1.14.1/missing: line 81: automake-1.15: command not found
WARNING: 'automake-1.15' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:673: recipe for target 'Makefile.in' failed
make: *** [Makefile.in] Error 1

解决方法:
$sudo apt-get install automake
$autoupdate
ALSA lib conf.c:3545:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so (/usr/lib/alsa-lib/libasound_module_conf_pulse.so: libasound_module_conf_pulse.so: cannot open shared object file: No such file or directory)
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM default
unable to open pcm device: No such file or directory

解决方法:
64位
$sudo apt-get install --reinstall libasound2:amd64 libasound2-plugins:amd64
32位
$sudo apt-get install --reinstall libasound2:i386 libasound2-plugins:i386

sudo cp -rf /usr/lib/i386-linux-gnu/alsa-lib /usr/lib

猜你喜欢

转载自blog.csdn.net/u013420428/article/details/81604627