简体   繁体   English

配置:错误:找不到GNU libltdl(Libtool),请参阅自述文件

[英]configure: error: GNU libltdl (Libtool) not found, see README

I'm trying to install GNU Guile so that I can later install Guix. 我正在尝试安装GNU Guile,以便以后可以安装Guix。 My environment is pretty locked down, but they do allow us build tools. 我的环境相当有限,但是它们确实允许我们构建工具。 I've been trying to get pianobar installed for the past few days, and it works, but I get the output "Cannot Open Audio Device". 在过去的几天里,我一直在尝试安装ianobar,它可以正常工作,但是输出为“ Cannot Open Audio Device”。 I have to compile libao-pulse, which requires Guile, but no matter what arguments I pass to the configure script, it always ends on configure: error: GNU libltdl (Libtool) not found, see README. 我必须编译libao-pulse,这需要Guile,但是无论我将什么参数传递给configure脚本,它总是以configure: error: GNU libltdl (Libtool) not found, see README.结束configure: error: GNU libltdl (Libtool) not found, see README.

I've tried setting LD_LIBRARY_PATH, LD_FLAGS, CFLAGS, and several others, but I can't seem to get it to get past this step. 我尝试设置LD_LIBRARY_PATH,LD_FLAGS,CFLAGS和其他几个设置,但似乎无法通过此步骤。

My build environment looks like this: 我的构建环境如下所示:

├── ~/local
   ├── bin
   ├── build
   ├── include
   ├── lib
   └── share

I have environment variables ($PREFIX, $build, and $PATH) set to reflect this setup. 我设置了环境变量($ PREFIX,$ build和$ PATH)来反映此设置。

What am I doing wrong? 我究竟做错了什么?

config.log: https://gist.github.com/ijustlovemath/e197ee17db459ab46c1a config.log: https//gist.github.com/ijustlovemath/e197ee17db459ab46c1a

The telling lines from your log are these: 您的日志中的告诉行如下:

 configure:44552: checking for libltdl configure:44574: gcc -o conftest -g -O2 -I/home/redacted/local/include -L/home/redacted/local/lib conftest.c /home/redacted/local/lib/libltdl.so -L/usr/lib /usr/lib/libdl.so -Wl,-rpath -Wl,/home/redacted/local/lib -Wl,-rpath -Wl,/usr/lib >&5 /usr/lib/libdl.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status 

That is the only place in your config.log that mentions /usr/lib/libdl.so . 这是你的唯一的地方config.log是提到/usr/lib/libdl.so My hunch is that your local copy of libtool is misconfigured. 我的直觉是您的libtool本地副本配置错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM