try setting path for pkg-config <span></span><br><br>On Thursday, June 25, 2015, Rajil Saraswat &lt;<a href="mailto:rajil.s@gmail.com">rajil.s@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I am trying to compile freeswitch in freebsd. The lua package is<br>
installed on my system, but still freeswitch is unable to find -llua.<br>
<br>
Installed lua52 package<br>
#pkg info -l lua52<br>
lua52-5.2.4:<br>
        /usr/local/bin/lua52<br>
        /usr/local/bin/luac52<br>
        /usr/local/include/lua52/lauxlib.h<br>
        /usr/local/include/lua52/lua.h<br>
        /usr/local/include/lua52/lua.hpp<br>
        /usr/local/include/lua52/luaconf.h<br>
        /usr/local/include/lua52/lualib.h<br>
        /usr/local/lib/liblua-5.2.a<br>
        /usr/local/lib/<a href="http://liblua-5.2.so" target="_blank">liblua-5.2.so</a><br>
        /usr/local/libdata/pkgconfig/lua-5.2.pc<br>
        /usr/local/man/man1/lua52.1.gz<br>
        /usr/local/man/man1/luac52.1.gz<br>
        /usr/local/share/licenses/lua52-5.2.4/LICENSE<br>
        /usr/local/share/licenses/lua52-5.2.4/MIT<br>
        /usr/local/share/licenses/lua52-5.2.4/<a href="http://catalog.mk" target="_blank">catalog.mk</a><br>
<br>
Compile flags have been set<br>
#echo $CPPFLAGS<br>
-I/usr/local/include/lua52<br>
# echo $LDFLAGS<br>
-L/usr/local/lib -R/usr/local/lib<br>
<br>
Compile error<br>
gmake[4]: Entering directory &#39;/src/freeswitch/src/mod/languages/mod_lua&#39;<br>
  CXXLD    <a href="http://mod_lua.la" target="_blank">mod_lua.la</a><br>
/usr/bin/ld: cannot find -llua<br>
Makefile:761: recipe for target &#39;<a href="http://mod_lua.la" target="_blank">mod_lua.la</a>&#39; failed<br>
gmake[4]: *** [<a href="http://mod_lua.la" target="_blank">mod_lua.la</a>] Error 1<br>
gmake[4]: Leaving directory &#39;/src/freeswitch/src/mod/languages/mod_lua&#39;<br>
Makefile:650: recipe for target &#39;mod_lua-all&#39; failed<br>
gmake[3]: *** [mod_lua-all] Error 1<br>
gmake[3]: Leaving directory &#39;/src/freeswitch/src/mod&#39;<br>
Makefile:562: recipe for target &#39;all-recursive&#39; failed<br>
gmake[2]: *** [all-recursive] Error 1<br>
gmake[2]: Leaving directory &#39;/src/freeswitch/src&#39;<br>
Makefile:2652: recipe for target &#39;all-recursive&#39; failed<br>
gmake[1]: *** [all-recursive] Error 1<br>
gmake[1]: Leaving directory &#39;/src/freeswitch&#39;<br>
Makefile:1063: recipe for target &#39;all&#39; failed<br>
gmake: *** [all] Error 2<br>
<br>
<br>
anything i maybe missing?<br>
<br>
Thanks<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;consulting@freeswitch.org&#39;)">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;FreeSWITCH-users@lists.freeswitch.org&#39;)">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>