[asterisk-dev] Where to include .so lib and .h files for custom library to build in Asterisk

Ryan Conrad rconrad54 at gmail.com
Mon Aug 12 14:46:53 CDT 2013


 I understand that it is normally a pretty trivial task, but since the
Asterisk code base is so large I am finding myself lost.  I have a new
channel chan_**** and I have the header file for my tool included under
"../../pnet/pnet.h" because the pnet directory is 2 up, and I put the
pnet.h also in the usr/include and the libpnet.so inside usr/lib.  I am not
very good at Linux so does this sound right to you.  I looked up what you
said but I cant find one that I can follow.

Could you give me a link, or some pointers, or how you would do it inside
Asterisk?

-Ryan


On Mon, Aug 12, 2013 at 3:17 PM, Russell Bryant
<russell at russellbryant.net>wrote:

> On Mon, Aug 12, 2013 at 3:02 PM, Ryan Conrad <rconrad54 at gmail.com> wrote:
>
>> Hello,
>>    I was wondering where I should put my .so and .h files for my library
>> that adds onto a custom channel.  I followed the directions on the wiki to
>> change configure.ac, makeopts.in, and build_tools/menuselect-deps.in but
>> it still wont build because I think it cannot find my .so
>>
>>
> That part of it is a very general issue about how to properly install
> libraries on Linux.  It's not an issue with the Asterisk build system.
>  There are many many examples out there to follow.
>
> --
> Russell Bryant
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130812/b94932b4/attachment.htm>


More information about the asterisk-dev mailing list