Re: Dynamic library loading gives error about importing a module

2014-02-19 Thread Tolga Cakiroglu
Simply "import"ing should work; doing that should not bring definitions to the code. However, one side should also include the module during its build. Have you included the module on both the program's and library's builds? Ali Hi Ali, Both of them have normal import for that module. I

Re: Dynamic library loading gives error about importing a module

2014-02-19 Thread cal
On Wednesday, 19 February 2014 at 09:45:41 UTC, Tolga Cakiroglu wrote: I have written a programme and a library under Linux. When programme is run, it tries to load the library. Both the programme code and the library imports a module as "apps.common.lib.config". Now, when I run the programme,

Re: Dynamic library loading gives error about importing a module

2014-02-19 Thread Ali Çehreli
On 02/19/2014 01:45 AM, Tolga Cakiroglu wrote: > I have written a programme and a library under Linux. When programme is > run, it tries to load the library. Both the programme code and the > library imports a module as "apps.common.lib.config". Now, when I run > the programme, following error is

Dynamic library loading gives error about importing a module

2014-02-19 Thread Tolga Cakiroglu
I have written a programme and a library under Linux. When programme is run, it tries to load the library. Both the programme code and the library imports a module as "apps.common.lib.config". Now, when I run the programme, following error is seen: Fatal Error while loading 'dll/lib.so': The