rpm build scripts use the binary file as dependency rather than the package 
name where the binary is in
-------------------------------------------------------------------------------------------------------

                 Key: CORE-3803
                 URL: http://tracker.firebirdsql.org/browse/CORE-3803
             Project: Firebird Core
          Issue Type: Bug
          Components: Installation
    Affects Versions: 2.5.1
         Environment: RHEL 6 / CentOS 6
            Reporter: Eberhard Leba


Installing FirebirdCS-2.5.1.26351-0.amd64.rpm on a cleanly installed RHEL6 or 
RHEL6.1 RPM complains about missing components:

# rpm -ivh FirebirdSS-2.5.0.26074-0.amd64.rpm
error: Failed dependencies:
        libncurses.so.5 is needed by FirebirdSS-2.5.0.26074-0.amd64
        libstdc++.so.6 is needed by FirebirdSS-2.5.0.26074-0.amd64

The libraries are available on that system:

$ ls -l /usr/lib64/libncurses.so
lrwxrwxrwx. 1 root root 27 16. Sep 2011  /usr/lib64/libncurses.so -> 
../../lib64/libncurses.so.5
$ ls -l /lib64/libncurses.so.5
lrwxrwxrwx. 1 root root 17 16. Sep 2011  /lib64/libncurses.so.5 -> 
libncurses.so.5.7
$ ls -l /lib64/libncurses.so.5.7
-rwxr-xr-x. 1 root root 142504  3. Dez 2009  /lib64/libncurses.so.5.7

$ ls -l /usr/lib64/libstdc++.so.6
lrwxrwxrwx. 1 root root 19 16. Sep 2011  /usr/lib64/libstdc++.so.6 -> 
libstdc++.so.6.0.13
ls -l /usr/lib64/libstdc++.so.6.0.13
-rwxr-xr-x. 1 root root 989840 15. Feb 2011  /usr/lib64/libstdc++.so.6.0.13

The RPM packages containing those libraries do have a different name:

$ rpm -qf /lib64/libncurses.so.5
ncurses-libs-5.7-3.20090208.el6.x86_64

]$ rpm -qf /usr/lib64/libstdc++.so.6
libstdc++-4.4.5-6.el6.x86_64


The workaround for this is to install firebird using the --nodeps flag. This 
might not be acceptable for administrators responsible for huge system 
environments.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to