Compile Error on libfreeswitch.la
I check out master branch of freeswitch and tried to compile it on a OSX Maverick, and I got compile error on libfreeswitch.la CXXLD libfreeswitch.la ld: warning: directory not found for option '-L/usr/local/opt/openssl/lib' Undefined symbols for architecture x86_64: "_iconv", referenced from: _apr_xlate_open in libaprutil-1.a(xlate.o) _apr_xlate_conv_buffer in libaprutil-1.a(xlate.o) "_iconv_close", referenced from: _apr_xlate_open in libaprutil-1.a(xlate.o) _apr_xlate_cleanup in libaprutil-1.a(xlate.o) "_iconv_open", referenced from: _apr_xlate_open in libaprutil-1.a(xlate.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [libfreeswitch.la] Error 1 make: *** [all] Error 2 I have openssl installed $ openssl OpenSSL> version OpenSSL 1.0.1f 6 Jan 2014 If I type `which openssl`, I got a different path, then the one show in the error $ which openssl /opt/local/bin/openssl Please help, thank you
http://wiki.freeswitch.org/wiki/Installation_on_OS_X_10.9_Mavericks On Apr 1, 2014, at 3:36 AM, Thang Pham <phamtn8@hotmail.com> wrote:
I check out master branch of freeswitch and tried to compile it on a OSX Maverick, and I got compile error on libfreeswitch.la
CXXLD libfreeswitch.la ld: warning: directory not found for option '-L/usr/local/opt/openssl/lib' Undefined symbols for architecture x86_64: "_iconv", referenced from: _apr_xlate_open in libaprutil-1.a(xlate.o) _apr_xlate_conv_buffer in libaprutil-1.a(xlate.o) "_iconv_close", referenced from: _apr_xlate_open in libaprutil-1.a(xlate.o) _apr_xlate_cleanup in libaprutil-1.a(xlate.o) "_iconv_open", referenced from: _apr_xlate_open in libaprutil-1.a(xlate.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [libfreeswitch.la] Error 1 make: *** [all] Error 2
I have openssl installed
$ openssl OpenSSL> version OpenSSL 1.0.1f 6 Jan 2014
If I type `which openssl`, I got a different path, then the one show in the error
$ which openssl /opt/local/bin/openssl
Please help, thank you _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Michael Jerris
-
Thang Pham