Bug#609056: elmer: ElmerSolver can't find shared library

Adam C Powell IV hazelsct at debian.org
Wed Jan 12 20:22:41 UTC 2011


clone 609056 -1
reassign -1 libopenmpi1.3
retitle -1 libopenmpi1.3: Busted symlinks through -dev package break packages linked to libmpi_f77
block 609056 by -1
thanks

> The file  libmpi_f77.so.0 seemes to be a part of libopenmpi1.3 package:
> vlad at vlad:~/Fem/2dchoc$ dpkg -L libopenmpi1.3 |grep  libmpi_f77
> /usr/lib/openmpi/lib/libmpi_f77.so.0.0.1
> /usr/lib/libmpi_f77.so.0
> /usr/lib/libmpi_f77.so.0.0.0
> 
> the package  libopenmpi1.3 is installed, but file /usr/lib/libmpi_f77.so.0 is
> absent. The only file with the similar name is
> vlad at vlad:~/elmer/bin$ find /usr -name "libmpi_f77*"
> /usr/lib/openmpi/lib/libmpi_f77.so.0.0.1

I don't understand.  Isn't /usr/lib/libmpi_f77.so.0 listed in your dpkg
-L output above?

Ah, I think I see the problem.  /usr/lib/libmpi_f77.so.0 is symlinked to
libmpif77.so -- which is an alternatives symlink created by the -dev
package postinst.  This is broken, it needs to link to a real shared
library with that soname.  The shared lib package can't depend on
symlinks in the -dev package.

> Creating a link fixes the problem:
> 
> vlad:/home/vlad/# ln /usr/lib/openmpi/lib/libmpi_f77.so.0.0.1
> /usr/lib/libmpi_f77.so.0

Okay, but the busted links between libopenmpi1.3 files clearly make this
a bug in libopenmpi1.3, not Elmer, right?

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20110112/d4e74d6f/attachment.pgp>


More information about the debian-science-maintainers mailing list