[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#449433: roottalk links



I wrote:

> Prompted by a couple emails [1] to the ROOT devel list, I'm curious as
> to why no package in Sid seems to provide a libgfortran.so symlink
> [without the soversion] nor libgfortranbegin.a directly in /usr/lib.
> This makes it difficult to link a program with the main routine written
> in FORTRAN using g++ or gcc as the driver for ld.  Currently one needs
> to add -L/usr/lib/gcc/i486-linux-gnu/4.2 to the linking command before
> supplying -lgfortran -lgfortranbegin .
> 
> [1] I'll supply a link to the thread when it becomes available on the
> web archive of roottalk.

And here are the promised links to the relevant threads:

http://root.cern.ch/root/roottalk/roottalk07/1147.html
http://root.cern.ch/root/roottalk/roottalk07/1150.html

In the meantime, ROOT upstream has decided in svn trunk [2] to utilize

gfortran -print-file-name=libgfortran.so
gfortran -print-file-name=libgfortranbegin.a

to get the paths to gfortran libraries, which I've verified should do
The Right Thing (TM) on a Sid system.  So this bug is now more academic
(at least from the point of view of ROOT) than a real problem -- feel
free to close if you wish, or not.

[2]
http://root.cern.ch/viewcvs/trunk/config/Makefile.linux?r1=20172&r2=20658

best regards,

-- 
Kevin B. McCarty <kmccarty@princeton.edu>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544




Reply to: