Date: Mon, 12 Dec 2016 12:05:17 +0100 From: "Herbert J. Skuhra" <herbert@mailbox.org> To: freebsd-ports@freebsd.org Cc: Lewis Butler <gkreme@gmail.com> Subject: Re: [Solved?] Re: pkg 1.9.4 Message-ID: <86oa0hcsr6.wl-herbert@mailbox.org> In-Reply-To: <028983C3-14C1-4112-9D38-17E8C6D5BC49@gmail.com> References: <EC956550-0E62-4FC6-BC0B-C36DD194946E@gmail.com> <028983C3-14C1-4112-9D38-17E8C6D5BC49@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Lewis Butler skrev: > > On 09 Dec 2016, at 17:43, Lewis Butler <gkreme@gmail.com> wrote: >> Got this when trying to update to pkg-1.9.4 >> >> /bin/sh ../libtool --tag=CC --mode=compile 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=1 -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=1 -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/* . You'd better undo this and run 'make buildworld' and 'make installworld' to cleanup the mess. > 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. You can try to rename the directory back to openssl and see if 'freebsd-update fetch install' will update the files. If not remove it and do the above. -- Herbert
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86oa0hcsr6.wl-herbert>