hi,
i have problems to compile virtuoso on mac os x 10.4.6 (tiger).
developer tools from
apple are installed. some packages from darwinports, e.g. gawk and
libtool.
the machine is a powerbook (PPC/32Bit CPU/2 GB Ram).
$ CFLAGS="-O -m32"
$ export CFLAGS
$ ./configure
[...]
$ make
after 10 minutes of compiling the process ends with:
(cd .libs && rm -f libvirtodbc.la && ln -s ../libvirtodbc.la
libvirtodbc.la)
/bin/sh ../../libtool --mode=link gcc -O -m32 -s -o virtodbc32.la -
rpath /usr/local/lib -module -avoid-version -export-dynamic -no-
undefined -export-symbols virt.exp virt_vers.lo libvirtodbc.la ../../
libsrc/Thread/libthrs.la ../../libsrc/Dk/libdk1t.la ../../libsrc/util/
libutil.la ../../libsrc/zlib/libz.la -lssl -lcrypto -lm -lm
sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < virt.exp
> .libs/virtodbc32-symbols.expsym
gcc -bundle -o .libs/virtodbc32 .libs/virt_vers.o -
all_load ./.libs/libvirtodbc.a ../../libsrc/Thread/.libs/
libthrs.a ../../libsrc/Dk/.libs/libdk1t.a ../../libsrc/util/.libs/
libutil.a ../../libsrc/zlib/.libs/libz.a -lssl -lcrypto -lm -m32
/usr/bin/ld: warning multiple definitions of symbol _regcomp
../../libsrc/util/.libs/libutil.a(libutil_la-regexp.o) definition of
_regcomp in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib
(regcomp.So) definition of _regcomp
/usr/bin/ld: warning multiple definitions of symbol _regexec
../../libsrc/util/.libs/libutil.a(libutil_la-regexp.o) definition of
_regexec in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib
(regexec.So) definition of _regexec
nmedit -s .libs/virtodbc32-symbols.expsym .libs/virtodbc32
nmedit: symbols names listed in: .libs/virtodbc32-symbols.expsym not
in: /Users/asche/Desktop/Virtuoso/virtuoso-opensource-4.5.1/binsrc/
driver/.libs/virtodbc32
_SQLCloseCursor
_SQLDrivers
make[2]: *** [virtodbc32.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
it looks like a lib is missing!?
i have tried to configure with iodbc (--with-iodbc (and have it build
and installed before)), but this gives other
compile errors from libtool like libsrc/odbcsdk/lib not found.
can somebody point out what is wrong here?
greetings from germany,
jan