How to solve a dependency issue with Edge Private Cloud 4.17.01 Installation - Requires: libdb_cxx-4.8.so()(64bit)

Not applicable

Below is the Standard Output log:

(...)
--> Processing Dependency: libdb_cxx-4.8.so()(64bit) for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64 (apigee-thirdparty)
Requires: libdb_cxx-4.8.so()(64bit)
Error: Package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64 (apigee-thirdparty)
Requires: db4
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1

$ sudo yum list installed libdb*
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Installed Packages
libdb.x86_64 5.3.21-19.el7 @anaconda/7.2
libdb-utils.x86_64

I had a similar error with 4.16.01, but that version of Edge required a newer package libdb-cxx-5.3 and I was able to fix it by running:

rpm -ivh ftp://rpmfind.net/linux/centos/7.2.1511/os/x86_64/Packages/libdb-cxx-5.3.21-19.el7.x86_64.rpm

But for 4.17.01 I get error when I try to install it manually:

rpm -ivh ftp://195.220.108.108/linux/sourceforge/s/sl/sl7-i686-project/yum/FEDOREL7/FULLMISSING/libdb4-cxx-4....

Retrieving ftp://195.220.108.108/linux/sourceforge/s/sl/sl7-i686-project/yum/FEDOREL7/FULLMISSING/libdb4-cxx-4....

error: Failed dependencies:
libc.so.6 is needed by libdb4-cxx-4.8.30-11.el7.i686
libc.so.6(GLIBC_2.0) is needed by libdb4-cxx-4.8.30-11.el7.i686
libc.so.6(GLIBC_2.1) is needed by libdb4-cxx-4.8.30-11.el7.i686
libc.so.6(GLIBC_2.1.3) is needed by libdb4-cxx-4.8.30-11.el7.i686
libc.so.6(GLIBC_2.15) is needed by libdb4-cxx-4.8.30-11.el7.i686
libc.so.6(GLIBC_2.17) is needed by libdb4-cxx-4.8.30-11.el7.i686
libc.so.6(GLIBC_2.2) is needed by libdb4-cxx-4.8.30-11.el7.i686
libc.so.6(GLIBC_2.3) is needed by libdb4-cxx-4.8.30-11.el7.i686
libc.so.6(GLIBC_2.3.4) is needed by libdb4-cxx-4.8.30-11.el7.i686
libc.so.6(GLIBC_2.4) is needed by libdb4-cxx-4.8.30-11.el7.i686
libdb4(x86-32) = 4.8.30-11.el7 is needed by libdb4-cxx-4.8.30-11.el7.i686
libgcc_s.so.1 is needed by libdb4-cxx-4.8.30-11.el7.i686
libgcc_s.so.1(GCC_3.0) is needed by libdb4-cxx-4.8.30-11.el7.i686
libm.so.6 is needed by libdb4-cxx-4.8.30-11.el7.i686
libpthread.so.0 is needed by libdb4-cxx-4.8.30-11.el7.i686
libpthread.so.0(GLIBC_2.0) is needed by libdb4-cxx-4.8.30-11.el7.i686
libpthread.so.0(GLIBC_2.1) is needed by libdb4-cxx-4.8.30-11.el7.i686
libpthread.so.0(GLIBC_2.2) is needed by libdb4-cxx-4.8.30-11.el7.i686
libpthread.so.0(GLIBC_2.3.2) is needed by libdb4-cxx-4.8.30-11.el7.i686
libstdc++.so.6 is needed by libdb4-cxx-4.8.30-11.el7.i686
libstdc++.so.6(CXXABI_1.3) is needed by libdb4-cxx-4.8.30-11.el7.i686
libstdc++.so.6(GLIBCXX_3.4) is needed by libdb4-cxx-4.8.30-11.el7.i686
libstdc++.so.6(GLIBCXX_3.4.9) is needed by libdb4-cxx-4.8.30-11.el7.i686

--SF1363125--

Solved Solved
3 21 1,681
1 ACCEPTED SOLUTION

Not applicable

Hi there!

You need to enable EPEL repo to get the above dependencies resolved. Please use the below commands to achieve the same:

For RedHat/CentOS 7.x: > wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; rpm -ivh epel-release-latest-7.noarch.rpm

For RedHat/CentOS 6.x: wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm; rpm -ivh epel-release-latest-6.noarch.rpm

Thanks,

Archendra

View solution in original post

21 REPLIES 21

Not applicable

Hi there!

You need to enable EPEL repo to get the above dependencies resolved. Please use the below commands to achieve the same:

For RedHat/CentOS 7.x: > wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; rpm -ivh epel-release-latest-7.noarch.rpm

For RedHat/CentOS 6.x: wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm; rpm -ivh epel-release-latest-6.noarch.rpm

Thanks,

Archendra

Thank you @archendra & @Arjav Goswami . I just came across the issue & this post solved same. @docs , @sgilson , Can we update docs here with a link to this post as a note for 4.17.01 version ? Thank you.

@Anil Sagar added it as a step on this page.

Stephen

Awesome, Thanks @sgilson

Under CentOS you can also yum -y install epel-release from the official repos.

Thank you @archendra @Arjav Goswami @Maruti Chand

We hit the exact same snag during our private OPDK upgrade to 17.01. But as always @Maruti Chand was able to look it up and find a solution.


We had a conflict with the previous installed epel version while installing the latest epel rpm as mentioned above. Therefore, we removed the previous epel version and it was smooth ride from thereon.



Also note, that for RHEL7 installs, the rhel-7-server-optional-rpms repo MUST also be enabled, as well as the EPEL repo.

Not applicable

@archendra @Arjav Goswami @Maruti Chand

We are installing Edge 4.17.01 (AIO) on our private cloud with Centos 7.2, as root user and getting error on running following command:

> /opt/apigee/apigee-setup/bin/setup.sh -p aio -f /opt/myConfigStandalone.txt

Following is the error:

Error: Package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64 (apigee-thirdparty)
Requires: libdb_cxx-4.8.so()(64bit)
Error: Package: qpid-cpp-client-1.35.0-1.el7.x86_64 (apigee-thirdparty)
Requires: boost
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1

We tried enabling EPEL repo as mentioned in the following link:

http://docs.apigee.com/private-cloud/latest/install-edge-apigee-setup-utility

by running:

> wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm;

> rpm -ivh epel-release-latest-7.noarch.rpm

But still we are getting the same error related to :

- libdb_cxx-4.8.so()(64bit), and

- boost

@Sanjay Negi -Can you provide the output of the following command run -

> rpm -ivh epel-release-latest-7.noarch.rpm.

Make sure its not conflicting with the previous installed epel.

[ec2-user@ip-172-31-2-152 ~]$ sudo rpm -ivh epel-release-latest-7.noarch.rpm 
Preparing...                          ################################# [100%]
package epel-release-7-9.noarch is already installed

Can you remove the already installed epel package using this command -

rpm -e epel-release-7-9.noarch

Re-run -

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm;

rpm -ivh epel-release-latest-7.noarch.rpm

Try your installation now.

[ec2-user@ip-172-31-2-152 ~]$ sudo rpm -ivh epel-release-latest-7.noarch.rpm 
Preparing...                          ################################# [100%]
Updating / installing...
   1:epel-release-7-9                 ################################# [100%]

No luck. still the same error.

It seems you have a previous version of epel installed in the machine. I suggest you doing this :

yum remove epel-release

rpm -qa | grep libdb_cxx .( This shouldn't show up any libdb)

and then do :

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm;

rpm -ivh epel-release-latest-7.noarch.rpm

yum install apigee-qpidd.

Please paste the error if it still fails.

You can also resolve the libdb_cxx from here in case previous suggestions doesn't work..

wget ftp://rpmfind.net/linux/centos/7.3.1611/os/x86_64/Packages/libdb-cxx-5.3.21-19.el7.x86_64.rpm

rpm -ivh /libdb-cxx-5.3.21-19.el7.x86_64.rpm

and then proceed with your installation

@Rajesh Mishra, @Mudit Kumar

I am also facing a similar issue while trying to install Apigee Qpid in our testing environment and would appreciate your assistance. I am trying to install 4.16.09 first (which will then be upgraded to 4.8.01) - this is because need to upgrade our production our production from 4.16.09 to 4.18.01 - and want to simulate this in test env first - hence the lower version install!

Note that installation of ZK, Cassandra and Management Server (incl UI and LDAP) went through on identical environment without any issues.

OS version RHEL 7.4

I followed these steps

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm
yum install yum-utils
yum install yum-plugin-priorities

Also installed libdb_cxx_5.3

===========
[root@WDST2VAPG16 ~]# rpm -qa | grep libdb
libdb-utils-5.3.21-20.el7.x86_64
libdb4-4.8.30-13.el7.x86_64
libdb4-utils-4.8.30-13.el7.x86_64
libdb-cxx-5.3.21-20.el7.x86_64
libdb-5.3.21-20.el7.x86_64
libdb-5.3.21-20.el7.i686
libdb4-cxx-4.8.30-13.el7.x86_64
===========

However, still get this error when running the install of Qpid

--> Finished Dependency Resolution
Error: Package: qpid-cpp-server-0.28-6.el7.centos.x86_64 (apigee-thirdparty)
Requires: libqpid-proton.so.2()(64bit)
Available: qpid-proton-c-0.7-4.el7.centos.x86_64 (apigee-thirdparty)
libqpid-proton.so.2()(64bit)
Available: qpid-proton-c-0.14.0-1.el7.x86_64 (apigee-thirdparty)
~libqpid-proton.so.8()(64bit)
Installing: qpid-proton-c-0.21.0-3.el7.x86_64 (apigee-thirdparty)
~libqpid-proton.so.11()(64bit)
Error: Package: qpid-cpp-client-rdma-0.28-6.el7.centos.x86_64 (apigee-thirdparty)
Requires: qpid-cpp-client(x86-64) = 0.28-6.el7.centos
Available: qpid-cpp-client-0.28-6.el7.centos.x86_64 (apigee-thirdparty)
qpid-cpp-client(x86-64) = 0.28-6.el7.centos

Full list of errors is attached for further details.

qpid-install-error.txt

Thanks,
Navin

Same here, I'm still stuck at the same point.
OS: RHEL 7.3
Error log:

Service setup apigee-qpidd
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package apigee-qpidd.noarch 0:4.17.01-0.0.796 will be installed
--> Processing Dependency: qpid-tools >= 1.35.0 for package: apigee-qpidd-4.17.01-0.0.796.noarch
--> Processing Dependency: qpid-qmf >= 1.35.0 for package: apigee-qpidd-4.17.01-0.0.796.noarch
--> Processing Dependency: qpid-cpp-server-linearstore >= 1.35.0 for package: apigee-qpidd-4.17.01-0.0.796.noarch
--> Processing Dependency: qpid-cpp-server >= 1.35.0 for package: apigee-qpidd-4.17.01-0.0.796.noarch
--> Running transaction check
---> Package qpid-cpp-server.x86_64 0:1.35.0-3.el7 will be installed
--> Processing Dependency: cyrus-sasl for package: qpid-cpp-server-1.35.0-3.el7.x86_64
---> Package qpid-cpp-server-linearstore.x86_64 0:1.35.0-3.el7 will be installed
--> Processing Dependency: libdb_cxx-5.3.so()(64bit) for package: qpid-cpp-server-linearstore-1.35.0-3.el7.x86_64
---> Package qpid-qmf.x86_64 0:1.35.0-3.el7 will be installed
---> Package qpid-tools.noarch 0:1.35.0-3.el7 will be installed
--> Processing Dependency: python-qpid-qmf = 1.35.0-3.el7 for package: qpid-tools-1.35.0-3.el7.noarch
--> Running transaction check
---> Package cyrus-sasl.x86_64 0:2.1.26-20.el7_2 will be installed
---> Package python-qpid-qmf.x86_64 0:1.35.0-3.el7 will be installed
---> Package qpid-cpp-server-linearstore.x86_64 0:1.35.0-3.el7 will be installed
--> Processing Dependency: libdb_cxx-5.3.so()(64bit) for package: qpid-cpp-server-linearstore-1.35.0-3.el7.x86_64
--> Finished Dependency Resolution
Error: Package: qpid-cpp-server-linearstore-1.35.0-3.el7.x86_64 (epel)
           Requires: libdb_cxx-5.3.so()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1

yes, we had this problem, too. @rajeshmishra can you respond to this question?

I believe the solution was to simply install the RPM containing libdb_cxx_5.3.so manually. I don't know why the EPEL was not offering that RPM.

(ps: this is a new question. Related, but new. In the future Please ask new questions with the "Ask a Question" button rathere than posting your question as an answer.)

I thought it would be good to have it under one question. However, I agree with you. For now, I'm keeping it here. Appriciate your assistance @Dino

it seems you have a previous version of epel installed in the machine. I suggest you doing this :

yum remove epel-release

rpm -qa | grep libdb_cxx .( This shouldn't show up any libdb)

and then do :

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm;

rpm -ivh epel-release-latest-7.noarch.rpm

yum install apigee-qpidd.

Please paste the error if it still fails.

You can also resolve the libdb_cxx from here in case previous suggestions doesn't work..

wget ftp://rpmfind.net/linux/centos/7.3.1611/os/x86_64/Packages/libdb-cxx-5.3.21-19.el7.x86_64.rpm

rpm -ivh /libdb-cxx-5.3.21-19.el7.x86_64.rpm

and then proceed with your installation

Thanks @rajeshmishra. It solved package dependency issue. I had to install `libdb_cxx` separately and then continue with the installation. Now I've gone into another issue. Let post it as a separate question as @Dino suggested. Here is the link to the question, https://community.apigee.com/questions/40756/apigee-aio-installation-fails-with-no-attribute-en.html

Thanks, Rajesh!

Not applicable

On rhel 7 without direct internet access:

Download

libdb4-4.8.30-13.el7.x86_64.rpm

libdb4-cxx-4.8.30-13.el7.x86_64.rpm

from https://mirror.aarnet.edu.au/pub/epel/7/x86_64/l/

install with rpm -i

These packages really should be in the apigee_thirdparty repo. And they should be signed.