[Freeswitch-users] Compile Error on libfreeswitch.la

Thang Pham phamtn8 at hotmail.com
Tue Apr 1 11:36:59 MSD 2014


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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140401/11ea17b4/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list