This is a brew thing not a naviserver thing - you'll run into variants of
this problem with any software that needs openssl to compile (+ OS X +
brew). In general you can force brew to link libraries that conflict with
the system using the command "brew link", but it can cause things to break.

I don't think this is something that naviserver should concern itself with
- brew produces an explanatory warning when openssl is installed,
reproduced below:

This formula is keg-only, which means it was not symlinked into /usr/local.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto
libraries

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include

Hope that helps - zofrex (this line is not part of the brew output)

On 14 July 2016 at 16:48, Gustaf Neumann <neum...@wu.ac.at> wrote:

> Am 14.07.16 um 16:30 schrieb Cesáreo García Rodicio:
> > Hi
> >
> > So, using --with-openssl $PATH is another option. I'll try next time.
> if one is using "hg pull"  + "hg update" without running
> autogen/configure, one is seeing
> exactly the symptoms you have described
> > Problem came from using brew to install openssl (instead of macports)
> "brew" should as well maintain for its installed packages "pkg-config".
> You can try to call "pkg-config" manually on your system by issuing
> "pkg-config --libs openssl". If you see reasonable output, you do not
> have to specify "--with-openssl" in the configure command-line at all.
>
> if you have to use this flag, the syntax is the same as for all
> configure flags, namely e.g. "--with-openssl=/opt/local/"
>
> -gn
> PS: maybe you have to install pkg-config manually:
> http://brewformulas.org/pkg-config
> >
> > Thanks
> > Cesáreo
> >
> > El 13/julio/16 a las 15:05, Gustaf Neumann escribió:
> >> 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
> >>
> >
> ------------------------------------------------------------------------------
> > 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
>
>
> --
> Univ.Prof. Dr. Gustaf Neumann
> WU Vienna
> Institute of Information Systems and New Media
> Welthandelsplatz 1, A-1020 Vienna, Austria
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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