[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing gsl octave-forge pkg on opensuse 12.2
From: |
Sergei Steshenko |
Subject: |
Re: Installing gsl octave-forge pkg on opensuse 12.2 |
Date: |
Thu, 14 Mar 2013 14:30:12 -0700 (PDT) |
--- On Thu, 3/14/13, Sergei Steshenko <address@hidden> wrote:
> From: Sergei Steshenko <address@hidden>
> Subject: Re: Installing gsl octave-forge pkg on opensuse 12.2
> To: address@hidden, "Philippe Baril Lecavalier" <address@hidden>
> Date: Thursday, March 14, 2013, 1:55 PM
>
>
> --- On Thu, 3/14/13, Philippe Baril Lecavalier <address@hidden>
> wrote:
>
> > From: Philippe Baril Lecavalier <address@hidden>
> > Subject: Installing gsl octave-forge pkg on opensuse
> 12.2
> > To: address@hidden
> > Date: Thursday, March 14, 2013, 1:14 PM
> > Hello,
> >
> > I am trying to install the gsl package from
> octave-forge,
> > and I'm
> > encountering some difficulties.
> >
> > Platform: openSUSE 12.2 x86_64
> > octave: 3.6.2 (package from openSUSE)
> >
> > gsl and gsl-devel packages are installed on this
> system.
> >
> > I get the following:
> >
> > octave:1> pkg install -forge -noauto gsl
> > warning: load_path:
> >
> /home/pbl/octave/gsl-1.0.8/x86_64-suse-linux-gnu-api-v48+:
> > No such file
> > or directory
> >
> /home/pbl/octave/gsl-1.0.8/x86_64-suse-linux-gnu-api-v48+/coupling_3j.oct:
> > failed to load: /usr/lib64/libgsl.so.0: undefined
> symbol:
> > cblas_dasum
> > error: called from `gen_doc_cache>create_cache' in
> file
> > /usr/share/octave/3.6.2/m/help/gen_doc_cache.m near
> line 94,
> > column 17
> > error: called from:
> > error: /usr/share/octave/3.6.2/m/pkg/pkg.m
> > at line 869, column 5
> > error: /usr/share/octave/3.6.2/m/pkg/pkg.m
> > at line 383, column 9
> >
> >
> > It might explain why there is no octave-forge-gsl
> package in
> > the
> > openSUSE repository. Still, is there a reasonable
> workaround
> > to this?
> > Does the package work on other distributions?
> >
> > I am able to install other packages using "pkg install"
> in
> > octave, such
> > as control and optim. It did not work before
> installing
> > hdf5-devel and
> > hdf5-devel-static (as told by another post).
> >
> > Thank you.
> >
> >
> > Philippe Baril Lecavalier
> >
> > _______________________________________________
> > Help-octave mailing list
> > address@hidden
> > https://mailman.cae.wisc.edu/listinfo/help-octave
> >
>
>
> I build almost everyhting from sources, and the package
> installs fine (on my 32 bit box) :
>
> gsl
> *| 1.0.8 |
> /mnt/sdb8/sergei/AFSWD_debug/20121021/octave-3.6.4/share/octave/packages/gsl-1.0.8
> .
>
> I think the root cause of your problem is indicated by
>
> "
> failed to load: /usr/lib64/libgsl.so.0: undefined symbol:
> cblas_dasum
> "
>
> message, and I think you need to isntall 'cblas' development
> package.
>
> Again, in my case I build it from source, inclding BLAS, so
> I can't be more definite.
>
> Regards,
> Sergei.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>
As I'm doing 'grep - r ...', I see
Binary file /home/sergei/AFSWD/install/atlas-3.10.0/lib/libcblas.a matches
Binary file /home/sergei/AFSWD/install/atlas-3.10.0/lib/libptcblas.a matches
Binary file /home/sergei/AFSWD/install/atlas-3.10.0/lib/libsatlas.so matches
Binary file /home/sergei/AFSWD/install/atlas-3.10.0/lib/libtatlas.so matches
and the symbol is indeed defined in, for example, atlas-3.10.0/lib/libsatlas.so
:
005c9170 T cblas_dasum
.
Probably 'cblas' is separate from BLAS (it is "C" innterface to Fortran-based
BLAS). ATLAS implements the interface.
Regards,
Sergei.