libcrypto.so.0.9.8 -> where do I get it?

Hello

I have FreeBSD 7.3-RELEASE-p2 installed and I need libcrypto.so.0.9.8.
In /compat/linux/lib I have libcrypto.so.0.9.7f.
How to upgrade to libcrypto.so.0.9.8?
 
[cmd=]pkg_info -W /compat/linux/lib/libcrypto.so.0.9.7f[/cmd]

That should give you the port that installed it (probably security/linux-f10-openssl, which is currently at version linux-f10-openssl-0.9.8g).
 
  • Thanks
Reactions: ccc
Thx a lot:
Code:
# 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]
It's seems to be security/linux-openssl-> linux-openssl-0.9.7f_2.
 
Thx, but I get this problem on my FreeBSD 7.3:
Code:
# 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.
 
Do You have something like this in /etc/sysctl.conf file?
Code:
compat.linux.osrelease=2.6.16
Maybe it will help, but from description of this error, 2.6.16 is not fully supported on 7.x.
 
  • Thanks
Reactions: ccc
francis said:
Do You have something like this in /etc/sysctl.conf file?
Code:
compat.linux.osrelease=2.6.16
Maybe it will help, but from description of this error, 2.6.16 is not fully supported on 7.x.

Code:
# cat /etc/sysctl.conf
cat: /etc/sysctl.conf: No such file or directory
should I create it?
 
# echo "compat.linux.osrelease=2.6.16" >> /etc/sysctl.conf
# sysctl compat.linux.osrelease=2.6.16
 
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
 
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

The linux compatibility extension is already loaded on my FreeBSD.
 
Back
Top