/usr/bin/ld: cannot find -lgfortran
/usr/bin/ld:
cannot find -lquadmath
So some crucial Rattle packages like SVM cannot be build.
In fact, the problem is that links to those library are not set for this version. You can see there with the command :
$
sudo ldconfig -p | grep libgfortran
libgfortran.so.3
(libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libgfortran.so.3
So just create some symbolic links to them under /usr/lib repertory, then a sudo ldconfig to reload, and that's ok.
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libgfortran.so.3 /usr/lib/libgfortran.so
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libquadmath.so.0 /usr/lib/libquadmath.so
$ sudo ldconfig
Well, also, I use neural network a lots, and it will be great if we could have more options with it (I must use R commands to set them if not).
Thanks,
Thanks for the report of the issue.
On 8 October 2011 05:15, igor gregovitch <d.ba...@gmail.com> wrote:
> Hi,
>
> There is a problem with R Rattle packages gfortran compilation, under Debian
> Linux. The compilation message error is :
>
> /usr/bin/ld: cannot find -lgfortran
>
> /usr/bin/ld: cannot find -lquadmath
That is odd.
A similar issue is often because some "-dev" packages are not
installed but I don't think that is the case here.
Specifically, which package was Rattle (or you) attempting to install?
> So some crucial Rattle packages like SVM cannot be build.
I've tested reinstalling the kernlab package and that compiles on my
Ubuntu servers. (I use kernlab to provide the SVM functionality in
Rattle.)
> In fact, the problem is that links to those library are not set for this
> version. You can see there with the command :
>
> $ sudo ldconfig -p | grep libgfortran
>
> libgfortran.so.3 (libc6,x86-64) =>
> /usr/lib/x86_64-linux-gnu/libgfortran.so.3
I get this also on my Ubuntu boxes.
> So just create some symbolic links to them under /usr/lib repertory, then a
> sudo ldconfig to reload, and that's ok.
>
> $ sudo ln -s /usr/lib/x86_64-linux-gnu/libgfortran.so.3
> /usr/lib/libgfortran.so
On my system:
$ ls /usr/lib/libgfortran*
ls: cannot access /usr/lib/libgfortran*: No such file or directory
So I don't seem to need these links.
> $ sudo ln -s /usr/lib/x86_64-linux-gnu/libquadmath.so.0
> /usr/lib/libquadmath.so
>
> $ sudo ldconfig
And did the install then work? Seems odd that you need to do that,
given that ldconfig is already finding them?
> Well, also, I use neural network a lots, and it will be great if we could
> have more options with it (I must use R commands to set them if not).
What options would you like?
The options that get into the interface are driven by what people find
they commonly need - so let me know what you would commonly need.
Regards,
Graham
The issue looks to be with R (or sid) rather than Rattle. Try
$ R
[...]
> install.packages(kernlab)
to hopefully replicate the error, to eliminate rattle.
If other packages have the same issue you may have a broken
installation of Debian.
You could check https://stat.ethz.ch/mailman/listinfo/r-sig-debian but
a quick look does not indicate any others having issues with sid.
If the problem persists then it may be useful to post to that mailing list.
Thanks for the neuralnet pointer. I'll have a look as time permits to
adding this functionality.
Regards,
Graham
> --
> You received this message because you are subscribed to the Google Groups "rattle-users" group.
> To post to this group, send email to rattle...@googlegroups.com.
> To unsubscribe from this group, send email to rattle-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rattle-users?hl=en.
>
>