needed library for 9.3.2 that wasn't needed for 9.3.1.

Mark Andrews Mark_Andrews at isc.org
Fri Mar 31 22:21:16 UTC 2006


> 
> On Fri, 31 Mar 2006, Mark Andrews wrote:
> 
> > >
> > > I am upgrading to version 9.3.2 on several of my Solaris 9 servers from
> > > version 9.3.1.  I notice that the named 9.3.2 binary requires the
> > > libgcc_s.so library.  Previous versions did not -- I would build the
> > > binary on a server with a compiler and move the binaries to a production
> > > server that does not.  I do not have gcc installed on my production
> > > servers, so libgcc_s.so does not exist.  Is there a way to build Bind
> > > version 9.3.2 so that it does not require the libgcc_s.so library to run?
> >
> > 	Don't build with gcc. Other than that install the library on the
> > 	other machine.
> 
> Just about all of the other applications puke if I try to compile them
> with the Sun compiler -- they specify gcc.

	The other applications are not portable then.  Or are they failing
	because they are being linked against libraries compiled with gcc?

	I've found that if you have libraries compiled with gcc you often
	can't link them into applications built with cc.  The reverse is
	not true.  The libraries built with cc are self complete and
	don't require compiler specific libraries to link against.

>  I have compiled 4.x up to
> 9.3.1 with gcc.  What is wrong with gcc?  I don't even have a Sun compiler
> anymore on my build server.

	libgcc_s.so is being linked in to do some math from memory.
 
> Since the library is architecture-specific, I don't think I can just copy
> the library file from one server to another.

	If you are copying the binaries and they were working then copying
	the shared library should also work.
 
> +-----------------------------------------------------------------------+
> | Christopher L. Barnard         O     When I was a boy I was told that |
> | cbarnard at tsg.cbot.com         / \    anybody could become president.  |
> | (312) 347-4901               O---O   Now I'm beginning to believe it. |
> | http://www.cs.uchicago.edu/~cbarnard                --Clarence Darrow |
> +----------PGP public key available via finger or PGP keyserver---------+
> 
> 
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list