Compilation of Nginx on Solris 10 as 64bit
Edho P Arief
edhoprima at gmail.com
Wed Oct 7 06:27:59 MSD 2009
On Wed, Oct 7, 2009 at 2:40 AM, arin <nginx-forum at nginx.us> wrote:
> Hi All
> I have a problem with compilation of nginx 0.7.62 on solaris 10
> I use the sun studio 12 for compilation
> I constantly have the following error ( with or without pcre support)
>
> ld: fatal: file objs/src/core/nginx.o: wrong ELF class: ELFCLASS64
> ld: fatal: File processing errors. No output written to objs/nginx
> make[1]: *** Error 1
>
> my environment:
> bash-3.00# env
> LDFLAGS= -L/lib/64 -L/usr/sfw/lib/64 -R/usr/sfw/lib/64 -R/lib/64
> HZ=
> TERM=xterm
> SHELL=/usr/local/bin/bash
> OLDPWD=/export/home/arin
> LD_LIBRARY_PATH=/opt/sunstudio12.1/lib:/opt/mysql/mysql/lib:/usr/ccs/lib:/usr/lib:/usr/local/lib:/lib:
> PATH=/opt/sunstudio12.1/bin:/opt/mysql/mysql/bin:/usr/sbin:/usr/bin:/usr/local/bin:.:/usr/ccs/bin:
> MAIL=/var/mail/root
> PWD=/export/home/arin/nginx-0.7.62
> TZ=Europe/Berlin
> SHLVL=1
> HOME=/
> CFLAGS=-m64 -I/usr/local/include -I /usr/local/include/ncurses
> LOGNAME=root
> CC=/opt/sunstudio12.1/bin/cc
> _=/usr/bin/env
>
>
> Dose nginx supports 64bit on solaris ?
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,11617,11617#msg-11617
>
>
>
what's the configure line? last time I tried it needs '--with-cpu-opt=amd64'.
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
More information about the nginx
mailing list