LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install librsync on RHEL 7 (https://www.linuxquestions.org/questions/linux-newbie-8/install-librsync-on-rhel-7-a-4175545425/)

brdai2008 06-15-2015 03:58 PM

Install librsync on RHEL 7
 
Hi folks,

We have RHEL 7 and we need to get librsync installed.

Would you guys be able to help us?

When we try installing an application, we receive the following error:

checking librsync.h usability... no
checking librsync.h presence... no
checking for librsync.h... no
checking for rs_delta_begin in -lrsync... no
Please install librsync

If we check with RPM, we get the following:

[root@localhost src]# rpm -q librsync
librsync-1.0.0-1.el5.x86_64


Any help would be much appreciated .

Thanks

suicidaleggroll 06-15-2015 04:20 PM

yum install librsync-devel

The -devel version includes the header files required to compile code that uses the library.

brdai2008 06-15-2015 04:21 PM

Thanks,

Here is the result:

[root@localhost burp]# yum install librsync-devel
Loaded plugins: langpacks, product-id, subscription-manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
No package librsync-devel available.
Error: Nothing to do

suicidaleggroll 06-15-2015 04:22 PM

Looks like you've turned off updates for your system, effectively killing yum. Any particular reason why?

brdai2008 06-15-2015 04:23 PM

No, never updated that.

How can I change it ?

suicidaleggroll 06-15-2015 04:25 PM

The error message says to use subscription-manager, so I would start there.

brdai2008 06-15-2015 04:39 PM

Fixed that and now this is what we get:

[root@localhost burp]# yum install librsync-devel
Loaded plugins: langpacks, product-id, subscription-manager
No package librsync-devel available.
Error: Nothing to do

suicidaleggroll 06-15-2015 04:50 PM

It looks like librsync is in epel. I assumed since you have librsync that you had already added the epel repository, is this not the case? How did you get librsync?


All times are GMT -5. The time now is 01:05 AM.