Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2017 18:05:22 -0400
From:      "jim@ohlste.in" <jim@ohlste.in>
To:        abi <abi@abinet.ru>
Cc:        freebsd-ports@freebsd.org, osa@freebsd.org
Subject:   Re: nginx is not linking against libressl
Message-ID:  <e48ede99-e19b-564f-8e50-e031da128baf@ohlste.in>
In-Reply-To: <62ed08f5-b41d-aa69-e9e8-4a05dd378c90@abinet.ru>
References:  <62ed08f5-b41d-aa69-e9e8-4a05dd378c90@abinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

On 05/07/2017 03:55 PM, abi wrote:
> Hello,
> 
> I tried to upgrade my jail to the latest versions of ports and nginx is 
> not building correctly.
> 
> objs/src/event/ngx_event_openssl.o: In function `ngx_ssl_get_ciphers':
> src/event/ngx_event_openssl.c:(.text+0x3de6): undefined reference to 
> `SSL_CIPHER_find'
> src/event/ngx_event_openssl.c:(.text+0x3e66): undefined reference to 
> `SSL_CIPHER_find'
> cc: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> *** Error code 1

It looks like it should build. I don't have much to add, but I'm going 
to cc the maintainer.

> 
> make.conf
> OPTIONS_UNSET+= DOCS EXAMPLES X11 IPV6
> DEFAULT_VERSIONS+=ssl=libressl
> 
> WRKDIRPREFIX= /var/ports
> DISTDIR= /var/ports/distfiles
> PACKAGES= /var/ports/packages
> INDEXDIR= /usr/ports
> 
> options
> OPTIONS_FILE_UNSET+=DSO
> OPTIONS_FILE_UNSET+=DEBUG
> OPTIONS_FILE_UNSET+=DEBUGLOG
> OPTIONS_FILE_SET+=FILE_AIO
> OPTIONS_FILE_UNSET+=IPV6
> OPTIONS_FILE_UNSET+=GOOGLE_PERFTOOLS
> OPTIONS_FILE_SET+=HTTP
> OPTIONS_FILE_UNSET+=HTTP_ADDITION
> OPTIONS_FILE_UNSET+=HTTP_AUTH_REQ
> OPTIONS_FILE_UNSET+=HTTP_CACHE
> OPTIONS_FILE_UNSET+=HTTP_DAV
> OPTIONS_FILE_UNSET+=HTTP_FLV
> OPTIONS_FILE_UNSET+=HTTP_GEOIP
> OPTIONS_FILE_UNSET+=HTTP_GZIP_STATIC
> OPTIONS_FILE_UNSET+=HTTP_GUNZIP_FILTER
> OPTIONS_FILE_UNSET+=HTTP_IMAGE_FILTER
> OPTIONS_FILE_UNSET+=HTTP_MP4
> OPTIONS_FILE_UNSET+=HTTP_PERL
> OPTIONS_FILE_UNSET+=HTTP_RANDOM_INDEX
> OPTIONS_FILE_UNSET+=HTTP_REALIP
> OPTIONS_FILE_UNSET+=HTTP_REWRITE
> OPTIONS_FILE_UNSET+=HTTP_SECURE_LINK
> OPTIONS_FILE_UNSET+=HTTP_SLICE
> OPTIONS_FILE_SET+=HTTP_SSL
> OPTIONS_FILE_UNSET+=HTTP_STATUS
> OPTIONS_FILE_UNSET+=HTTP_SUB
> OPTIONS_FILE_UNSET+=HTTP_XSLT
> OPTIONS_FILE_UNSET+=MAIL
> OPTIONS_FILE_UNSET+=MAIL_IMAP
> OPTIONS_FILE_UNSET+=MAIL_POP3
> OPTIONS_FILE_UNSET+=MAIL_SMTP
> OPTIONS_FILE_UNSET+=MAIL_SSL
> OPTIONS_FILE_SET+=HTTPV2
> OPTIONS_FILE_UNSET+=NJS
> OPTIONS_FILE_UNSET+=STREAM
> OPTIONS_FILE_UNSET+=STREAM_SSL
> OPTIONS_FILE_UNSET+=STREAM_SSL_PREREAD
> OPTIONS_FILE_UNSET+=THREADS
> OPTIONS_FILE_UNSET+=WWW
> OPTIONS_FILE_UNSET+=AJP
> OPTIONS_FILE_UNSET+=AWS_AUTH
> OPTIONS_FILE_UNSET+=CACHE_PURGE
> OPTIONS_FILE_UNSET+=CLOJURE
> OPTIONS_FILE_UNSET+=CT
> OPTIONS_FILE_UNSET+=ECHO
> OPTIONS_FILE_UNSET+=FASTDFS
> OPTIONS_FILE_UNSET+=HEADERS_MORE
> OPTIONS_FILE_UNSET+=HTTP_ACCEPT_LANGUAGE
> OPTIONS_FILE_UNSET+=HTTP_AUTH_DIGEST
> OPTIONS_FILE_UNSET+=HTTP_AUTH_KRB5
> OPTIONS_FILE_UNSET+=HTTP_AUTH_LDAP
> OPTIONS_FILE_UNSET+=HTTP_AUTH_PAM
> OPTIONS_FILE_UNSET+=HTTP_DAV_EXT
> OPTIONS_FILE_UNSET+=HTTP_EVAL
> OPTIONS_FILE_UNSET+=HTTP_FANCYINDEX
> OPTIONS_FILE_UNSET+=HTTP_FOOTER
> OPTIONS_FILE_UNSET+=HTTP_GEOIP2
> OPTIONS_FILE_UNSET+=HTTP_JSON_STATUS
> OPTIONS_FILE_UNSET+=HTTP_MOGILEFS
> OPTIONS_FILE_UNSET+=HTTP_MP4_H264
> OPTIONS_FILE_UNSET+=HTTP_NOTICE
> OPTIONS_FILE_UNSET+=HTTP_PUSH
> OPTIONS_FILE_UNSET+=HTTP_PUSH_STREAM
> OPTIONS_FILE_UNSET+=HTTP_REDIS
> OPTIONS_FILE_UNSET+=HTTP_RESPONSE
> OPTIONS_FILE_UNSET+=HTTP_SUBS_FILTER
> OPTIONS_FILE_UNSET+=HTTP_TARANTOOL
> OPTIONS_FILE_UNSET+=HTTP_UPLOAD
> OPTIONS_FILE_UNSET+=HTTP_UPLOAD_PROGRESS
> OPTIONS_FILE_UNSET+=HTTP_UPSTREAM_CHECK
> OPTIONS_FILE_UNSET+=HTTP_UPSTREAM_FAIR
> OPTIONS_FILE_UNSET+=HTTP_UPSTREAM_STICKY
> OPTIONS_FILE_UNSET+=HTTP_VIDEO_THUMBEXTRACTOR
> OPTIONS_FILE_UNSET+=HTTP_ZIP
> OPTIONS_FILE_UNSET+=ARRAYVAR
> OPTIONS_FILE_UNSET+=BROTLI
> OPTIONS_FILE_UNSET+=DRIZZLE
> OPTIONS_FILE_UNSET+=DYNAMIC_UPSTREAM
> OPTIONS_FILE_UNSET+=ENCRYPTSESSION
> OPTIONS_FILE_UNSET+=FORMINPUT
> OPTIONS_FILE_UNSET+=GRIDFS
> OPTIONS_FILE_UNSET+=ICONV
> OPTIONS_FILE_UNSET+=LET
> OPTIONS_FILE_UNSET+=LUA
> OPTIONS_FILE_UNSET+=MEMC
> OPTIONS_FILE_UNSET+=MODSECURITY
> OPTIONS_FILE_UNSET+=NAXSI
> OPTIONS_FILE_UNSET+=PASSENGER
> OPTIONS_FILE_UNSET+=POSTGRES
> OPTIONS_FILE_UNSET+=RDS_CSV
> OPTIONS_FILE_UNSET+=RDS_JSON
> OPTIONS_FILE_UNSET+=REDIS2
> OPTIONS_FILE_UNSET+=RTMP
> OPTIONS_FILE_UNSET+=SET_MISC
> OPTIONS_FILE_UNSET+=SFLOW
> OPTIONS_FILE_UNSET+=SHIBBOLETH
> OPTIONS_FILE_UNSET+=SLOWFS_CACHE
> OPTIONS_FILE_UNSET+=SMALL_LIGHT
> OPTIONS_FILE_UNSET+=SRCACHE
> OPTIONS_FILE_UNSET+=X11
> OPTIONS_FILE_UNSET+=XSS
> 
> Anyone has the same problem?
> 
-- 
Jim Ohlstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e48ede99-e19b-564f-8e50-e031da128baf>