Tema: mysql40-server install error
Autorius: Irmantas
Data: 2008-10-27 17:12:06
sveiki,

Pradzioje stojo mysql
ilgai neieskodamas slieku galvoju updeitinsiu portus su cvsup
ko pasekoje po mysql deinstall ir bandant suinstalint
gaunu grazu atsakyma

cc -DDBUG_OFF -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -o 
test_thr_alarm -DDEFAULT_BASEDIR=\"/usr/local\" -DDATADIR=\"/var/db/mysql\"  
-DDEFAULT_CHARSET_HOME=\"/usr/local\" -DSHAREDIR=\"/usr/local/share/mysql\"  
-DHAVE_CONFIG_H -I./../include -I../include -I.. -I. -DDBUG_OFF -O -pipe -mcpu=pentiumpro 
 -D_THREAD_SAFE -DMAIN ./test_thr_alarm.c  libmysys.a ../dbug/libdbug.a 
.../strings/libmystrings.a -lz -lcrypt -lm
/var/tmp//ccs7lpJG.o: In function `thr_alarm':
/var/tmp//ccs7lpJG.o(.text+0x313): undefined reference to `pthread_equal'
/var/tmp//ccs7lpJG.o(.text+0x336): undefined reference to `pthread_kill'
/var/tmp//ccs7lpJG.o: In function `process_alarm_part2':
/var/tmp//ccs7lpJG.o(.text+0x550): undefined reference to `pthread_equal'
/var/tmp//ccs7lpJG.o(.text+0x567): undefined reference to `pthread_kill'
/var/tmp//ccs7lpJG.o(.text+0x607): undefined reference to `pthread_equal'
/var/tmp//ccs7lpJG.o(.text+0x61e): undefined reference to `pthread_kill'
/var/tmp//ccs7lpJG.o: In function `end_thr_alarm':
/var/tmp//ccs7lpJG.o(.text+0x70f): undefined reference to `pthread_equal'
/var/tmp//ccs7lpJG.o(.text+0x736): undefined reference to `pthread_kill'
/var/tmp//ccs7lpJG.o(.text+0x794): undefined reference to 
`pthread_cond_timedwait'
/var/tmp//ccs7lpJG.o: In function `thr_alarm_kill':
/var/tmp//ccs7lpJG.o(.text+0x864): undefined reference to `pthread_equal'
/var/tmp//ccs7lpJG.o(.text+0x8a3): undefined reference to `pthread_kill'
/var/tmp//ccs7lpJG.o: In function `main':
/var/tmp//ccs7lpJG.o(.text+0x1060): undefined reference to 
`pthread_attr_init'
/var/tmp//ccs7lpJG.o(.text+0x1073): undefined reference to 
`pthread_attr_setscope'
/var/tmp//ccs7lpJG.o(.text+0x1086): undefined reference to 
`pthread_attr_setdetachstate'
/var/tmp//ccs7lpJG.o(.text+0x1099): undefined reference to 
`pthread_attr_setstacksize'
/var/tmp//ccs7lpJG.o(.text+0x10c7): undefined reference to `pthread_create'
/var/tmp//ccs7lpJG.o(.text+0x1106): undefined reference to 
`pthread_attr_setscope'
/var/tmp//ccs7lpJG.o(.text+0x1166): undefined reference to `pthread_create'
/var/tmp//ccs7lpJG.o(.text+0x11af): 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+0x5a): undefined reference to 
`pthread_attr_setschedparam'
*** Error code 1

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

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

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

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

 turit kokiu ideju bo googlas nelabai nori pasakyt kas cia do velniava

freebsd 5.1-release

any idea's are welcome