Hi Jan,

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).

You did not have to use libtool from darwinports as the glibtool from the Apple development package is good enough.

For Mac OS X Universal builds, we will package a special version of the libtool command with a couple of modifications, untill such time that Apple fixes their code base.

$ 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?

Unfortunately one update did not make it into the archive in time.

A possible workaround is to edit the binsrc/drivers/Makefile.am file and add a comment character (#) before the -no-undefined flag. Then you need to regenerate the Makefile using the top ./autogen.sh script.

We are working to add this back into the archive. Once this is done i will send you a diff.

Thanks for your quick response. You are actually the very first user that has responded and added yourself to the mailing-list.


Patrick
--
Patrick van Kleef            Email : <vos.ad...@openlinksw.com>
Virtuoso Maintainer          Web   : <http://virtuoso.openlinksw.com>
OpenLink Software

Reply via email to