Discussion:
mysql 3.23
(too old to reply)
migur
2003-11-26 02:10:05 UTC
Permalink
I cannot compile mysql 3.23.58, configure dies on checking size of
char.
Here is exerb from the log:

configure:14375: checking size of char
configure:14654: gcc -o conftest -O3 -DDBUG_OFF -DSCO conftest.c
-lgthreads
-lsocket -lgthreads -lz -lcrypt -lm -lgthreads -lsocket -lgthreads
&5
configure:14657: $? = 0
configure:14659: ./conftest
./configure[14660]: 28359 Memory fault(coredump)

I tried to compile that conftest.c without any libraries and it run
fine, but as soon as I compile and link it with libgthreads it dumps
core.

I have OpenServer 5.0.5, gcc ver.2.95.2
there are two versions of thread libraries installed (don't know why):

***@develop # find /usr/lib -name libgthreads.a -exec ls -l {}
lrwxrwxrwx 1 root sys 52 Apr 16 2002
/usr/lib/libgthreads.a ->
/opt/K/SKUNK98/FSUpthreads/3.5/usr/lib/libgthreads.a

***@develop # find /usr/local/lib -name libgthreads.a -exec ls -l {}
lrwxrwxrwx 1 root sys 60 Apr 16 2002
/usr/local/lib/libgthreads
.a -> /opt/K/SKUNKWARE/FSUpthreads/3.9/usr/local/lib/libgthreads.a

Is this the root of my problem? Does anyone know how to overcome it?

I would really like to be able to upgrade at least to mysql 3.23 from
what is included in skunkware (ver.3.21).
Thanks.
Michael.
Boyd Gerber
2003-11-25 12:20:59 UTC
Permalink
Post by migur
I cannot compile mysql 3.23.58, configure dies on checking size of
char.
configure:14375: checking size of char
configure:14654: gcc -o conftest -O3 -DDBUG_OFF -DSCO conftest.c
-lgthreads
-lsocket -lgthreads -lz -lcrypt -lm -lgthreads -lsocket -lgthreads
&5
configure:14657: $? = 0
configure:14659: ./conftest
./configure[14660]: 28359 Memory fault(coredump)
I tried to compile that conftest.c without any libraries and it run
fine, but as soon as I compile and link it with libgthreads it dumps
core.
I have OpenServer 5.0.5, gcc ver.2.95.2
lrwxrwxrwx 1 root sys 52 Apr 16 2002
/usr/lib/libgthreads.a ->
/opt/K/SKUNK98/FSUpthreads/3.5/usr/lib/libgthreads.a
lrwxrwxrwx 1 root sys 60 Apr 16 2002
/usr/local/lib/libgthreads
.a -> /opt/K/SKUNKWARE/FSUpthreads/3.9/usr/local/lib/libgthreads.a
Is this the root of my problem? Does anyone know how to overcome it?
I would really like to be able to upgrade at least to mysql 3.23 from
what is included in skunkware (ver.3.21).
I had a problem with my HD with all the information. I am trying to
resurect it. You need the latest FSU-threads driver which was on my site.
I hope to have my ftp.zenez.com up by next week.


Sorry for the problems.
migur
2003-12-02 17:25:27 UTC
Permalink
Post by Boyd Gerber
Post by migur
I cannot compile mysql 3.23.58, configure dies on checking size of
char.
configure:14375: checking size of char
configure:14654: gcc -o conftest -O3 -DDBUG_OFF -DSCO conftest.c
-lgthreads
-lsocket -lgthreads -lz -lcrypt -lm -lgthreads -lsocket -lgthreads
&5
configure:14657: $? = 0
configure:14659: ./conftest
./configure[14660]: 28359 Memory fault(coredump)
I tried to compile that conftest.c without any libraries and it run
fine, but as soon as I compile and link it with libgthreads it dumps
core.
I have OpenServer 5.0.5, gcc ver.2.95.2
lrwxrwxrwx 1 root sys 52 Apr 16 2002
/usr/lib/libgthreads.a ->
/opt/K/SKUNK98/FSUpthreads/3.5/usr/lib/libgthreads.a
lrwxrwxrwx 1 root sys 60 Apr 16 2002
/usr/local/lib/libgthreads
.a -> /opt/K/SKUNKWARE/FSUpthreads/3.9/usr/local/lib/libgthreads.a
Is this the root of my problem? Does anyone know how to overcome it?
I would really like to be able to upgrade at least to mysql 3.23 from
what is included in skunkware (ver.3.21).
I had a problem with my HD with all the information. I am trying to
resurect it. You need the latest FSU-threads driver which was on my site.
I hope to have my ftp.zenez.com up by next week.
Sorry for the problems.
On ftp.zenez.com in lib directory I saw libpthread.so.1,
but mysql configure was referring to libgthreads.
- Michael.
Boyd Gerber
2003-12-02 03:05:33 UTC
Permalink
Post by migur
Post by Boyd Gerber
Post by migur
I cannot compile mysql 3.23.58, configure dies on checking size of
char.
configure:14375: checking size of char
configure:14654: gcc -o conftest -O3 -DDBUG_OFF -DSCO conftest.c
-lgthreads
-lsocket -lgthreads -lz -lcrypt -lm -lgthreads -lsocket -lgthreads
&5
configure:14657: $? = 0
configure:14659: ./conftest
./configure[14660]: 28359 Memory fault(coredump)
I tried to compile that conftest.c without any libraries and it run
fine, but as soon as I compile and link it with libgthreads it dumps
core.
I have OpenServer 5.0.5, gcc ver.2.95.2
lrwxrwxrwx 1 root sys 52 Apr 16 2002
/usr/lib/libgthreads.a ->
/opt/K/SKUNK98/FSUpthreads/3.5/usr/lib/libgthreads.a
lrwxrwxrwx 1 root sys 60 Apr 16 2002
/usr/local/lib/libgthreads
.a -> /opt/K/SKUNKWARE/FSUpthreads/3.9/usr/local/lib/libgthreads.a
Is this the root of my problem? Does anyone know how to overcome it?
I would really like to be able to upgrade at least to mysql 3.23 from
what is included in skunkware (ver.3.21).
I had a problem with my HD with all the information. I am trying to
resurect it. You need the latest FSU-threads driver which was on my site.
I hope to have my ftp.zenez.com up by next week.
Sorry for the problems.
On ftp.zenez.com in lib directory I saw libpthread.so.1,
but mysql configure was referring to libgthreads.
I am changing things right now. ftp.zenez.com will point to a different
place before next week. I am moving machines around at the moment.

Sorry,

Boyd
Krzysztof Hrebeniuk
2003-12-04 15:24:01 UTC
Permalink
You can also try: http://mozilla.ecok.edu or
ftp://mozilla.ecok.edu/mozilla for library you are looking for. Or you
can use ready binaries.

Krzysztof
--
-----------------------------------------------------------------
Krzysztof Hrebeniuk
e-mail: ***@opole.pios.gov.pl
Wojewodzki Inspektorat Ochrony Srodowiska
45-035 Opole, ul. Nysy Luzyckiej 42
tel. (48)(077) 454 22 89, 453 99 06
fax (48)(077) 453 00 69
Poland
migur
2003-12-04 23:42:15 UTC
Permalink
Post by Krzysztof Hrebeniuk
You can also try: http://mozilla.ecok.edu or
ftp://mozilla.ecok.edu/mozilla for library you are looking for. Or you
can use ready binaries.
Krzysztof
--
-----------------------------------------------------------------
Thanks a lot!
I really appreciate that you made available those binaries.

I got mysql 4.0.16,
fired it up no problems.

But now I need a shared library, libncurses.so.4,
without it mysql does not run,
please see below:

$ bin/mysql -e "SELECT host,db,user FROM db" mysql
dynamic linker : bin/mysql : error opening /usr/local/lib/libncurses.so.4
Killed

Internet search did not produce anything helpful.
I looked at skunkware, but did not see any relevant stuff.
Where can I get that library?
Thanks,
Michael.
Krzysztof Hrebeniuk
2003-12-05 12:09:12 UTC
Permalink
Post by migur
I looked at skunkware, but did not see any relevant stuff.
Where can I get that library?
libncurses.so.4 comes from SCO Skunkware 2000 - Ncurses package.

Krzysztof
--
-----------------------------------------------------------------
Krzysztof Hrebeniuk
e-mail: ***@opole.pios.gov.pl
Wojewodzki Inspektorat Ochrony Srodowiska
45-035 Opole, ul. Nysy Luzyckiej 42
tel. (48)(077) 454 22 89, 453 99 06
fax (48)(077) 453 00 69
Poland
Loading...