From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de-DE; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7 Description of problem: Since all 64 bit libs should install to lib64, the cyrus-imapd rpm should install to /usr/lib64/cyrus-imapd instead of /usr/lib/cyrus. [thomas@ws01 ~]$ file /usr/lib/cyrus-imapd/imapd /usr/lib/cyrus-imapd/imapd: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped Version-Release number of selected component (if applicable): cyrus-imapd-2.2.12-6.fc4 How reproducible: Always Steps to Reproduce: 1. install cyrus-imapd Additional info:
Did a little investigation, many parts of the spec file do use %{_lib} which made this a little confusing, I think the problem arises with this line in the spec file: %define _cyrexecdir %{_exec_prefix}/lib/%{name} which I think should be changed to: %define _cyrexecdir %{_libdir}/%{name} However, locating the executables in /usr/lib64/cyrus-imapd rather than the conventional /usr/lib/cyrus-imapd, while technically correct will confuse a lot of scripts and add-on utilites which expect to find it in the later location. At the moment I'm reluctant to make the change without a clear understanding of how many things are going to break, this needs some more investigation.
I noticed that this is still not fixed with cyrus-imapd-2.3.1-2.6.fc5 Please find a resolution in the near future and fix this problem.
The files under /usr/lib/cyrus-imapd are not libraries so they don't belong under /usr/lib64.
Well, in RHEL-4, the files are in /usr/lib64 and since then, someone has moved them to /usr/lib, for a reason I don't know. If they're not libraries, they probably belong to /usr/libexec anyway. But I had decided to leave this decision to a reviewer and I'm therefore closing this one. If you believe the files should be somewhere else, make a note of it in the review bug, please.
There are only executables, perl and bash script and no libs in /usr/lib/cyrus-imapd, so this is defintily the wrong place. Won't fix isn't a solution and the right direction. What does the Fedora packaging rules say?
> If you believe the files should be somewhere else, make a note of it in the review bug, please.