Bug 126824 - libaio.so not created when libaio installed
Summary: libaio.so not created when libaio installed
Alias: None
Product: Fedora
Classification: Fedora
Component: lam
Version: 2
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact:
Depends On:
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:
Last Closed: 2005-02-02 23:24:47 UTC
Type: ---

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):

How reproducible:

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.


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..


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 
config(lam) = 2:7.0.6-3
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1

# yum install lam
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:
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. 


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