[SOLVED] Trouble compiling Gambas 3.5.2 on Mageia 3

Hi,
I usually try to work things like this out on my own, but I am stumped with this one.
I followed the instructions at http://gambaswiki.org/wiki/install/mageia for retrieving the development packages needed to compile Gambas3 on Mageia 3.
But then instead of retrieving the Gambas package via SVN, I downloaded the compressed archive file, gambas3-3.5.2.tar.bz2, directly from SourceForge; and of course, extracted it.
./reconf-all seems to go fine.
./configure -C seems to go fine.
make fails with an `ld` error complaining about not finding two
libraries: cblas and atlas.
These two libraries are apparently part of the GNU Scientific Library
A query using ldconfig shows that the libraries are indeed installed.
At least, by their names, they look like the ones needed.
Why is the linker not finding those libraries? Is the make process
perhaps expecting names in the form of "libcblas.so" without the ".3"
extension? If so, would a symbolic link of that form anywhere in the
'/usr/lib' directory tree suffice?
I thank you for any help.
Lee
I usually try to work things like this out on my own, but I am stumped with this one.
I followed the instructions at http://gambaswiki.org/wiki/install/mageia for retrieving the development packages needed to compile Gambas3 on Mageia 3.
But then instead of retrieving the Gambas package via SVN, I downloaded the compressed archive file, gambas3-3.5.2.tar.bz2, directly from SourceForge; and of course, extracted it.
./reconf-all seems to go fine.
./configure -C seems to go fine.
make fails with an `ld` error complaining about not finding two
libraries: cblas and atlas.
These two libraries are apparently part of the GNU Scientific Library
- Code: Select all
Making all in gb.gsl
make[2]: Entering directory `~/Download/gambas3-3.5.2/gb.gsl'
make all-recursive
make[3]: Entering directory `~/Download/gambas3-3.5.2/gb.gsl'
Making all in src
make[4]: Entering directory `~/Download/gambas3-3.5.2/gb.gsl/src'
CCLD gb.gsl.la
/usr/bin/ld: cannot find -lcblas
/usr/bin/ld: cannot find -latlas
collect2: error: ld returned 1 exit status
A query using ldconfig shows that the libraries are indeed installed.
At least, by their names, they look like the ones needed.
- Code: Select all
[root@localhost gambas3-3.5.2]# ldconfig -p |grep cblas
libptcblas.so.3 (libc6) => /usr/lib/atlas-sse3/libptcblas.so.3
libgslcblas.so.0 (libc6) => /lib/libgslcblas.so.0
libgslcblas.so (libc6) => /lib/libgslcblas.so
libcblas.so.3 (libc6) => /usr/lib/atlas-sse3/libcblas.so.3
[root@localhost gambas3-3.5.2]# ldconfig -p |grep atlas
libptf77blas.so.3 (libc6) => /usr/lib/atlas-sse3/libptf77blas.so.3
libptcblas.so.3 (libc6) => /usr/lib/atlas-sse3/libptcblas.so.3
liblapack.so.3 (libc6) => /usr/lib/atlas-sse3/liblapack.so.3
libf77blas.so.3 (libc6) => /usr/lib/atlas-sse3/libf77blas.so.3
libclapack.so.3 (libc6) => /usr/lib/atlas-sse3/libclapack.so.3
libcblas.so.3 (libc6) => /usr/lib/atlas-sse3/libcblas.so.3
libatlas.so.3 (libc6) => /usr/lib/atlas-sse3/libatlas.so.3
Why is the linker not finding those libraries? Is the make process
perhaps expecting names in the form of "libcblas.so" without the ".3"
extension? If so, would a symbolic link of that form anywhere in the
'/usr/lib' directory tree suffice?
I thank you for any help.
Lee