linux - Compatibility Issue from centos 5.x to 6.x -


i have rpm compiled in centos 5.x requires libnetsnmp.so.10 , other shared objects. want create rpm of run on centos 6.x fails install on installation says :

error: failed dependencies: libnetsnmp.so.10()(64bit) needed , on...

but centos 6.x contains libnetsnmp.so.20 created symbolic links of libnetsnmp.so.10 of libnetsnmp.so.20. problem still same.

so can please me resolve problem?

if recompiling centos 6 isn't option, can try 2 things, first, install correct libnetsnmp in centos 6 server. if that's not option, can add following rpm spec file:

autoreq: no 

this cause not scan binary dependencies (such dynamically linked libraries), , automatically build rpm.

of course, if version of libnetsnmp required, hosing down road, newer versions work fine.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -