>Description:

I have compiled MySQL 3.23.32 on Slackware 7.1 with BerkeleyDB support.
Configure, make and make install work fine without any errors, however as
soon as I run scripts/mysql_install_db it fails:

Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
scripts/mysql_install_db: line 1: 28667 Segmentation fault
/usr/local/mysql/libexec/mysqld --bootstrap --skip-grant-tables
--basedir=/usr/local/mysql --datadir=/usr/local/mysql/var
Installation of grant tables failed!

gdb tells me:

[New Thread 1024 (runnable)]
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (runnable)]
0x0 in ?? ()

(gdb) bt
#0  0x0 in ?? ()
#1  0x401e39e8 in ?? ()
#2  0x401dd50a in ?? ()
#3  0x401c795f in ?? ()
#4  0x401c7b14 in ?? ()
#5  0x401c7d7c in ?? ()
#6  0x4019b82c in getservbyname_r () from /lib/libc.so.6
#7  0x4019b6a4 in getservbyname () from /lib/libc.so.6
#8  0x80c43af in set_ports ()
#9  0x80c4602 in server_init ()
#10 0x80c539f in main ()
#11 0x400f4577 in __libc_start_main () from /lib/libc.so.6

>How-To-Repeat:

Compile MySQL 3.23.32 with default options (except for BerkeleyDB support)
under Slackware 7.1 on a Athlon TBird 750, I assume.

>Fix:

Wish I knew.

>Submitter-Id:  <submitter ID>
>Originator:    Rob Kaper
>Organization:
  Rob Kaper | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
            | http://capsi.com/ - telnet://chat.capsi.com:2300/
            | 'What? In riddles?' said Gandalf. 'No! For I was talking aloud
            | to myself. A habit of the old: they choose the wisest person
            | present to speak to; the long explanations needed by the young
            | are wearying.' - "Lord of the Rings", JRR Tolkien
>
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis:      Startup of mysqld in scripts/mysql_install_db causes SEGV
>Severity:      
>Priority:      
>Category:      mysql
>Class:         
>Release:       mysql-3.23.32 (Source distribution)

>Environment:
        
System: Linux ezri 2.2.16 #22 Fri Jun 16 16:51:24 PDT 2000 i686 unknown
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Compilation info: CC='gcc'  CFLAGS=''  CXX='c++'  CXXFLAGS=''  LDFLAGS=''
LIBC: 
lrwxrwxrwx   1 root     root           13 Nov  1 22:25 /lib/libc.so.6 -> libc-2.1.3.so
-rwxr-xr-x   1 root     root      1013224 Mar 21  2000 /lib/libc-2.1.3.so
-rw-r--r--   1 root     root     20266642 Mar 20  2000 /usr/lib/libc.a
-rw-r--r--   1 root     root          178 Mar 20  2000 /usr/lib/libc.so
Configure command: ./configure  --prefix=/usr/local/mysql 
--with-berkeley-db=/usr/local/BerkeleyDB.3.2

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to