From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2smp i686; en-US; 0.7)
Description of problem:
When installing libtermcap, the symbolic link is not created for
libtermcap.so.2. Any program linked with -l termcap needs libtermcap.so.2
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -i libtermcap-2.0.8-26.rpm
2. rpm -i libtermcap-devel-2.0.8-26.rpm
Actual Results: There is no libtermcap.so.2
Expected Results: libtermcap.so.2 should have been created
I have patched the specfile in libtermcap-2.0.8-26-src.rpm to create the
symbolic link upon installation. When RedHat linux 7.1 is installed on a
normal x86 system, the symlink gets created somewhere else, but is not
created by installing the libtermcap rpm. I found the problem when
cross-compiling for the ARM platform.
A patch for the specfile is attached to this bug report.
Created attachment 31094 [details]
patch file that implement fix
Setting those symlinks is ldconfig's job (and ldconfig is called from %post).
If it doesn't work for your cross-compiler, your cross compilation environment
is broken (check your ldconfig).