Bill Hart wrote:
Actually, this is really silly. The must be a multitude of packages
for Solaris which are distributed with binaries and which need these
libraries. How do they deal with this issue?

Is there a package installation system like apt-get or yum or rpm on
Solaris? They must surely deal with this issue somehow?

Bill.

Yes - it called 'pkgadd'

Blastwave is a site where you pick a package you want (e.g. python) and it downloads that along with any dependences. Here are those for phthon


http://www.blastwave.org/jir/pkgcontents.ftd?software=python&style=brief&state=5&arch=i386

One of which is "GNU Compiler Collection Version 4.3.3 Core RunTime" which is basically the libraries.


Sunfreeware (run by a consultant for Wolfram Reserarch)

http://www.sunfreeware.com/

has loads of packages in binary format, though the site has stagnated.


Let's pick the first package (a2ps-4.14),
a2ps-4.14

"Having libgcc_s.so.1 in /usr/local/lib is required. This can be done by installing libgcc-3.4.6 or gcc-3.4.6 or higher."


So it basically boils down to one of two choices.

1) Install gcc.

2) Install just the gcc libraries.

When I created the binary which runs on 't2nb' (which is a zone on Solaris)

http://t2nb.math.washington.edu:8000

I included the libraries. There is no gcc on that Solaris zone, so Sage would not run without them.

In contrast, if you have gcc installed, and the libraries can be found via LD_LIBRARY_PATH or some other means, then those libraries are not needed.


I personally think it is a bit safer to include them, but I can see counter arguments. The most convincing one is from Robert Bradsure who said:

-------------------------------
Are there issues if the gcc and core C libraries don't match? For example, If a user uses cython in the notebook, will it pick up the users g++ and Sage's libstdc++? What about someone who starts with a binary then starts developing with it or installs optional packages?
------------------------------

The truth is, I don't know the answer to that one.

It's clear the current system does cause some problems (not just on Solaris), but I must admit Robert's argument may be valid.

Dave





--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to