From: Dan Nelson Date: August 19 2004 9:56pm Subject: Re: Compilation error List-Archive: http://lists.mysql.com/mysql/171227 Message-Id: <20040819215613.GH74594@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In the last episode (Aug 19), Casey Allen Shobe said: > Dan Nelson said: > > ^^^ Note the -static flag here > > But you don't have a static libz (libz.a). You've only got a dynamic > > one. Redhat usually puts the static libraries in a separate "-dev" > > rpm. > > Aha, yes. This is a custom-built linux installation where I have built > zlib dynamically-only, intentionally. How can I make MySQL build against > the dynamic library instead of the static? Take -static out of the link line, of course :) That's not the default for a mysql source build, so you must have a LDFLAGS=-static env variable or --with-mysqld-ldflags=-all-static configure flag somewhere. -- Dan Nelson dnelson@stripped