Re: [gnome-db] alternative instructions to compile libgda on cygwin



* [ Rodrigo Moya <rodrigo gnome-db org>
* Tue, 09 Jul 2002 19:15:21 +0200 ]
> > These are the files I have in the providers directory (which exists, in
> > fact):
> > 
> > libgda-default.a
> > libgda-default.la
> > libgda-postgres.a
> > libgda-postgres.la
> > 
> > Any hints of what could be wrong?
> > 
> yes. The code checks explicitly for the .so version of the library
> (gda_config_get_provider_list in gda-config.c). So, if the cygwin
> compilation does not generate a .so file, we should maybe check for the
> other versions.
> 
> Although I'd prefer if we could generate either the .so file, and make
> no changes to the code, or the .dll file, and make a special case for
> windows in the code.
> 

May be calling g_module_open with "libgda-default" is enough. Glib takes
care of adding a .la suffix if no suffix provided.

-- 
Gonzalo Paniagua Javier <gonzalo gnome-db org>
http://www.gnome-db.org/~gonzalo/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]