Bug 9271

Summary: Symbols from libgslcblas undefined in libgsl
Product: Sisyphus Reporter: Mikhail Zabaluev <mhz>
Component: libgslAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: blocker    
Priority: P2 CC: rider
Version: unstable   
Hardware: all   
OS: Linux   

Description Mikhail Zabaluev 2006-03-19 13:53:50 MSK
libgsl собрана таким образом, что ссылки на символы из libgslcblas оказались не
определены:

$ nm -D /usr/lib/libgsl.so | grep -F cblas_dsdot
         U cblas_dsdot

Из-за этого у клиентов, использующих pkg-config --libs gsl, возникают проблемы:

i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.  -I../gnugetopt -I../trio -I- -I.
-I.  -I../gsl/specfunc -I..  -DBOGOFILTER  -pipe -Wall -O2 -march=i586
-mcpu=i686  -Wpointer-arith -ggdb -Wall -W -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align
-Wwrite-strings -Waggregate-return -Wmissing-declarations
-Wmissing-format-attribute -Wnested-externs -fno-common -Wchar-subscripts
-Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wno-system-headers -Wformat
-c bogofilter.c
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.  -I../gnugetopt -I../trio -I- -I.
-I.  -I../gsl/specfunc -I..  -DBOGOFILTER  -pipe -Wall -O2 -march=i586
-mcpu=i686  -Wpointer-arith -ggdb -Wall -W -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align
-Wwrite-strings -Waggregate-return -Wmissing-declarations
-Wmissing-format-attribute -Wnested-externs -fno-common -Wchar-subscripts
-Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wno-system-headers -Wformat
-c main.c
i586-alt-linux-gcc -DBOGOFILTER  -pipe -Wall -O2 -march=i586 -mcpu=i686 
-Wpointer-arith -ggdb -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return
-Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -fno-common
-Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type
-Wno-system-headers -Wformat   -o bogofilter  bogofilter.o main.o
libbogofilter.a     /usr/lib/libdb.so  -lgsl -lgslcblas -lm -lm 
/usr/lib/gcc/i586-alt-linux/3.4.5/../../../libgsl.so: undefined reference to
`cblas_dsdot'
Comment 1 inger@altlinux.org 2006-04-03 16:52:21 MSD
cblas добавлен в линковку