Hi there
I tried building the trunk version of Firebird on my Mac using Cmake. I 
installed the dev tools, libicu and CMake and generated an Xcode Project. When 
I tried to compile it on Xcode, I ended up with the following error:
Ld /users/n/Develop/Firebird/build/src/Debug/bin/gpre_boot normal x86_64    cd 
/users/n/Develop/Firebird/trunk    export MACOSX_DEPLOYMENT_TARGET=10.10    
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -arch x86_64 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
 -L/users/n/Develop/Firebird/build/src/Debug/bin -L/opt/local/lib/Debug 
-L/opt/local/lib -F/users/n/Develop/Firebird/build/src/Debug/bin -filelist 
/users/n/Develop/Firebird/build/src/firebird.build/Debug/gpre_boot.build/Objects-normal/x86_64/gpre_boot.LinkFileList
 -Xlinker -rpath -Xlinker /opt/local/lib -mmacosx-version-min=10.10 
-Wl,-search_paths_first -Wl,-headerpad_max_install_names 
/users/n/Develop/Firebird/build/src/gpre/Debug/libgpre_common.a 
/users/n/Develop/Firebird/build/src/Debug/libcommon.a -Xlinker -dependency_info 
-Xlinker 
/users/n/Develop/Firebird/build/src/firebird.build/Debug/gpre_boot.build/Objects-normal/x86_64/gpre_boot_dependency_info.dat
 -o /users/n/Develop/Firebird/build/src/Debug/bin/gpre_boot
ld: warning: directory not found for option '-L/opt/local/lib/Debug'ld: 
warning: directory not found for option '-L/opt/local/lib'Undefined symbols for 
architecture x86_64:  "_iconv", referenced from:      (anonymous 
namespace)::IConv::convert(Firebird::AbstractString&, void*) in 
libcommon.a(isc_file.o)  "_iconv_close", referenced from:      (anonymous 
namespace)::IConv::closeIconv(void*) in libcommon.a(isc_file.o)  "_iconv_open", 
referenced from:      (anonymous namespace)::IConv::openIconv(char const*, char 
const*) in libcommon.a(isc_file.o)ld: symbol(s) not found for architecture 
x86_64clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
I am not familiar with the iconv lib, but I guess there are people building 
Firebird successfully on their Mac. So can anybody enlighten me what the 
problem is?
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to