Re: OSR 5.0.5 and mysql
- From: Boyd Lynn Gerber <gerberb@xxxxxxxxx>
- Date: Thu, 13 Nov 2008 18:21:49 -0700
On Thu, 13 Nov 2008, migurus wrote:
On Nov 13, 4:36 pm, migurus <migu...@xxxxxxxxx> wrote:On Nov 13, 4:02 pm, Boyd Lynn Gerber <gerb...@xxxxxxxxx> wrote:On Thu, 13 Nov 2008, migurus wrote:
It is usually better if you do.
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.- Hide quoted text -
- Show quoted text -
I forgot about prepackaged software on sco site.
So, I downloaded FSU-threads-3.14-VOLS.cpio from sco
uninstalled ver 3.9 then installed ver 3.14, so in the custom list I
have:
FSUpthreads - POSIX 1003.1c threads implementation (ver 3.14)
BUT, I do not see the libraries I used to have in /usr/local/lib
# find /usr -name "libgthreads*"
/usr/lib/libgthreads.so#
I used to have two more: /usr/local/lib/libgthreads.a and /usr/local/
lib/libgthreads.so
And mysql is not happy about it with the message
dynamic linker : /opt/K/mysql-4.0.16/bin/mysqld : error opening
libgthreads.so
Is there a trick to get those libgthreads back?
In custom I ran Examin->Files on it and I see those files went into:
./opt/K/SCO/FSUpthreads/3.14/usr/lib/FSU/libgthreads.a
./opt/K/SCO/FSUpthreads/3.14/usr/lib/FSU/libgthreads.so
Do I need to play with soft links? or just set LD_LIBRARY_PATH to
point to /opt/K/SCO/FSU... ?
Usually it creates the links. Do a Custom check links. Make a note of the FSU threads links and then manually add them. They may be the ones with # after them.
From the about
ln -s /opt/K/SCO/FSUpthreads/3.14/usr/lib/FSU/libgthreads.a /usr/lib/libfthreads.a
ln -s /opt/K/SCO/FSUpthreads/3.14/usr/lib/FSU/libgthreads.so /usr/lib/libfthreads.so
--
Boyd Gerber <gerberb@xxxxxxxxx>
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
.
- Follow-Ups:
- Re: OSR 5.0.5 and mysql
- From: migurus
- Re: OSR 5.0.5 and mysql
- References:
- OSR 5.0.5 and mysql
- From: migurus
- Re: OSR 5.0.5 and mysql
- From: Boyd Lynn Gerber
- Re: OSR 5.0.5 and mysql
- From: migurus
- Re: OSR 5.0.5 and mysql
- From: Boyd Lynn Gerber
- Re: OSR 5.0.5 and mysql
- From: migurus
- Re: OSR 5.0.5 and mysql
- From: Boyd Lynn Gerber
- Re: OSR 5.0.5 and mysql
- From: migurus
- Re: OSR 5.0.5 and mysql
- From: migurus
- OSR 5.0.5 and mysql
- Prev by Date: Re: OSR 5.0.5 and mysql
- Next by Date: Re: Error installing module using cpan
- Previous by thread: Re: OSR 5.0.5 and mysql
- Next by thread: Re: OSR 5.0.5 and mysql
- Index(es):
Relevant Pages
|