Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2016 20:08:31 -0700
From:      Lewis Butler <gkreme@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   [Solved?] Re: pkg 1.9.4
Message-ID:  <028983C3-14C1-4112-9D38-17E8C6D5BC49@gmail.com>
In-Reply-To: <EC956550-0E62-4FC6-BC0B-C36DD194946E@gmail.com>
References:  <EC956550-0E62-4FC6-BC0B-C36DD194946E@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09 Dec 2016, at 17:43, Lewis Butler <gkreme@gmail.com> wrote:
> Got this when trying to update to pkg-1.9.4
>=20
> /bin/sh ../libtool  --tag=3DCC   --mode=3Dcompile cc -DHAVE_CONFIG_H =
-I. -I..    -I../compat -DWITH_SSL -Wno-pointer-sign -shared -O2 -pipe  =
-Wno-error -fstack-protector -fno-strict-aliasing -Wall =
-Wno-unused-function -D_BSD_SOURCE -DINET6=3D1 -MT =
libfetch/libfetch_la-common.lo -MD -MP -MF =
libfetch/.deps/libfetch_la-common.Tpo -c -o =
libfetch/libfetch_la-common.lo `test -f 'libfetch/common.c' || echo =
'./'`libfetch/common.c
> libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../compat -DWITH_SSL =
-Wno-pointer-sign -O2 -pipe -Wno-error -fstack-protector =
-fno-strict-aliasing -Wall -Wno-unused-function -D_BSD_SOURCE -DINET6=3D1 =
-MT libfetch/libfetch_la-common.lo -MD -MP -MF =
libfetch/.deps/libfetch_la-common.Tpo -c libfetch/common.c  -fPIC -DPIC =
-o libfetch/.libs/libfetch_la-common.o
> libfetch/common.c:52:10: fatal error: 'openssl/x509v3.h' file not =
found
> #include <openssl/x509v3.h>

I created the directory /usr/include/openssl/

cd /usr/include/openssl
ln -s /usr/local/include/openssl/* .

then I was able to make pkg. Not sure why, but =
/usr/local/library/openssl seemed to be where openssl was installed but =
the packages are looking for /usr/library/openssl.

I'm sure this is not the preferred way to do this.

There is also an openssl-1.0.1p folder in /usr/include/ with rather old =
files in it. I plan on moving it aside and seeing what happens.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?028983C3-14C1-4112-9D38-17E8C6D5BC49>