[Freeswitch-users] Compile Error on libfreeswitch.la

Michael Jerris mike at jerris.com
Tue Apr 1 19:33:55 MSD 2014


http://wiki.freeswitch.org/wiki/Installation_on_OS_X_10.9_Mavericks

On Apr 1, 2014, at 3:36 AM, Thang Pham <phamtn8 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140401/de7a5d82/attachment.html 


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