Phil writes:
> Hello.
>
> I just finished installing Mysql and after the make install i ran
> script/mysql_install_db and got this error;
> /usr/libexec/ld.so: Undefined symbol "_fchdir" called from
> mysqld:/usr/lib/libc_r.so.3.0 at 0x201a96a8
> Installation of grant tables failed!
>
> So i went to check the log files as suggest but there are no log files.
>
> What can I do???
> To note. I am running FreeBSD 2.2.7 and the mysql install is 3.22.22
>
> Thankyou for the assistance in advance.
>
>
> Phil
>
Hello Phil,
This looks like a bug in your libc_r version.
Try recompiling MySQL with the following options:
--with-mysqld-ldflags=-all-static --disable-shared
Regards,
- Jani
--
+---------------------------------------------------------------------+
| TcX ____ __ _____ _____ ___ |
| /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Jani Tolonen |
| /*/ /*/ /*/ \*\_ |*| |*||*| mailto: jani@stripped |
| /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Helsinki |
| /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|_____ Finland |
| ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^ |
| /*/ \*\ Developers Team |
+---------------------------------------------------------------------+