Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ошибка при компиляции с image filter module (libgd стоит!)
- To: nginx-ru@xxxxxxxxx
- Subject: Ошибка при компиляции с image filter module (libgd стоит!)
- From: "MaxNikitin" <nginx-forum@xxxxxxxx>
- Date: Sun, 29 Sep 2013 04:08:15 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=helium.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=5Oe9ijJLjJcRpeDhaLXkJt6QZvYwJLx08xS3rmq9lOY=; b=pK8jp7HLWNeAeeWxB5RTX0Hii10rQ2DX9gOR78wDWJB//07Nvf1FhQjp39NfLvlNZDQBxF6q6mwBtwPdvsy0N0oAsGworOQ3XHil2/zHZIpRgJX47Kn/tgHkurfRQ3qCxhbKu4OLPuuSj/2INQEEzW/v0KoldnzGUIMsfyBzpZs=;
Здравствуйте. Скачал последнюю версию libgd (2.1.0), скомпилировал
(настройки по умолчанию), запускаю ./configire
--with-http_image_filter_module (версия исходников nginx - 1.5.5) - ошибок
не выдает (checking for GD library ... found), однако, при запуске make
вылезает ошибка:
objs/ngx_modules.o -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lz -lgd
objs/src/http/modules/ngx_http_image_filter_module.o: In function
`ngx_http_image_source':
/root/nginx2/src/http/modules/ngx_http_image_filter_module.c:1030: undefined
reference to `gdImageCreateFromJpegPtr'
/root/nginx2/src/http/modules/ngx_http_image_filter_module.c:1040: undefined
reference to `gdImageCreateFromPngPtr'
objs/src/http/modules/ngx_http_image_filter_module.o: In function
`ngx_http_image_out':
/root/nginx2/src/http/modules/ngx_http_image_filter_module.c:1106: undefined
reference to `gdImageJpegPtr'
/root/nginx2/src/http/modules/ngx_http_image_filter_module.c:1116: undefined
reference to `gdImagePngPtr'
collect2: ld returned 1 exit status
Что я не так делаю?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,243240,243240#msg-243240
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|