On Sun, Sep 19, 2010 at 12:01 AM, Dr. David Kirkby <david.kirkby@onetel.net> wrote:
On 09/18/10 10:45 PM, Juan Jose Garcia-Ripoll wrote:
On Sat, Sep 18, 2010 at 10:51 PM, Dr. David Kirkby
<david.kirkby@onetel.net>wrote:

I'm sure you wont consider this a high priority, but ECL appears to be
linking
unnecessarily to libintl.so at least on OpenSolaris.


This is very very old. It comes from the time when ECL was first ported to
Solaris and at that time I found that the sockets linked code required this
TCPLIBS='-lsocket -lnsl -lintl'  Maybe that is no longer the case.

Juanjo


I think you just need to check in autoconf. It might depend on what version of Solaris one uses. It's far more portable then. I might want to build ECL on AIX at some point!

What should I check for? What should I need on each version of Solaris that exists out there? There is no way to treat that platform in a portable way if that is waht you mean. It is not portable at all what the solaris people opted for (having a separate library for sockets and also other libraries I do not even know what for), and it is also not portable their changes among OS releases. Autoconf does not help here: one would have to hardcode the knowledge of which libraries are needed and which are not.

Note there's a report on sage-devel of a similar issue on Gentoo linux and ECL - in this case its

       /lib/libdl.so.2
       /lib/libm.so.6

I do not understand these concerns: libdl is mandated for dlopen and libm is needed for all the mathematical functions. I think your developers are being overzealous about this.

Juanjo

--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com