>Description:
mysql 3.23.49 uses libtool 1.3.5.  That version of libtool happens to be broken
on Tru64 4.0F PK3.  It fails 17 of 49 tests that come with the libtool package.
libtool 1.4.2 passes all of its tests on this platform.  The problem I have
when building mysql 3.23.49 is that libtool does not properly pass the rpath
option when linking binaries (mysql in particular).  This results in users
having to set LD_LIBRARY_PATH properly before running the binaries.  I'd like
to avoid that.  I'm not sure if using libtool 1.4.2 with mysql 3.23.49 would
fix this problem as I'm not enough of a libtool wizard to try testing that.
But I'm hoping that using a newer version of libtool would resolve the mysql
problem.

>How-To-Repeat:
Build mysql 3.23.49 on Tru64 4.0F PK3.  I happened to use the following
configure line:

env CC=cc CXX=cxx CFLAGS=-O4 -ifo -pthread -fast -inline all CXXFLAGS=-O4 -pthread 
-fast -inline all -noexceptions -nortti ./configure --prefix=/usr/local/mysql 
--enable-large-files --with-named-thread-libs=-lpthread -lexc 
--enable-thread-safe-client --with-mysqld-user=mysql --with-extra-charset=complex 
--with-innodb --with-berkely-db

Then install mysql as normal.  Then run mysql.  You'll get this error:

long@robin[6:39pm]/homeb/long/src/mysql-3.23.49 > mysql
5924:/usr/local/mysql/bin/mysql: /sbin/loader: Fatal Error: cannot map 
libmysqlclient.so


>Fix:
Switch to using libtool 1.4.2 for building mysql from source.  Unknown whether
this would actually solve the problem I'm seeing but at least libtool 1.4.2
passes its own tests on this platform.

>Submitter-Id:  <submitter ID>
>Originator:    Jeff Long
>Organization:
  Jeff Long
>
>MySQL support: none
>Synopsis:      libtool 1.3.5 (as used by mysql) broken on Tru64 4.0F PK3
>Severity:      non-critical
>Priority:      low
>Category:      mysql
>Class:         change-request
>Release:       mysql-3.23.49 (Source distribution)
>Server: /usr/local/mysql/bin/mysqladmin  Ver 8.23 Distrib 3.23.49, for dec-osf4.0f on 
>alpha
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version          3.23.49
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /tmp/mysql.sock
Uptime:                 2 hours 34 min 6 sec

Threads: 1  Questions: 29  Slow queries: 0  Opens: 12  Flush tables: 1  Open tables: 6 
Queries per second avg: 0.003
>Environment:
        
System: OSF1 robin.cc.ku.edu V4.0 1229 alpha
Machine: alpha
Some paths:  /usr/bin/perl /usr/bin/make /homeb/long/bin/gmake /usr/local/bin/gcc 
/usr/bin/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf4.0/2.7.2/specs
gcc version 2.7.2
Compilation info: CC='cc -std1'  CFLAGS='-O4 -ifo -pthread -fast -inline all'  
CXX='cxx'  CXXFLAGS='-O4 -pthread -fast -inline all -noexceptions -nortti'  LDFLAGS=''
LIBC: 
lrwxr-xr-x   1 root     system        17 Jan 17  2001 /lib/libc.a -> ../ccs/lib/libc.a
lrwxr-xr-x   1 root     system        17 Jan 17  2001 /usr/lib/libc.a -> 
../ccs/lib/libc.a
Configure command: ./configure  --prefix=/usr/local/mysql --enable-large-files 
'--with-named-thread-libs=-lpthread -lexc' --enable-thread-safe-client 
--with-mysqld-user=mysql --with-extra-charset=complex --with-innodb --with-berkely-db

---------------------------------------------------------------------
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