# pkg_info -W /compat/linux/lib/libcrypto.so.0.9.7f
/compat/linux/lib/libcrypto.so.0.9.7f was installed by package [B]linux-openssl-0.9.7f_2[/B]
# pkg_info | grep openssl
linux-openssl-0.9.7f_2 SSL and crypto library (Linux Version)
php5-openssl-5.3.5 The openssl shared extension for php
# cd /usr/ports/security/linux-openssl
# make deinstall
===> Deinstalling for security/linux-openssl
===> Deinstalling linux-openssl-0.9.7f_2
pkg_delete: package 'linux-openssl-0.9.7f_2' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
linux-flashplugin-9.0r289
# pkg_info | grep openssl
php5-openssl-5.3.5 The openssl shared extension for php
# cd /usr/ports/security/linux-f10-openssl
# make install clean
[B][color="Red"]===> linux-f10-openssl-0.9.8g bsd.linux-rpm.mk test failed: the port should be used with compat.linux.osrelease=2.6.16, which
is supported at 8-CURRENT and has a limited support at 7-STABLE.
*** Error code 1[/color][/B]
Stop in /usr/ports/security/linux-f10-openssl.
francis said:Do You have something like this in /etc/sysctl.conf file?Maybe it will help, but from description of this error, 2.6.16 is not fully supported on 7.x.Code:compat.linux.osrelease=2.6.16
# cat /etc/sysctl.conf
cat: /etc/sysctl.conf: No such file or directory
# cat /etc/sysctl.conf
compat.linux.osrelease=2.6.16
rajid said:Just to clarify for others...
If your kernel doesn't understand this sysctl setting, it's because you need to load the linux compatibility extension first:
kldload linux