cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

confd and libcrypto question

khgrant
Cisco Employee
Cisco Employee

 

Hi,

 

 

I’m going in circles J and cannot start confd due to:

 

 

[config-sol@localhost confd-6.2]$ !840

 

confd --foreground --verbose

 

"Bad configuration: /home/config-sol/confd-6.2/etc/confd/confd.conf:0: cannot dynamically link with libcrypto shared library\n"

 

 

 

When I installed confd and got the error – so I went an installed the libcrypto per below – but still same issue.

 

 

REQUIRED LIBRARIES NOT FOUND

 

 

ConfD requires a version of the libcrypto.so library that could not

 

be found on your system:

 

        libcrypto.so.1.0.0 => not found

The missing library must be installed using exactly the name shown above
to succesfully run ConfD. If you have the correct library version
installed using another name, this problem may be solved by creating a
symbolic link to the installed library with the name ConfD requires.

However, when I try to install that – it is not available. Seems the version is libcrypto.so.6:

[root@localhost ~]# yum install libcrypto.so.1.0.0
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.datto.com
* extras: centos-distro.cavecreek.net
* updates: mirror.net.cen.ct.gov
No package libcrypto.so.1.0.0 available.
Error: Nothing to do
[root@localhost ~]# yum install libcrypto.so.7
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.datto.com
* extras: centos-distro.cavecreek.net
* updates: mirror.net.cen.ct.gov
No package libcrypto.so.7 available.
Error: Nothing to do
[root@localhost ~]# yum install libcrypto.so.6
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.datto.com
* extras: centos-distro.cavecreek.net
* updates: mirror.net.cen.ct.gov
Package openssl098e-0.9.8e-29.el7.centos.3.i686 already installed and latest version
Nothing to do
[root@localhost ~]#

1 ACCEPTED SOLUTION

Accepted Solutions

khgrant
Cisco Employee
Cisco Employee

 

Hi Julie,

 

 

What is your use of ConfD? Is this a specific project driven need for ConfD or are you just experimenting?

 

You can also create a symbolic link with the required name for libcrypto.

 

 

--Nabil

 

View solution in original post

5 REPLIES 5

khgrant
Cisco Employee
Cisco Employee

 

Hi Team,

 

 

Just saw this:

 

 

If you have the correct library version

 

installed using another name, this problem may be solved by creating a

 

symbolic link to the installed library with the name ConfD requires.

 

 

 

In what directory do I create this symbolic link?

 

 

JA

 

khgrant
Cisco Employee
Cisco Employee

 

Hi Julie,

 

 

What is your use of ConfD? Is this a specific project driven need for ConfD or are you just experimenting?

 

You can also create a symbolic link with the required name for libcrypto.

 

 

--Nabil

 

khgrant
Cisco Employee
Cisco Employee

 

 

Under /usr/lib64 run

 

ln -s libcrypto.so.1.0.1e libcrypto.so.1.0.0

 

khgrant
Cisco Employee
Cisco Employee

 

It looks as though the Linux distro has OpenSSL 0.9.8e.  Take a look at section 27.15 of the ConfD User's Guide and the instructions for that.  If you have problems, let me know and I can work through them with you.

 

 

Best regards,

 

Greg Olin

 

khgrant
Cisco Employee
Cisco Employee

 

I used Naom’s symbolic link – worked great.

 

 

 

JA

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: