On Dec 25, 1:29 pm, gerhard <ge01...@yahoo.de> wrote:
Hi Gerhard,
> Well, I got myself in trouble again:
>
> I wanted to consolidate my installation of R
> to avoid maintaining two versions with two sets of libraries:
> I took a current version of R (2.8.0 Patched (2008-11-24 r47019)
> and rpy-1.0.3, patched them to match the patches for 2.6 in the spkg,
> compiled and installed. Seems to work.
>
> The problem has to do with inconsistent libraries:
> I am using Fedora 10, which has
> g++ (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7).
>
> 1) A problem I would ignore:
> In the sage environment, firefox fails due
> to inconsistent libraries (in fact, the pb is with sqlite3),
> resulting in bookmarks getting lost
> and the page forward/backward keys
> becoming inoperable.
> The R command 'help.start()' therefore fails altogether.
>
> 2) the problem I do want to fix:
> from R, the command
> install.packages('rggobi')
> fails with
> Gtk-Message: Failed to load module "gnomebreakpad"
>
> because it attempts to link two inconsistent libraries:
> sage-3.2.2/local/lib/gcc-lib/i686-pc-linux-gnu/4.0.3/
> libgcc_s.so.1
> /usr/lib/libstdc++.so.6
The is a libgcc_s.so.1 picked p from the binary G95 that Sage ships.
> I would love to hear ideas of how to get around this one?
> Maybe get a copy of 4.0.3/libstdc++.so?
Nope, build a copy of Sage that doesn't use the binary G95, but the
system gfortran compiler. From README.txt:
NOTE: If you're using Fortran on a platform without g95 binaries
included
with Sage, e.g., Itanium, you must use a system-wide gfortran.
You
have to explicitly tell the build process about the fortran
compiler and library location. Do this by typing
export SAGE_FORTRAN=/exact/path/to/gfortran
export SAGE_FORTRAN_LIB=/path/to/fortran/libs/libgfortran.so
Deleting the G95 binary and rebuilding the spkgs which use Fortran
will also work, but that is a rather complicated thing to do unless
you know exactly what you are doing :)
Let us know if you run into any trouble.
> thank you all, sage has proved extremely useful!
>
> -gerhard
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---