Hello,

more likely than not this is not related, but perhaps it gives a hint
in the right direction anyway: on NetBSD there is also an openssl in
the base-system, and one in pkgsrc (NetBSD's equivalent of ports).

In my case, fossil's ./configure could find openssl, but the resulting
binary could not find the .so. This turned out to be a flaw/mismatch
in pkg-config when queried for compiler-/linker-flags.

This was posted here:
https://mail-index.netbsd.org/pkgsrc-users/2014/05/31/msg019783.html

The local hack here was to alter the libssl.pc pkg-config config file,
but it was fixed here:
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=48871

h2h,
Michai

On 11 September 2014 21:06,  <org.fossil-scm.fossil-us...@io7m.com> wrote:
> 'Lo.
>
> The fossil build scripts seem to be unable to find openssl on FreeBSD
> 9.2. It has a choice of the version included with the base system
> (in /usr) or the version available from FreeBSD ports (/usr/local),
> but it can't seem to find either of them.
>
> Is there any way to get it to give more information about why it's
> failing to find them?
>
> $ ./configure --with-openssl=auto
> Host System...x86_64-unknown-freebsd9.2
> Build System...x86_64-unknown-freebsd9.2
> C compiler... cc -g -O2
> C++ compiler... c++ -g -O2
> Build C compiler...cc
> Checking for stdlib.h...ok
> Checking for uint32_t...ok
> Checking for uint16_t...ok
> Checking for int16_t...ok
> Checking for uint8_t...ok
> Checking for pread...ok
> Checking for tclsh...no
> Checking for system ssl...no
> Checking for ssl in /usr/sfw...no
> Checking for ssl in /usr/local/ssl...no
> Checking for ssl in /usr/lib/ssl...no
> Checking for ssl in /usr/ssl...no
> Checking for ssl in /usr/pkg...no
> Checking for ssl in /usr/local...no
> Checking for ssl in /usr...no
> Error: OpenSSL not found. Consider --with-openssl=none to disable HTTPS
> support Try: 'configure --help' for options
>
> $ ./configure --with-openssl=/usr
> ...
> Checking for ssl in /usr...no
> Error: OpenSSL not found. Consider --with-openssl=none to disable HTTPS
> support Try: 'configure --help' for options
>
> $ ./configure --with-openssl=/usr/lib
> ...
> Checking for ssl in /usr/lib...no
> Error: OpenSSL not found. Consider --with-openssl=none to disable HTTPS
> support Try: 'configure --help' for options
>
> $ ./configure --with-openssl=/usr/local
> ...
> Checking for ssl in /usr/local...no
> Error: OpenSSL not found. Consider --with-openssl=none to disable HTTPS
> support Try: 'configure --help' for options
>
> $ ./configure --with-openssl=/usr/local/lib
> ...
> Checking for ssl in /usr/local/lib...no
> Error: OpenSSL not found. Consider --with-openssl=none to disable HTTPS
> support Try: 'configure --help' for options
>
> $ ls /usr/local/lib/libssl.so*
> /usr/local/lib/libssl.so
> /usr/local/lib/libssl.so.8
>
> $ ls /usr/lib/libssl.so*
> /usr/lib/libssl.so
> /usr/lib/libssl.so.6
>
> ... and so on.
>
> M
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to