List:Internals« Previous MessageNext Message »
From:Carl M Petersen IV Date:February 26 2001 8:49pm
Subject:Compilation Help?
View as plain text  
Hello!

  I've been trying to compile MySQL 3.23.33 with BDB3 support on Redhat
7.0.  I downloaded the source tarball rather then the RPM source as I was
unsure how to compile the RPM Source with the BDB3 libraries.  The same is
true of the Binary RPM;  I did not think I'd have BDB3 support.

  I've made several runs of configure, and consistantly seem to get a
problem linking the client when I do a 'make', though not with any of the
link errors documented in the manual.  Nor have I found anything looking
for MySQL compile problems on Redhat 7.  So here I am.  I think I'm
missing a library, but I don't know which one I need to add:

gcc -DUNDEF_THREADS_HACK -I./../include
-I../include -I./.. -I..                                -I..    -O3
-DDBUG_OFF   -fno-implicit-templates -c completion_hash.cc
/bin/sh ../libtool --mode=link gcc  -O3 -DDBUG_OFF
-fno-implicit-templates -rdynamic -o mysql  mysql.o readline.o
sql_string.o completion_hash.o ../readline/libreadline.a -lncurses
../libmysql/libmysqlclient.la  -lz -lcrypt -lnsl -lm 
mkdir .libs
gcc -O3 -DDBUG_OFF -fno-implicit-templates -rdynamic -o .libs/mysql
mysql.o readline.o sql_string.o completion_hash.o
../readline/libreadline.a -lncurses ../libmysql/.libs/libmysqlclient.so
-lz -lcrypt -lnsl -lm -lz -lcrypt -lnsl -lm -Wl,--rpath
-Wl,/usr/local/lib/mysql
../libmysql/.libs/libmysqlclient.so: undefined reference to `mkstemp64'
collect2: ld returned 1 exit status
make[2]: *** [mysql] Error 

I apologize if this is not the appropriate forum for this question, and
would appreciate a pointer to said correct forum.

Thanks,
Carl

Thread
Compilation Help?Carl M Petersen IV26 Feb
  • Compilation Help?Michael Widenius5 Mar
    • Re: Compilation Help?(Trond Eivind Glomsrød)5 Mar