Hi,

I'm trying to compile an apache module that uses
mysql, but I keep getting this weird error message:

ld: common symbols not allowed with MH_DYLIB output
format with the -multi_module option
/usr/local/mysql/lib/libmysqlclient.a(charset.o)
definition of common _all_charsets (size 1024)
/usr/local/mysql/lib/libmysqlclient.a(my_error.o)
definition of common _errbuff (size 512)
/usr/bin/libtool: internal link edit command failed

Anyone seen this error? or know how to fix it?

this is on a mac osx 10.3, using libtool... Here's the
original command which causes this error:

/usr/local/bin/libtool --silent --mode=link gcc -g -O2
-I/usr/local/mysql/include -Wall
-I/usr/local/mysql/include
-I/usr/local/apache2/include
-I/usr/local/apache2/include
-I/usr/local/apache2/include -L/usr/local/mysql/lib
-lmysqlclient -lz -lm -L/usr/local/apache2/lib -rpath
/usr/local/mysql/lib -o libmod_dav_repos.la
-avoid-version mod_dav_repos.lo repos.lo props.lo
search.lo dbms.lo util.lo lock.lo version.lo
dbms_mysql.lo -lmysqlclient -L/usr/local/apache2/lib
-laprutil-0 -lexpat -liconv -L/usr/local/apache2/lib
-lapr-0 -lresolv -lpthread

Several elements in this command line are repeated
because they are generated by a big set of automake
macros.


thanks
dave



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to