bugreport: --with-ld-opt broken in some cases

Konstantin Sorokin kvs at sigterm.ru
Wed Jul 19 18:09:58 MSD 2006


On Wed, Jul 19, 2006 at 05:51:57PM +0400, Sergey A. Osokin wrote:
> Добрый день,
> 
> On Wed, Jul 19, 2006 at 05:02:51PM +0400, Konstantin Sorokin wrote:
> > Приветствую.
> > 
> > Если собирать nginx 0.3.54 с такими опциями ./configure:
> > 
> > ./configure \
> > --without-http_charset_module \
> > --without-http_ssi_module \
> > --without-http_access_module \
> > --without-http_geo_module \
> > --without-http_auth_basic_module \
> > --without-http_rewrite_module \
> > --without-http_gzip_module \
> > --without-http_proxy_module \
> > --without-http_fastcgi_module \
> > --without-http_memcached_module \
> > --without-http_userid_module \
> > --with-cc-opt="-I/usr/local/include/db43" \
> > --with-ld-opt="-L/usr/local/lib/db43 -ldb"
> > 
> > то не происходит линковка внешней либы (BDB в данном случае). А если убрать
> > из опций ./configure --without-http_gzip_module, то внешняя либа линкуется
> > нормально.
> 
> Хм, а что если указать в качестве библиотеки libdb-4.3 (в том случае
> если речь идёт о FreeBSD и Berkeley DB версии 4.3 установлена из портов)?
> 

Да, речь идет о FreeBSD (6.1p2) и BerkeleyDB поставлена из портов. Только
какая разница, как указывать ? Ведь во втором случае все нормально
линкуется.

-- 
Konstantin Sorokin





More information about the nginx-ru mailing list