Same situation than William's here. I have compiled the GSL from the source and it works perfect in Snow Leopard.
Just a remark. In case you don't want GSL to be compiled into /usr/local/ (which is what I believe it does ./configure by default) you can specify where to install the compiled version. For example, in my case I ran: ./configure --prefix=/opt/gsl/1.14 so I can keep track of different versions of GSL and can compile my code against different versions. If you choose this, in order to tell gcc (or your C/C++ compiler) where to find the includes and the libraries you can use: gcc -L/opt/gsl/1.14/lib -I/opt/gsl/1.14/include -lgsl -lgslcblas my_code_rocks.c -o ./rocket Hope it helps. Best regards, *Alejandro Cámara* PhD Student at the GICO <http://www.ucm.es/info/giboucm/> 2010/8/28 William Oquendo <[email protected]> > Hi Giancarlo, > > I am not sure about the solution of your problem, it seems related to a > lapack call. Are you linking correctly? do you need/have Lapack? > > I am running Snow Leopard, and I do not have any problems with GSL. But, I > have compiled it from source. Have you tried it? Just uncompress the tar.gz > gsl, enter the directory, and write > > ./configure && make && make install > > Please remember to link correctly when compiling, as in the following > example: > > g++ -lgsl -lgslcblas filename.cpp > > Hope this helps. > > Best regards / Cordialmente, > > -- > William Oquendo > Phd Candidate > Simulation Of Physical Systems Group > Universidad Nacional de Colombia > Linux User # 321481 > ********************* > Este correo puede carecer de tildes o eñes ya que el teclado no contiene > estos caracteres. Presento excusas por eso. > > ********************* > > > > On Fri, Aug 27, 2010 at 9:42 AM, Giancarlo Strippoli < > [email protected]> wrote: > > > Hi all, > > > > thanks in advance for your help. I wrote my own code on several platform, > > making use of GSL. > > I still have troubles with GSL on my mac OSX 10.6, whereas everything > > works fine on my mac OSX 10.5, linux, win32. > > > > At first, I used the universal binary from > > http://www.dayel.com/2009/09/building-gsl-universal-binary/ > > > > However, once compiled my code and linked the libraries, some errors > like: > > > > "ddot_(int const*, double const*, int const*, double const*, int > const*)", > > referenced from: > > dot_lapack(int, double const*, double const*)in > > aLiceAlgorithmCellBasedPoisson.o > > > > come in to play. I have no clue how to get rid of them. Could you or > anyone > > else help? > > > > Thank you very much > > Alberto > > _______________________________________________ > > Help-gsl mailing list > > [email protected] > > http://lists.gnu.org/mailman/listinfo/help-gsl > > > _______________________________________________ > Help-gsl mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-gsl > _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
