Search code examples
linuxlinkerversionrsyncshared-objects

rsync: /usr/lib/libpopt.so.0: no version information available (required by rsync)


I got this error when I executed the command "rsync / /tmp".

It seems to be a warning, but still I wanted to eliminate this warning. How do I resolve this?

If it is a version issue in library, how do I know which version of library I have and what it expects


Solution

  • Actually there were two libraries (popt library) being generated in the same location with same version number. This is how the sequence flow happened in my case.

    1) first popt library (libpopt.so.0) is built. 2) rsync is built using the first libpopt.so.0 generated in step(1). 3) Another modified popt library (libpopt.so.0) is built and placed in the same location where the first popt library is generated. 4) Hence rsync uses a particular popt library for building. It tried to use different popt library while running.

    The solution is to remove any of the popt library. I did and it solved the issue.