[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Gcl-devel] Re: recent commit

>>>>> On 05 Sep 2003 18:38:45 -0400, Camm Maguire <camm@enhanced.com> said:

  Camm> Greetings, and thankyou for this suggestion.  It does seem like a bit
  Camm> of a hack though, no?

It's a hack until it's used > 3 times, then it becomes a
technique... ;-)

  Camm> Do you feel this would be more stable than just linking
  Camm> statically?

It should be possible to make it work well, but it would require some
experimentation etc.  Static linking is certainly the easy way out.

  Camm> Apropos to this, I just saw the following warnings issued on a static
  Camm> build on merulo:

  Camm> /usr/lib/libtcl8.4.a(tclUnixFCmd.o)(.text+0x1b62): In function `GetGroupAttribute':
  Camm> : Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

I think that's glibc telling you about nsswitch needing some shared
libraries (i.e., the static binary still uses dlopen, and hence has
dependencies on shared objects).  If that's what it is, it's nothing
new.  glibc has had this feature/flaw for a long time.  I think only
the warning is new.

  Camm> Please also et me know whether you think Debian ia64 ldso
  Camm> might change in this regard in the future.

No idea.


Reply to: