许久不用就忘记了,现在记下来,免得再忘了 libtool --mode=link gcc -all-static ......... 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/132/showart_55133.html
I want to define the macros in configuer.ac and Makefile.in, so that the system (using the generated configure sript) can detect, which C/C++ compiler (cc, gcc, icc etc.) according to system type (sun, linux, etc) to choose. Anybody has an idea? I just find the online gnu documentations are rather useless for beginners. Thanks a lot.
ports 编译 hal-0.5.11_22 时出现错误,提示: # make ===> hal-0.5.11_22 cannot install: unknown libtool version: 15. *** Error code 1 Stop in /usr/local/ports/sysutils/hal. 有办法解决吗?
我在用lt_dlopenext 的时候,传入.la文件的绝对路径,报告找不到la文件中的.so文件,于是我顺藤摸瓜,发现la所在目录下确实没有.so文件,而编译该库的时候确实生成了.so文件 我查阅了libtools的手册,发现一个奇怪的问题 下面是文档上的例子 burger# libtool --mode=install install -c libhello.la \ /usr/local/lib/libhello.la install -c .libs/libhello.so.0.0 /usr/local/lib/libhello.so....
libtool常见于autoconf/automake,单独用的例子很少,所以我想仔细研究一下,为将来兄弟们看起来方便。 一。libtool的作用 offer a standard procedure for creating shared libraries on different platforms libtool 是一个通用库支持脚本,将使用动态库的复杂性隐藏在统一、可移植的接口中,也就是说,你可以通过如下所示的标准方法,在不同平台上创建并调用动态库,我们可以认为libtool是gcc的一个抽象,也就是说,它包装了g...
我公司一台IBM266服务器在安装WEB服务器时出这个错.提示如下: ===> Installing for mod_php5-5.0.4_2,1 ===> mod_php5-5.0.4_2,1 depends on file: /usr/local/sbin/apxs - found ===> mod_php5-5.0.4_2,1 depends on executable: pkg-config - found ===> mod_php5-5.0.4_2,1 depends on shared library: xml2.5 - found ===> Generating temporary packing list ===> Checking if www/mod_php5 already installed Inst...
[root@localhost native2]# libtool libtool: warning: cannot infer operation mode without MODE-ARGS libtool: you must specify a MODE Try `libtool --help' for more information.
安装libtool1.5,libtool-1.5-sd-11.00.depot 选择mark for install的时候出现提示: The software "libtool,r=1.5,a=HP-UX_B.11.00_700/800,v=" was successfully marked, but it depends on the following software items which could not be found in the source. However, these items may already be in the target. This will be checked during the Analysis Phase: gcc.gcc-SHLIBS 请大家指点如何解决?
今天安装proftpd with mysql,make时遇到如下报错 libtool: link: warning: library `/usr/sfw/mysql/lib/libmysqlclient.la' was moved. libtool: link: warning: library `/usr/sfw/mysql/lib/libz.la' was moved. libtool: link: warning: library `/usr/sfw/mysql/lib/libmysqlclient.la' was moved. libtool: link: warning: library `/usr/sfw/mysql/lib/libz.la' was moved. 相信不少人在安装一些软件时也经常碰到这种情况吧...