OVH Cloud OVH Cloud

erreur installation Mysql

7 réponses
Avatar
Franck Paulus
Bonjour,

en tentant d'installer mysql40-server via les ports, j'ai cette erreur que
je ne sais résoudre.

-bash-2.05b# cd /usr/ports/databases/mysql40-server/
-bash-2.05b# make install
===> Building for mysql-server-4.0.24_1
make all-recursive
Making all in include
make all-am
Making all in Docs
make all-recursive
Making all in Images
Making all in strings
Making all in dbug
Making all in mysys
/bin/cp ./thr_alarm.c ./test_thr_alarm.c
/usr/local/bin/libtool15 --preserve-dup-deps --mode=link
cc -DDBUG_OFF -O -pipe -mcpu=pentiumpro
-D_THREAD_SAFE -o test_thr_alarm -DDEFAULT_BASEDIR=\"/usr/l
ocal\" -DDATADIR="\"/var/db/mysql\"" -DDEFAULT_CHARSET_HOME="\"/usr/local\
"" -DSHAREDIR="\"/usr/local/share/mysql\
"" -DHAVE_CONFIG_H -I./../include -I../inc
lude -I.. -I. -DDBUG_OFF -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -DMAIN
./tes t_thr_alarm.c libmysys.a
../dbug/libdbug.a
z -lcrypt -lm -lc_r
cc -DDBUG_OFF -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -o
test_thr_alarm -DDEFAU
LT_BASEDIR=\"/usr/local\" -DDATADIR=\"/var/db/mysql\" -DDEFAULT_CHARSET_HOME
=\"/


































usr/local\" -DSHAREDIR=\"/usr/local/share/mysql\" -DHAVE_CONFIG_H -I./../inc
lude -I../include -I.. -I. -DDBUG_OFF -O
-pipe -mcpu=pentiumpro -D_THREAD_SAFE -DMAI
N ./test_thr_alarm.c libmysys.a ../dbug/libdbug.a
../strings/libmystrings.a -lz -lcrypt -lm
/var/tmp//ccq90A97.o: In function `thr_alarm':
/var/tmp//ccq90A97.o(.text+0x333): undefined reference to `pthread_equal'
/var/tmp//ccq90A97.o(.text+0x356): undefined reference to `pthread_kill'
/var/tmp//ccq90A97.o: In function `process_alarm_part2':
/var/tmp//ccq90A97.o(.text+0x570): undefined reference to `pthread_equal'
/var/tmp//ccq90A97.o(.text+0x587): undefined reference to `pthread_kill'
/var/tmp//ccq90A97.o(.text+0x627): undefined reference to `pthread_equal'
/var/tmp//ccq90A97.o(.text+0x63e): undefined reference to `pthread_kill'
/var/tmp//ccq90A97.o: In function `end_thr_alarm':
/var/tmp//ccq90A97.o(.text+0x72f): undefined reference to `pthread_equal'
/var/tmp//ccq90A97.o(.text+0x756): undefined reference to `pthread_kill'
/var/tmp//ccq90A97.o(.text+0x7b4): undefined reference to
`pthread_cond_timedwai t'
/var/tmp//ccq90A97.o: In function `thr_alarm_kill':
/var/tmp//ccq90A97.o(.text+0x884): undefined reference to `pthread_equal'
/var/tmp//ccq90A97.o(.text+0x8c3): undefined reference to `pthread_kill'
/var/tmp//ccq90A97.o: In function `main':
/var/tmp//ccq90A97.o(.text+0x10a0): undefined reference to
`pthread_attr_init'
/var/tmp//ccq90A97.o(.text+0x10b3): undefined reference to
`pthread_attr_setscop e'
/var/tmp//ccq90A97.o(.text+0x10c6): undefined reference to
`pthread_attr_setdeta chstate'
/var/tmp//ccq90A97.o(.text+0x10d9): undefined reference to
`pthread_attr_setstac ksize'
/var/tmp//ccq90A97.o(.text+0x1107): undefined reference to `pthread_create'
/var/tmp//ccq90A97.o(.text+0x1146): undefined reference to
`pthread_attr_setscop e'
/var/tmp//ccq90A97.o(.text+0x11a6): undefined reference to `pthread_create'
/var/tmp//ccq90A97.o(.text+0x11ef): undefined reference to
`pthread_attr_destroy '
libmysys.a(my_pthread.o): In function `my_pthread_getprio':
my_pthread.o(.text+0x1b): undefined reference to `pthread_getschedparam'
libmysys.a(my_pthread.o): In function `my_pthread_attr_setprio':
my_pthread.o(.text+0x4a): undefined reference to
`pthread_attr_setschedparam'
*** Error code 1

Stop in /usr/ports/databases/mysql40-server/work/mysql-4.0.24/mysys.
*** Error code 1

Stop in /usr/ports/databases/mysql40-server/work/mysql-4.0.24.
*** Error code 1

Stop in /usr/ports/databases/mysql40-server/work/mysql-4.0.24.
*** Error code 1

Stop in /usr/ports/databases/mysql40-server.


La liste des ports est à jour. Si quelqu'un a un indice, je suis preneur.

Merci

Franck

7 réponses

Avatar
sp75crea
tu serais pas sur FreeBSD par hasard ?
Avatar
Arnaud Launay
Le 19 Jul 2005 08:42:18 -0700, sp75crea écrivit:
tu serais pas sur FreeBSD par hasard ?


Pourtant, sous FreeBSD, ça marche...

Arnaud.
--
Perso: http://launay.org/blog/
Consulting: http://www.cusae.com/
Hébergement: http://www.nocworld.com/

Avatar
sp75crea
oui voila la preuve.
Avatar
Arnaud Launay
Le 19 Jul 2005 11:20:13 -0700, sp75crea écrivit:
oui voila la preuve.


Et si on vous sort x personnes vous indiquant qu'elles, elles y
sont arrivées sans problème ?

Arnaud.
--
Perso: http://launay.org/blog/
Consulting: http://www.cusae.com/
Hébergement: http://www.nocworld.com/

Avatar
sp75crea
Je ne dis pas que personne n'a reussi, mais plutot que les packets
evoluent tellement, qu'il arrive un jour que cela marche tres bien pour
tel ou tel personne, puis un autre jour, c'est HS.
Avatar
Benjamin Pineau
Le Tue, 19 Jul 2005 21:50:37 +0200,
Xavier écrivait:

Evidemment je ne "saute" pas de version. Et oui, sur 10 serveurs c'est
du travail. Même qu'on me paie pour ça.


Pour faire tourner la 6 sur 10 serveurs ? sympa ...

Avatar
Franck Paulus
Pour en revenir au sujet initial, ca a marché avec une petite option en plus
lors de l'installation (CFLAGS = lpthread )

A+ :)


"Xavier" a écrit dans le message de
news:1gzz24b.sg3rqo1jmehbyN%
Benjamin Pineau wrote:

Pour faire tourner la 6 sur 10 serveurs ? sympa ...


La 6, c'est chez moi, pas fou, et je me méfie des relations contre
nature avec les boucs.

--
Xav