[unixODBC-support] build problems on mac os x

Richard Manyanza 1.liseki at gmail.com
Tue Mar 4 10:06:51 GMT 2008


I am building on an intel mac os x 10.4.11 (darwin 8.11.1) and make is
throwing the following error(s):

gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
.libs/libiodbcadm.2.1.18.dylib  .libs/Info.o .libs/drvconn.o .libs/error.o
.libs/libiodbcadm.lax/libiodbcadm-gtk.a/administrator.o
.libs/libiodbcadm.lax/libiodbcadm-gtk.a/confirm.o
.libs/libiodbcadm.lax/libiodbcadm-gtk.a/connectionpooling.o
.libs/libiodbcadm.lax/libiodbcadm-gtk.a/driverchooser.o
.libs/libiodbcadm.lax/libiodbcadm-gtk.a/driversetup.o
.libs/libiodbcadm.lax/libiodbcadm-gtk.a/dsnchooser.o
.libs/libiodbcadm.lax/libiodbcadm-gtk.a/errorbox.o
.libs/libiodbcadm.lax/libiodbcadm-gtk.a/gensetup.o
.libs/libiodbcadm.lax/libiodbcadm-gtk.a/main.o
.libs/libiodbcadm.lax/libiodbcadm-gtk.a/messagebox.o
.libs/libiodbcadm.lax/libiodbcadm-gtk.a/translatorchooser.o
.libs/libiodbcadm.lax/libiodbc_common.a/dlf.o
.libs/libiodbcadm.lax/libiodbc_common.a/inifile.o
.libs/libiodbcadm.lax/libiodbc_common.a/iodbc_error.o
.libs/libiodbcadm.lax/libiodbc_common.a/misc.o
.libs/libiodbcadm.lax/libiodbc_common.a/SQLGetConfigMode.o
.libs/libiodbcadm.lax/libiodbc_common.a/SQLGetPrivateProfileString.o
.libs/libiodbcadm.lax/libiodbc_common.a/SQLReadFileDSN.o
.libs/libiodbcadm.lax/libiodbc_common.a/SQLSetConfigMode.o
.libs/libiodbcadm.lax/libiodbc_common.a/SQLValidDSN.o
.libs/libiodbcadm.lax/libiodbc_common.a/SQLWriteFileDSN.o
.libs/libiodbcadm.lax/libiodbc_common.a/SQLWritePrivateProfileString.o
.libs/libiodbcadm.lax/libiodbc_common.a/unicode.o   -L/usr/local//lib
-L/usr/local/lib /usr/lib/libc.dylib /usr/lib/libz.dylib -L/usr/X11R6/lib
/usr/local//lib/libpangoft2-1.0.dylib /usr/local/lib/libfontconfig.dylib
/usr/local/lib/libfreetype.dylib /usr/local/lib/libexpat.dylib
/usr/local/lib/libpng12.dylib -lz -lXrender -lSM -lICE -lX11
/usr/lib/libiconv.dylib -lc -ldl
/usr/local//lib/libgtk-x11-2.0.dylib/usr/local//lib/libgdk-
x11-2.0.dylib /usr/local/lib/libatk-1.0.dylib /usr/local/lib/libgobject-
2.0.dylib /usr/local/lib/libgmodule-2.0.dylib /usr/local/lib/libglib-
2.0.dylib /usr/local//lib/libgdk_pixbuf-2.0.dylib /usr/lib/libm.dylib -lm
/usr/local//lib/libpangocairo-1.0.dylib /usr/X11R6/lib/libXrender.dylib
/usr/X11R6/lib/libSM.dylib /usr/X11R6/lib/libICE.dylib
/usr/X11R6/lib/libX11.dylib
/usr/local//lib/libpango-1.0.dylib/usr/local/lib/libcairo.dylib
/usr/local//lib/libgobject-
2.0.dylib /usr/local//lib/libgmodule-2.0.dylib /usr/local//lib/libglib-
2.0.dylib /usr/local/lib/libintl.dylib /usr/local/lib/libiconv.dylib
../iodbcinst/.libs/libiodbcinst.dylib /usr/lib/libdl.dylib
../iodbc/.libs/libiodbc.dylib  -install_name
/usr/local/lib/libiodbcadm.2.dylib -Wl,-compatibility_version -Wl,4
-Wl,-current_version -Wl,4.18
ld: multiple definitions of symbol _SQLValidDSN
.libs/libiodbcadm.lax/libiodbc_common.a/SQLValidDSN.o definition of
_SQLValidDSN in section (__TEXT,__text)
../iodbcinst/.libs/libiodbcinst.dylib(SQLValidDSN.o) definition of
_SQLValidDSN
ld: multiple definitions of symbol _SQLValidDSNW
.libs/libiodbcadm.lax/libiodbc_common.a/SQLValidDSN.o definition of
_SQLValidDSNW in section (__TEXT,__text)
../iodbcinst/.libs/libiodbcinst.dylib(SQLValidDSN.o) definition of
_SQLValidDSNW
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libiodbcadm.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


Any ideas will be appreciated. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20080304/f97826f8/attachment.html>


More information about the unixODBC-support mailing list