Bug 177508 - Libraries not being correctly placed in rpms
Libraries not being correctly placed in rpms
Product: Fedora
Classification: Fedora
Component: mono (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Alexander Larsson
Depends On:
Blocks: 177512
  Show dependency treegraph
Reported: 2006-01-11 06:22 EST by Paul F. Johnson
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-01-12 11:00:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Paul F. Johnson 2006-01-11 06:22:31 EST
Description of problem:

All mono packages (inclusive of gtksharp etc) need to have their libraries
placed in the lib64 directory on 64 bit architecture. There are no operational
problems in doing this and would ensure anything built for FE will be correctly

Steps to Reproduce:
1. rebuild all mono packages using _libdir on the target rather than
specifically saying /usr/lib (the ./autogen.sh script will accept installing the
libraries in lib64 as a command line option) 
Actual results:
Anything currently trying to be built for FE (or core) on non-32 bit
architecture have to explictly say "/usr/lib" rather than the correct method of

Expected results:
Mono libraries should be in %{libdir}

Additional info:

The rebuild would also need to be done for all other mono packages and sub-packages.
Comment 1 Paul F. Johnson 2006-01-11 06:43:45 EST
simple fix

In the %prep section add

%ifarch x86_64 ia64
%configure --with-ikvm=yes --with-jit=yes --libdir=/usr/lib64
%configure --with-ikvm=yes --with-jit=yes
Comment 2 Alexander Larsson 2006-01-12 11:00:01 EST
All native libraries are in lib64, while non-arch dependent libs are in
/usr/lib. This is what upstream and suse does. I see no need to have the arch
indep files in  lib64. We follow upstream here. If you want to argue this, do so
upstream, they are much more knowledable about what is right than I.
Comment 3 Paul F. Johnson 2006-01-12 11:08:09 EST
This has been discussed upstream, quite a lot in fact!

The concensus is that the libraries should go whereever the default is for the
Comment 4 Alexander Larsson 2006-01-13 03:53:37 EST
How come the upstream packages don't do this then?

Also, i don't understand the "default for the architecture" thing. Its default
for libraries to go into lib if they are 32bit and lib64 if they are 64bit.
However, the .dlls are not 64bit really. They are arch-independent.

Note You need to log in before you can comment on or make changes to this bug.