← Back to team overview

maria-developers team mailing list archive

Re: compile issue and the -lz flag

 

This is how I got it to work and there maybe an issue here:
using the BUILD/compile-pentium64-max, changed the changed the
extra_configs="$pentium_configs $max_configs $static_link" to
extra_configs="$pentium_configs $max_configs" (notice the static_link is
removed). It is trying to link with --all-static (thus it needs zlib.a
libssl.a .....), which is a pain in the ars, I'm wondering if this is an
issue for the build team. I believe this is the only *max that has the
static_link. libtool ... uses --all-static which leads to the gcc -static
....-lz -lpthread, anything on the commandline after the -static MUST be
statically linked thus is not found in my case. Have confirmed this on two
different fedora core 10 - 64-bit systems.

Anyways thanks all for the input. I finally have a build - on to the
next..................

On Tue, May 5, 2009 at 1:14 PM, Don Kehn <dekehn@xxxxxxxxx> wrote:

> Got the ncurses development libs loaded - intersting if I do a 32-bit
> version all works as it should, but when I do a ./BUILDcompile-pentium64-max
> I start seeing the -lz error. I feel like this is a library malfunction.
>
>
> On Tue, May 5, 2009 at 7:41 AM, Kristian Nielsen <knielsen@xxxxxxxxxxxxxxx
> > wrote:
>
>> Don Kehn <dekehn@xxxxxxxxx> writes:
>>
>> > display.c:(.text+0x282): undefined reference to `tputs'
>>
>> This sounds like you are missing curses development libraries.
>>
>> On my machine (Ubuntu Hardy), I think they are in the package
>> libncurses5-dev.
>>
>> Hopefully this will get you one step further.
>>
>> (Btw, on Ubuntu/Debian, a quick shortcut to get all required dependencies
>> installed is the following:
>>
>>    sudo apt-get build-dep mysql-server
>>
>> Maybe your system has something similar).
>>
>>  - Kristian.
>>
>
>

Follow ups

References