On Mon, 13 May 2013 14:33:00 +0400
"Ala'a Mohammad" <amal...@gmail.com> wrote:

> Finally I created a C file named try.c that will load libtest.so
> dynamically, which succeeded, but failed to locate the symbol L1sum_array
> or demo_sum_array.

It's possible that you need to use the ECL library to resolve the
function's symbol to the actual C function, or possibly using
ecl_funcall().  I assume that your main application is linked against
libecl, such that you can dlopen() ECL-built libraries.  Normally when
ECL FASL are loaded by ECL, an initialization function is called which
updates the environment such as symbols.  Perhaps that loading a FASL
using the ECL library would also be easier because of this.

But I admit I have no experience with using such ECL-built shared
libraries and custom-loading them.
-- 
Matt

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to