Bug 126824 - libaio.so not created when libaio installed
Summary: libaio.so not created when libaio installed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lam
Version: 2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-28 01:41 UTC by Samit Basu
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version: lam-7.1.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-02-02 23:24:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Samit Basu 2004-06-28 01:41:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET 
CLR 1.1.4322)

Description of problem:
A symlink of "libaio.so" is not created when libaio is installed.  
This happens to break the lam package.

Version-Release number of selected component (if applicable):
libaio-0.3.99-2

How reproducible:
Always

Steps to Reproduce:
1.install libaio
    

Additional info:

Comment 1 Jeff Moyer 2004-11-01 22:41:06 UTC
I don't believe lam requires this symlink to be there.  Please verify this.  I
will, however, update the package to create the symlink, since it should be there.

Thanks.


Comment 2 Jeff Moyer 2004-11-01 22:44:14 UTC
Sorry, the .so file is there, it's in the -devel package.  This is where it
belongs.  If you are not having problems installing lam, I'd like to close this bug.

Comment 3 Samit Basu 2004-11-02 02:30:08 UTC
To clarify a little - installing the lam rpm requires libaio to be 
installed as a prerequisite (not the -devel package, as far as I can 
tell).  Although the lam package appears to install OK, it is, in 
fact broken, as attempting to run the MPI compiler demonstrates:

[basu@siren basu]$ mpicc hello.c
/usr/bin/ld: cannot find -laio
collect2: ld returned 1 exit status
mpicc: No such file or directory
[basu@siren basu]$

Adding the .so reference by hand appears to fix the problem.

Comment 4 Samit Basu 2004-11-02 02:34:01 UTC
Also - this is probably a novice question on my part - but what is 
the point of installing (or providing) a libaio package that installs 
a libaio.so.1 and a libaio.so.1.0.0 but no libaio.so?  Why would the 
dynamic library only belong in the -devel form of the package?

Comment 5 Michael Schwendt 2004-11-02 10:36:12 UTC
It belongs into the -devel package only, because it is a version-less
shared object, which is required at compile/link-time (here, too!) and
must not be required at run-time. Occasionally, there are
applications, which access such library file names at run-time, but
they ought to be fixed to access the versioned libraries instead. If
the libaio.so soft-link were included in the main libaio package, it
would be more difficult to install multiple versions of libaio at
once, because only one libaio.so could be in default linker search path.

The issue here is that "lam" is a development/programming system and
hence may depend on -devel packages to be installed in order to work
fully. Here the MPI compiler asks the linker to link against libaio.
Not requiring libaio-devel would be like a C++ compiler without C++
Standard library and headers.

Comment 6 Michael Schwendt 2004-11-02 10:42:58 UTC
Btw, mpic++ wants gcc-c++, mpif77 wants gcc-g77, mpicc wants gcc

Comment 7 Lon Hohberger 2004-11-03 14:13:27 UTC
I've built a new lam package with the proper requires line for the
compilers and libaio-devel.  However, it will be a while before it
appears in rawhide due to the fact the we are past the Fedora Core 3
development freeze.


Comment 8 Satish Balay 2005-01-31 17:19:40 UTC
How about FC3 updates?

Comment 9 Satish Balay 2005-01-31 18:51:07 UTC
BTW: I don't see the update in rawhide or cvs yet..

From:
http://cvs.fedora.redhat.com/viewcvs/devel/lam/lam.spec?rev=1.15&view=auto

BuildRequires: gcc-g77 fileutils perl gcc
Requires: openssh-server openssh-clients

Comment 11 Satish Balay 2005-01-31 19:37:53 UTC
I don't see the new dependency on 'aio-devel' (or libaio.so or g++)

#rpm -qp --requires lam-7.0.6-3.i386.rpm 
/usr/bin/env  
config(lam) = 2:7.0.6-3
libaio.so.1.0.0  
libc.so.6  
libc.so.6(GLIBC_2.0)  
libc.so.6(GLIBC_2.1)  
libc.so.6(GLIBC_2.1.3)  
libc.so.6(GLIBC_2.2)  
libc.so.6(GLIBC_2.3)  
libgcc_s.so.1  
libgcc_s.so.1(GCC_3.0)  
libm.so.6  
libpthread.so.0  
libpthread.so.0(GLIBC_2.0)  
libpthread.so.0(GLIBC_2.1)  
libstdc++.so.6  
libstdc++.so.6(CXXABI_1.3)  
libstdc++.so.6(GLIBCXX_3.4)  
libutil.so.1  
libutil.so.1(GLIBC_2.0)  
openssh-clients  
openssh-server  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1

# yum install lam
<snip>
Dependencies Resolved
Transaction Listing:
  Install: lam.i386 2:7.0.6-3 - base

Performing the following to resolve dependencies:
  Install: libaio.i386 0:0.3.102-1 - base
Total download size: 2.3 M
Is this ok [y/N]: 


Comment 12 Jason Vas Dias 2005-01-31 19:51:00 UTC
Yes, but as noted in the previous comments, lam should be depending
on a versioned libaio.so, and now does correctly depend on 
libaio.so.1.0.0, which was picked up by yum update which prompted 
you to install libaio .
 

Comment 13 Satish Balay 2005-01-31 20:29:37 UTC
From what I understand from this bugzilla - lam is unuseable unless
libaio-devel is installed (and a bunch of compilers also installed)

Ref: comment 3 & comment 6

Whatever you've done hasn't solved this problem.

Its not like fedora has lam & lam-devel  (and the devel version has
the correct devel dependencies).

Comment 14 Satish Balay 2005-01-31 20:44:25 UTC
BTW: lam should also have:

BuildRequires: gcc-c++, libaio-devel

[apart from the primary requirement]

Requires: gcc-g77, gcc-c++, libaio-devel



Comment 15 Jason Vas Dias 2005-02-02 23:24:47 UTC
lam is now upgraded to version 7.1.1-1 in FC4 and will shortly be
in fc3-updates / fc2-updates - meanwhile, you can download it from:
http://people.redhat.com/~jvdias/lam/FC3
http://people.redhat.com/~jvdias/lam/FC2
It also definitely fixes the libaio{,-devel} dependency problem.

Comment 16 Satish Balay 2005-02-04 15:34:01 UTC
7.1.1-1 in rawhide appears to work as expected. 

Thanks!


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