Dear Cesáreo,

you are using an unreleased version, so probably the documentation is 
not yet as good as it should be.
However, one should use during configure (or autogen.sh) the flag 
"--with-openssl" where one can
provide the path the the openssl includes and library.

The configure script tries first to use "pkg-config" to check for the 
location of openssl,
which should be provided on most systems. Actually, only in cases, where no
"pkg-config" is available, or when alternate implementations should be 
used,
it is necessary to provide the path after --with-openssl".

When OpenSSL is installed via MacPorts, everything works out of the box 
(El Capitan 10.11.5)

best regards
-gustaf neumann

Am 12.07.16 um 17:34 schrieb Cesáreo García Rodicio:
> Hi
>
> I had a minor error building naviserver on mac OSX[1] with openssl
> libraries installed with brew[2]. There is some issues regarding using
> openssl with OS X El Capitan[3].
>
> To resolve that, I think there are two options :
>   1. Define environment variable on NS install script [4]
>   2. Force a public link[5] in your system
>
> I didn't have this error before naviserver merged nssl (great idea!) so
> just to notice that.
>
> Regards,
> Cesáreo
>
> --------------------------
> [1] uname -a
> Darwin host 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST
> 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
> [2] http://brew.sh/
> [3] https://solitum.net/openssl-os-x-el-capitan-and-brew/
> [4] Add environmental flags
> export LDFLAGS="-L/usr/local/opt/openssl/lib"
> export CPPFLAGS="-I/usr/local/opt/openssl/include"
> [5] Force links
> $ cd /usr/local/include
> $ ln -s ../opt/openssl/include/openssl .
>


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to