[reSIProcate] dynamic link and/or static link

Byron Campen bcampen at estacado.net
Mon Nov 27 08:20:28 CST 2006


	Hang on, we stopped calling the library libresiprocate after the  
reorg last year. Are you working with 0.9.0? If so, 1.0.2 was out as  
of last week. (Perhaps the defaults have changed since the reorg)

Best regards,
Byron Campen

> Hi Byron,
>
> If it links statically by default, what am I missing here? Take a  
> look:
>
> In my machine, in which I have resiprocate compiled and installed, I
> compile my code and everything works fine:
>
> [root at localhost louback]# g++ -lresiprocate redirect.cxx -o redirect
> [root at localhost louback]# ./redirect
> INFO | 20061122-215614.806 |  |  | RESIP:TRANSPORT | 0 | 3083896512 |
> UdpTransport.cxx:30 | Creating UDP transport host= port=5062 ipv4=1
> Local Address: 192.168.0.116
>
> When I copy the executable and go to another machine, which doesnt
> have resiprocate installed:
>
> host:~#./redirect
> ./redirect: error while loading shared libraries: libresiprocate.so.0:
> cannot open shared object file: No such file or directory
>
> What I need to do is to compile my small program in such a way that I
> dont need to install resiprocate in every machine that will use the
> program. Is that possible?
>
> Best Regards,
>
> Felipe Louback
>
>
> On 11/21/06, Byron Campen <bcampen at estacado.net> wrote:
>>         The gnu make build-system links everything statically by  
>> default, so
>> any executables created will not need the resip shared libraries.
>>
>> Best regards,
>> Byron Campen
>>
>> > Hi,
>> >
>> > I am writting a small application using resiprocate, but I am  
>> facing
>> > the following problem: every machine that will run the
>> > application(linux machines) will need to have resiprocate library
>> > compiled and installed and that will not always be possible.
>> >
>> > Is there any way I could build a larger executable that would  
>> include
>> > all the resiprocate files and libraries that the application will
>> > need?
>> > Does resiprocate supports this functionality?
>> >
>> > Regards,
>> >
>> > Felipe
>> >
>> > --
>> > Master Student - Electrical Engineering Department
>> > Computer Engineering and Telecommunications Research Group
>> > Universidade Federal de Minas Gerais - Brazil
>> >
>> > "Come to me, all you who are weary and burdened, and I will give
>> > you rest."
>> > Matthews 11:28
>> > _______________________________________________
>> > resiprocate-devel mailing list
>> > resiprocate-devel at list.resiprocate.org
>> > https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>>
>>
>
>
> -- 
> Master Student - Electrical Engineering Department
> Computer Engineering and Telecommunications Research Group
> Universidade Federal de Minas Gerais - Brazil
>
> "Come to me, all you who are weary and burdened, and I will give  
> you rest."
> Matthews 11:28




More information about the resiprocate-devel mailing list