The "other library" that is getting loaded first is embedded in the GUI application.
--- () ascii ribbon campaign against html e-mail /\ www.asciiribbon.org > -----Original Message----- > From: [email protected] [mailto:sqlite-users- > [email protected]] On Behalf Of Black, Michael (IS) > Sent: Sunday, 29 July, 2012 06:22 > To: General Discussion of SQLite Database > Subject: Re: [sqlite] EXT : Unknown module FTS4 > > You probably have another shared library in your path that is getting loaded > first. > > Since you said shared library and not DLL I assume you're using Unix of some > sort? > > Run "ldd" on your GUI app and see what library it says it will use. > > Also, you should have either strace or truss which can show you which library > is getting loaded when it runs. > > strace myapp &>myapp.log > > > Michael D. Black > Senior Scientist > Advanced Analytics Directorate > Advanced GEOINT Solutions Operating Unit > Northrop Grumman Information Systems > > ________________________________________ > From: [email protected] [[email protected]] on > behalf of Navaneeth.K.N [[email protected]] > Sent: Sunday, July 29, 2012 2:17 AM > To: General Discussion of SQLite Database > Subject: EXT :[sqlite] Unknown module FTS4 > > Hello, > > I have a weird problem. > > I am working on a shared library, written using C and a GUI application > written on C++. GUI application uses the shared library. This shared > library uses SQLite amalgamation and links statically. GUI also uses SQLite > for some configuration purpose. It is also statically linked. Both of them > uses latest SQLite version. > > My shared library uses FTS4. I have enabled FTS4 by providing the compile > time options while compiling the shared library. All works well with the > shared library. All my tests in the shared library codebase is passing. > Problem happens when I start using this in the GUI program. I am getting > error like, "Unknown module FTS4". This is weird because I have it linked > statically in my shared library and all this GUI program does is to > dynamically link to my library. When I set the FTS compilation options to > the GUI program, error goes away and all works well. > > I am not sure why this is happening. Any help would be great! > > -- > -n > _______________________________________________ > sqlite-users mailing list > [email protected] > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ > sqlite-users mailing list > [email protected] > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

