[asterisk-dev] Why asterisk _binary_ links with ssl?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Feb 1 02:28:22 MST 2006


On Tue, Jan 31, 2006 at 03:27:26PM -0600, Kevin P. Fleming wrote:
> Denis Smirnov wrote:
> >Why asterisk binary links with ssl, where only res_crypto must be linked
> >with it?
> 
> On some platforms (not Linux), loadable modules cannot have their own 
> library dependencies, any symbols they need to reference at load time 
> must already be present in the running program they are loaded into.

On what platforms? This should impact a number of external modules that
require external libraries (mysql, pgsql, sqlite, whatever)

> 
> On Linux, it is safe to remove this library from the link list.

Seems like a candidate for an ifdef in the makefile...

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-dev mailing list