Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2001 07:11:51 -0600
From:      mdickerson@officeonweb.net
To:        freebsd-isp@freebsd.org
Subject:   Re: mysql make error
Message-ID:  <3.0.6.32.20010515071151.009afab0@officeonweb.net>
In-Reply-To: <Pine.BSF.4.33.0105151523550.38794-100000@visi.gothic.net.a u>
References:  <3.0.6.32.20010514152139.00abd720@officeonweb.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Everyone,

Thanks for the help. Not sure which hack to use yet, but have some options
to work with. Copying the binaries from another 3.5S has gotten much more
attractive ;).

thanks,

mike

At 03:28 PM 5/15/01 +1000, Sean wrote:
>On Mon, 14 May 2001 mdickerson@officeonweb.net wrote:
>
>> Well,
>>
>> Don't know if this helps, but someone that knows how mysql builds . . .
>>
>> In the work/mysql-3.23.38/Makefile, there is "WRAPLIBS = -Lyes/lib -lwrap".
>> But of course, if you remove
>> "--with-libwrap \" from the /usr/ports/mysql323-server/Makefile, you'll get
>> the same error, without the "cant' cd to yes/lib" issue.
>>
>> That error produced (once again) is:
>> hostname.o: In function `ip_to_hostname(in_addr *, unsigned int *)':
>> hostname.o(.text+0x52b): undefined reference to `my_gethostbyname_r'
>> *** Error code 1
>> I'm guessing there have been some changes to some libraries from 3.5 to 4.x
>> (fixes)?
>A significant amount of libc_r improvements in 4.x; the mysql port doesn't
>build on 3.x, as is.
>
>(you can hack at it; USE_GMAKE=yes and --with-mit-pthreads appears to make
>it all happen - or did, at 3.23.36 - but then you have to change the patches
>in the files/ directory to be gmake instead of BSD make....)
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.20010515071151.009afab0>