You've got me totally confused....you say "shared library" and "dynamically 
linked" but then say it's embedded in the GUI.

Which is it?

Are you on Unix/Linux?

Can you show us your Makefile or an example build line?
What are you compiling with?

Have you duplicated your GUI build process on another program using all the 
same settings and succeeded?


Michael D. Black
Senior Scientist
Advanced Analytics Directorate
Advanced GEOINT Solutions Operating Unit
Northrop Grumman Information Systems

________________________________________
From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
behalf of Keith Medcalf [kmedc...@dessus.com]
Sent: Monday, July 30, 2012 8:06 AM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] EXT : Unknown module FTS4

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: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-
> boun...@sqlite.org] 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: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on
> behalf of Navaneeth.K.N [navaneet...@gmail.com]
> 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
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to