Hi, I am building a wrapper between some Perl code and C library. I am using XS for this. I want to compile the wrapper as a Shared Lib that is dynamically loaded by perl. Today I compile a Shared Lib statically linked to the C library (I link with the "C Lib".asl) in one big Shared Lib. Perl |(load .sl) Wrapper(including C Lib)
Now I want to be able to load the C library as Shared Lib: Perl |(load .sl) Wrapper |(load .sl) C Lib "C Lib" is not a Perl library, so it cannot be loaded by Perl using Dynaloader. So I have two possibilities: -either "Wrapper" loads dynamically "C Lib" => "Wrapper" includes only some XS code. Is it possible to include code to load the "C Lib" within my XS code ? -either "Wrapper" is linked statically with "C Lib" (As you will do for an executable) => Is it possible to link statically a Shared Lib with another one just as you will do for an exectable ? Does somebody has already face this case ? What do you advice ? Thanks, Vincent -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]