List:MySQL++« Previous MessageNext Message »
From:Michael Johnston Date:January 12 2007 1:04am
Subject:problem building from svn on os x (intel): libtool error
View as plain text  
I am trying to build from svn on an intel OS X  box, and I get the  
following error:

/Users/lasto/Downloads/mysqlpp/bk-deps g++ -c -o mysqlpp_vallist.o - 
I. -dynamic -fPIC -DPIC  -I/opt/local/include/mysql -fno-common ./lib/ 
g++ -dynamiclib -single_module -headerpad_max_install_names -o  
libmysqlpp.dylib mysqlpp_coldata.o mysqlpp_connection.o  
mysqlpp_datetime.o mysqlpp_field_names.o mysqlpp_fields.o  
mysqlpp_field_types.o mysqlpp_manip.o mysqlpp_myset.o  
mysqlpp_qparms.o mysqlpp_query.o mysqlpp_result.o mysqlpp_row.o  
mysqlpp_sql_string.o mysqlpp_string_util.o mysqlpp_transaction.o  
mysqlpp_type_info.o mysqlpp_vallist.o -L/opt/local/lib/mysql    - 
install_name /opt/local/lib/libmysqlpp.dylib   -Wl,-soname - 
Wl,  -lmysqlclient -lz  -lmysqlclient -lz
/usr/bin/libtool: unknown option character `o' in: -soname
Usage: /usr/bin/libtool -static [-] file [...] [-filelist listfile 
[,dirname]] [-arch_only arch] [-sacLT]
Usage: /usr/bin/libtool -dynamic [-] file [...] [-filelist listfile 
[,dirname]] [-arch_only arch] [-o output] [-install_name name] [- 
compatibility_version #] [-current_version #] [-seg1addr 0x#] [- 
segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table  
<filename>] [-seg_addr_table_filename <file_system_path>] [-all_load]  
make: *** [libmysqlpp.dylib] Error 1

To setup the build, I downloaded and built bakefile from source, then  

  ./bootstrap --with-mysql=/opt/local

in the mysqlpp source dir

Have I missed a step in setting up the build for OS X, or does anyone  
have an idea why I am seeing this error? It seems to be related to  
flavors of libtool and that therefore the bakefile process has gone  
wrong somehow.

The reason I am trying to build from svn is that I need to interface  
to mysql5 and I am seeing the issue described here: http://
problem building from svn on os x (intel): libtool errorMichael Johnston12 Jan
  • Re: problem building from svn on os x (intel): libtool errorWarren Young12 Jan