error when trying to install mysql 4.1.12
Jason Taylor
jason at infinitebubble.com
Sat Jun 11 18:06:46 GMT 2005
I'm not sure that command line will work. If I correctly remember what
I did, this is what worked for me:
% make -DWITH_LINUXTHREADS -DBUILD_OPTIMIZED -DWITH_OPENSSL clean
% make -DWITH_LINUXTHREADS -DBUILD_OPTIMIZED -DWITH_OPENSSL
% make -DWITH_LINUXTHREADS -DBUILD_OPTIMIZED -DWITH_OPENSSL deinstall
% make -DWITH_LINUXTHREADS -DBUILD_OPTIMIZED -DWITH_OPENSSL reinstall
% make -DWITH_LINUXTHREADS -DBUILD_OPTIMIZED -DWITH_OPENSSL clean
I'm also surprised that we seem to be the only two who have had this
problem.
Christian Astrup Bakke wrote:
> Jason Taylor wrote:
>
>> I had this same problem also on 4.11 and then discovered that the
>> options from pkgtools.conf weren't being picked up (I'd mistyped
>> mysql41-* as mysq41-*). Anyway, using the following options made it
>> work: USE_LINUXTHREADS, BUILD_OPTIMIZED, WITH_OPENSSL. I haven't
>> investigated and have no direct proof, but my guess is that
>> USE_LINUXTHREADS is the key.
>>
>
> i just tried with 'WITH_LINUXTHREADS=yes' to no avail. here is a sample
> from the install with 'make install WITH_LINUXTHREADS=yes clean':
>
> //
>
> mkdir .libs
> cc -DDBUG_OFF -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
> -I/usr/local/include/pthread/linuxthreads -I/usr/local/include -O -pipe
> -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
> -I/usr/local/include/pthread/linuxthreads -I/usr/local/include
> -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates
> -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -o
> .libs/mysql mysql.o readline.o sql_string.o completion_hash.o -lreadline
> -lncurses ../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz
> -Wl,--rpath -Wl,/usr/local/lib/mysql
> mysql.o: In function `new_mysql_completion(char const *, int, int)':
> mysql.o(.text+0x18b0): undefined reference to `rl_completion_matches'
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12/client.
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12.
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12.
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql41-client.
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql41-server.
>
> //
>
> as far as i can see, it coughs as the same error. my pkgtools.conf has
> not been touched by me in any way before or after installing mysql (both
> versions).
>
> -- christian at asba dot no
More information about the freebsd-questions
mailing list