-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing rtpengine on Centos 6.5 #7
Comments
On CentOS 6.5, I have xmlrpc-c-1.16.24-1210.1840.el6.x86_64 installed and it works just fine with that version. It doesn't have a "libxmlrpc_xmlparse" library though, and I don't see a newer version of xmlrpc-c available in the repository. Note that on my installation, it looks in /usr/lib64/ for .so files, not /usr/lib/ (which is used for 32-bit libs) You can run "ldd" on the compiled rtpengine binary to see where it's trying to pull libraries from, and which ones. |
Hi, Date: Wed, 25 Jun 2014 06:24:00 -0700 On CentOS 6.5, I have xmlrpc-c-1.16.24-1210.1840.el6.x86_64 installed and it works just fine with that version. It doesn't have a "libxmlrpc_xmlparse" library though, and I don't see a newer version of xmlrpc-c available in the repository. Note that on my installation, it looks in /usr/lib64/ for .so files, not /usr/lib/ (which is used for 32-bit libs) You can run "ldd" on the compiled rtpengine binary to see where it's trying to pull libraries from, and which ones. — |
hi Guys Date: Wed, 25 Jun 2014 06:24:00 -0700 On CentOS 6.5, I have xmlrpc-c-1.16.24-1210.1840.el6.x86_64 installed and it works just fine with that version. It doesn't have a "libxmlrpc_xmlparse" library though, and I don't see a newer version of xmlrpc-c available in the repository. Note that on my installation, it looks in /usr/lib64/ for .so files, not /usr/lib/ (which is used for 32-bit libs) You can run "ldd" on the compiled rtpengine binary to see where it's trying to pull libraries from, and which ones. — |
Have you compiled rtpengine yourself on that same system, or did you copy the binary from a different system? |
On the same system, shall I look to recompile again? Date: Wed, 2 Jul 2014 06:33:47 -0700 Have you compiled rtpengine yourself on that same system, or did you copy the binary from a different system? — |
That's what I would suggest. I can't really help much because on my CentOS system, I have a different version of the xmlrpc-c package and it works fine with that. |
Perhaps you have conflicting versions of the xmlrpc-c and the respective devel package? Check the output of rpm -qa | grep xmlrpc |
Hi Richard, Perhaps you have conflicting versions of the xmlrpc-c and the respective devel package? Check the output of rpm -qa | grep xmlrpc — |
This is the exact same version of xmlrpc-c that I have installed, but previously you mentioned that you're trying with a different version ("I have tried with xmlrpc-c-1.25.27 and .28"). Where did that come from? Did you install any libraries from sources other than the package management? |
i tried to look for other versions but when it came to installing these required other dependencies so didn't want to go down that path. Date: Wed, 2 Jul 2014 07:48:45 -0700 This is the exact same version of xmlrpc-c that I have installed, but previously you mentioned that you're trying with a different version ("I have tried with xmlrpc-c-1.25.27 and .28"). Where did that come from? Did you install any libraries from sources other than the package management? — |
I installed it through yum from the official CentOS repo, and no it doesn't contain that file. Here's the status from my system: [root@centos ~]# rpm -qa | grep xmlrpc [root@centos ~]# find / -iname xmltok [root@centos daemon]# ldd rtpengine |
Weird, I wonder why I keep getting; I installed it through yum from the official CentOS repo, and no it doesn't contain that file. Here's the status from my system: [root@centos ~]# rpm -qa | grep xmlrpc xmlrpc-c-c++-1.16.24-1210.1840.el6.x86_64 xmlrpc-c-client-1.16.24-1210.1840.el6.x86_64 xmlrpc-c-client++-1.16.24-1210.1840.el6.x86_64 xmlrpc-c-1.16.24-1210.1840.el6.x86_64 xmlrpc-c-devel-1.16.24-1210.1840.el6.x86_64 [root@centos ~]# [root@centos ~]# find / -iname xmltok [root@centos ~]# [root@centos daemon]# ldd rtpengine
[root@centos daemon]# — |
Yes, that's the correct version. Rtpengine doesn't link to that library directly, it goes by whatever the xmlrpc-c-config script tells it. If you run xmlrpc-c-config client --libs you can see the compile flags it will use for xmlrpc-c. This script comes out of the devel package. It's also possible that it's not the rtpengine binary which links to this lib, but rather one of the other libs (recursive linking/dependency). You can check that by running ldd on the listed library files and see if this xmltok file pops up in one of them. |
Thanks Richard, got it! Yes, that's the correct version. Rtpengine doesn't link to that library directly, it goes by whatever the xmlrpc-c-config script tells it. If you run xmlrpc-c-config client --libs you can see the compile flags it will use for xmlrpc-c. This script comes out of the devel package. It's also possible that it's not the rtpengine binary which links to this lib, but rather one of the other libs (recursive linking/dependency). You can check that by running ldd on the listed library files and see if this xmltok file pops up in one of them. — |
No, that's alright. The version is set automatically in the build scripts, but this only works if you're on a Debian system. We don't have any similar mechanism in place for other systems. |
Hi guys, I have installed rtpengine on centos 6.5, and I now keep getting the error;
rtpengine: error while loading shared libraries: libxmlrpc_xmlparse.so.3: cannot open shared object file: No such file or directory
However I look in /usr/lib/ directories and I see it there.
Which version of xmlrpc should I be using, I have tried with xmlrpc-c-1.25.27 and .28.
Any help appreciated.
Thanks
Jon
The text was updated successfully, but these errors were encountered: