why for debian -lblas links to libblas.so.3gf instead of libblas.so?

2011-10-24 Thread Jichao Yin
Dear all,

I found that

-lblas links a program to libblas.so.3gf
-llapack links a program to liblapack.so.3gf

only those two sorts of libraries have and link to 3gf version of .so
(including both reference netlib blas and ATLAS blas, lapack).
On the other side, redhat distributions -lblas links to libblas.so and
-llapack links to liblapack.so.

Is there anyone who can clarify why debian uses .so.3gf only for -lblas and
-llapack?
Actually I found in debian libblas.so - libblas.so.3gf ultimately
What is relationship between the two?

Thank you!

Sincerely,
Jichao

*Jichao Yin*


Re: why for debian -lblas links to libblas.so.3gf instead of libblas.so?

2011-10-24 Thread Kumar Appaiah
On Mon, Oct 24, 2011 at 08:47:20PM -0500, Jichao Yin wrote:
-lblas links a program to libblas.so.3gf
-llapack links a program to liblapack.so.3gf
 
only those two sorts of libraries have and link to 3gf version of .so
(including both reference netlib blas and ATLAS blas, lapack).
On the other side, redhat distributions -lblas links to libblas.so and
-llapack links to liblapack.so.
 
Is there anyone who can clarify why debian uses .so.3gf only for -lblas
and -llapack?
Actually I found in debian libblas.so - libblas.so.3gf ultimately��
What is relationship between the two?

This is a remnant of the gfotran transition. During the transition, a
.3gf was added to libraries and package names for allowing a
distinction between the g77 generated libraries and gfortran generated
ones.

From your perspective, the fact that the file names have a 3gf should
not affect functionality at all. If it does, please let me know.

For more information on the gfortran transition which happened ~ 3
years ago, see http://wiki.debian.org/GfortranTransition

Kumar
-- 
*** PUBLIC flooding detected from erikyyy
lewnie THAT's an erik, pholx ;)
-- Seen on #LinuxGER


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20111025023021.ga7...@bluemoon.alumni.iitm.ac.in