2011年5月23日星期一

Libtool library used but `LIBTOOL' is undefined

Install HandlerSocket 时,报如下错误:

handlersocket/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined


(Solution) Libtool library used but `LIBTOOL' is undefined这里有提到类似的问题,解决办法很简单,合并文件后,删除多余的,然后创建一符号链接。

This is caused because FreeBSD renames the default tools, like aclocal to aclocal19. When aclocal is run, it looks for files in its FreeBSD set directory,
/usr/local/share/aclocal19 but most normal apps, like libtool, install to /usr/local/share/aclocal. The solution? Simple! Just merge the contents into one
directory, delete the other, and create a symlink!

当然,也可以直接:
[bash]
cp -R /usr/local/share/aclocal /usr/share/
[/bash]

没有评论:

发表评论