severity 456898 wishlist
tags 456898 + upstream
tags 456898 + wontfix
thanks

On 19 December 2007 at 11:53, Brian Gough wrote:
| At Tue, 18 Dec 2007 09:23:30 -0600,
| Dirk Eddelbuettel wrote:
| >    > /usr/lib/libgsl.so: undefined reference to `cblas_zher2k'
| >    > /usr/lib/libgsl.so: undefined reference to `cblas_strsv'
| >    > /usr/lib/libgsl.so: undefined reference to `cblas_zdotc_sub'
| >    [ many more of these ]
| > 
| > Can you see a way forward on this?  Is is maybe a question of link order, ie
| > could -lgslcblas -lgsl be an answer?
| 
| The option -Wl,--as-needed needs to be disabled in some way, if it's
| applied globally it's certainly not compatible with libraries that
| depend on other libraries (surely a fairly common occurrence?).  The
| link order is not a factor.
| 
| Maybe there is some official way to turn off that feature in qmake, or
| to make it behave more intelligently with regard to external libraries
| vs Qt libraries.  Otherwise one could put the gsl library at the end
| of the libraries list with -Wl,--no-as-needed:
| 
|     ....   -Wl,--no-as-needed -lgsl -lgslcblas -lm

As maintainer, I think I concur. GSL made an upstream decision to keep libgsl
and libgslcblas in two libraries --- IIRC this allows to eg substitute
optimised Blas like Atlas or Goto.

I don't see how qmake can impose an upstream redesign on other libraries, and
I do not plan on implmenting one either as I value consistency with upstream
much higher (and would have no time anyway...)  As Brian suggests, there also
seems to be a workaround. 

I reset bug levels and tags accordingly. 

Thanks, Dirk

| 
| -- 
| Brian Gough
| 

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to