Thanks Mimiko,
 
I was able to copy and run freeswitch by coying the libs.
 
Another way that I could achieve this was to tweak the configure script to include static libraries rather than the dynamic ones (i.e replacing dynamic ones such as -lodbc, -ljpeg etc with the path to actual .a files) and generate makefiles which would then refer to the static libraries. Since I only needed to replace a couple of libraries, my final executable didn't blow up too much.


On Wed, Mar 6, 2013 at 6:59 PM, Mimiko <vbvbrj@gmail.com> wrote:
On 06.03.2013 08:13, Siri MM wrote:
> Hello,
> I am working on a system, where I build FS on a development linux ubuntu
> server, and deploy the built binaries on a target linux ubuntu server
> (6.06).
> The problem that I am facing is, the Target server has default libraries
> installed, and cannot be upgraded to install new libraries (no internet
> access). When i study the delta between the two servers, missing
> libraries on the target server are libodbc and liblibjpeg.
> As a workaround,I would like to bundle these two libraries along with
> the freeswitch binaries statically. Would appreicaite any inputs on how
> to go about this.
> Thanks!

It's not really needed to compile this libraries as static. You can
download on your development box precompiled libodbc and libjpeg, or
compile locally, then copy this libraries in some lib directory on
server along with compiled FS. Then in start script use:

export LD_LIBRARY_PATH=path_to_the_lib_directory


--
Mimiko desu.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org