Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2014 22:26:56 -0800
From:      brian <brian@brianwhalen.net>
To:        freebsd-questions@freebsd.org
Subject:   bsd.openssl.Mk problem
Message-ID:  <54A0F430.9040303@brianwhalen.net>

next in thread | raw e-mail | index | archive | help
i have been having a problem with portupgrade -a on a 10.1-i386 system 
that is running pkg that I solved tonight and thought I would pass it along.

I was getting numerous repeats of the below error when I ran portupgrade -a
# portupgrade -a
[Reading data from pkg(8) ... - 54 packages found - done]
make: "/usr/ports/Mk/bsd.openssl.mk" line 98: warning: Couldn't read 
shell's output for "/usr/local/sbin/pkg-static  which -qo 
/usr/local/lib/libcrypto.so || :"

Looking at the file:
:/usr/local/lib # ls -l libcrypto.so*
lrwxr-xr-x  1 root  wheel       14 Aug 21 06:29 libcrypto.so -> 
libcrypto.so.8
-r--r--r--  1 root  wheel  1808842 Aug 21 06:29 libcrypto.so.8

I checked to see if it came from a port, and it seems it didn't.
:/usr/ports # pkg which /usr/local/lib/libcrypto.so
/usr/local/lib/libcrypto.so was not found in the database
:/usr/ports # pkg which /usr/local/lib/libcrypto.so.8
/usr/local/lib/libcrypto.so.8 was not found in the database

At any rate, once I installed the openssl package v 1.0.1_16 and the 
problem no longer appears.

Brian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54A0F430.9040303>