This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gsl on macos x



Trying to build gsl on MacOS X - I get all the way to the end, then the
dynamlic linker (DYLD) complains about multiply defined symbols when
building libgsl.dylib.  I get about a 100 lines of messages like this:

ld: multiple definitions of symbol _gsl_block_alloc
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_alloc in
section (__TEXT,__text)
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_alloc in
section (__TEXT,__text)
ld: multiple definitions of symbol _gsl_block_calloc
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_calloc in
section (__TEXT,__text)
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_calloc in
section (__TEXT,__text)
ld: multiple definitions of symbol _gsl_block_char_alloc
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_char_alloc in
section (__TEXT,__text)
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_char_alloc in
section (__TEXT,__text)
ld: multiple definitions of symbol _gsl_block_char_calloc
block/.libs/libgslblock.al(init.lo) definition of _gsl_block_char_calloc
in section (__TEXT,__text)
...
ld: multiple definitions of symbol _gsl_vector_view_array_with_stride
vector/.libs/libgslvector.al(view.lo) definition of
_gsl_vector_view_array_with_stride in section (__TEXT,__text)
vector/.libs/libgslvector.al(view.lo) definition of
_gsl_vector_view_array_with_stride in section (__TEXT,__text)
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libgsl.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### make failed, exit code 2


I know DYLD is very picky about multiple symbol definitions - unlike ld on
most unices.  Does anyone know if there is any solution to this problem?

-Jeff

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/CDC  R/CDC1        Email  : jsw@cdc.noaa.gov
325 Broadway                Web    : www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80303-3328 Office : Skaggs Research Cntr 1D-124


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]