Re: OSR 5.0.5 and mysql



On Nov 13, 4:02 pm, Boyd Lynn Gerber <gerb...@xxxxxxxxx> wrote:
On Thu, 13 Nov 2008, migurus wrote:
On Nov 13, 3:22 pm, Boyd Lynn Gerber <gerb...@xxxxxxxxx> wrote:
On Thu, 13 Nov 2008, migurus wrote:
On Nov 13, 1:40 pm, Boyd Lynn Gerber <gerb...@xxxxxxxxx> wrote:
On Thu, 13 Nov 2008, migurus wrote:
I can not start mysql server:
# pwd
/usr/local/mysql
# bin/mysqld_safe --user=mysql &
error is:
# cat data/mysrv.mydom.com.err
080909 11:40:26  mysqld started
dynamic linker : /opt/K/mysql-4.0.16/bin/mysqld : error opening
libgthreads.so
080909 11:40:26  mysqld ended

I see that lib:
# find /usr -name "libgthreads*"
/usr/lib/libgthreads.so#
/usr/local/lib/libgthreads.a
/usr/local/lib/libgthreads.so

I add to my scripts the following.

PATH=:/bin:/etc:/usr/bin:/usr/local/bin:/tcb/bin:/usr/ccs/bin:/usr/local/ub­­­in:
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/mysql/­­­lib/mysql:/usr/local/bdb/lib:
export PATH LD_LIBRARY_PATH

I use Berkley DB.  I installed it in /usr/local/bdb.  I would modify your
script to add this.  Sometime adding LD_RUN_PATH, I only use the above.

--
Boyd Gerber <gerb...@xxxxxxxxx>
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047- Hide quoted text -

- Show quoted text -

yes, as you can see the custom list shows
FSU Pthreads (ver 3.9)
I assume this is what is needed.

You really need to get FSU-thread-3.14.  I have source on

ftp://ftp.zenez.com/pub/zenez/prgms/FSU-threads-3.14.tar.gz

or you can get it from the Skunkware section or from ftp2.sco.com
Skunkware.

3.9 has some bugs and security issues.
Thank you.

Do I need to uninstall 3.9 before installing 3.14 version?

It is usually better if you do.

--
Boyd Gerber <gerb...@xxxxxxxxx>
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047- Hide quoted text -

- Show quoted text -

I am having problems with compilation.
1. my make does not like syntax like this:
CFLAGS += -DNO_INLINE
so, I collected all those flags and manually put them on a single line
and that made my make happy

2. # make
gcc -melf -fPIC -I../include -g -DSCO5 -DC_CONTEXT_SWITCH -
DCLEANUP_HEAP -D_POSIX -DAUTO_INIT -DNO_INLIN -DSRP -DC_INTERFACE -DIO
-DUSE_POLL -c pthread.c
In file included from internals.h:69,
from pthread.c:37:
.../include/pthread.h:288: warning: `struct timespec' declared inside
parameter list
.../include/pthread.h:288: warning: its scope is only this definition
or declaration, which is probably not what you want.
.../include/pthread.h:321: field `starttime' has incomplete type
.../include/pthread.h:321: field `deadline' has incomplete type
.../include/pthread.h:321: field `period' has incomplete type
In file included from pthread.c:37:
internals.h:235: field `k_timeofday' has incomplete type

My environment is:
# type gcc
gcc is /usr/local/bin/gcc
# echo $PATH
/bin:/sbin:/etc:/usr/bin:/tcb/bin:/usr/local/bin:/usr/bin/X11:.:/opt/
java2-1.2.2/bin:/usr/X11R6/bin:/usr/local/sbin

I ran out of ideas. Any pointers would be appreciated.

.



Relevant Pages

  • Re: OSR 5.0.5 and mysql
    ... # cat data/mysrv.mydom.com.err ... script to add this. ... or you can get it from the Skunkware section or from ftp2.sco.com ...
    (comp.unix.sco.misc)
  • Re: hidden files
    ... I believe I am accessing the correct file at the right directory. ... Somehow I missed your script and I rechecked all your posts and still ... do the following and post it all here, I removed the cat so it should be a ... # ls -l `pwd` ...
    (comp.os.linux.security)
  • Re: OSR 5.0.5 and mysql
    ... # cat data/mysrv.mydom.com.err ... script to add this. ... Looks like it found threads lib now, ...
    (comp.unix.sco.misc)