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
Thanks for the follow-up -- I agree with your point. Now we need to see if Debian is set on --as-needed wand wants it globally. Which could be an issue as you politely point out... Aurelien, comments/corrections? Dirk -- Three out of two people have difficulties with fractions. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]