Re: spell checking



On 2001-07-10 15:50 Brian Stafford wrote:
> On Tue, 10 July 14:33 Pawel Salek wrote:
> 
> > # libpspell_aspell.la - a libtool library file
> > # Generated by ltmain.sh - GNU libtool 1.4 (1.920 2001/04/24
> 23:26:18)
> > #
> > # Please DO NOT delete this file!
> > # It is necessary for linking the library.
> > 
> > Is this statement "It is necessary for linking the library" false
> then?
> 
> My understanding is that this is referring to linking the library at
> compile time when using libtool.  Ld will work OK with lib*.a or
> lib*.so
> as is traditional, but when using libtool as a wrapper to gcc or ld it
> uses
> the lib*.la to figure out what to link and also library dependencies.

The problem is, the library file is not open by ld but by lt_dlopen()
function of libtool (I have actually taken the time to look up pspell
sources) at run time. And this function fails (for me) when *.la file is
not present. Full stop.

/Pawel

> 
> When loading a library at run time, it is sufficient to have the .so
> file in the LD_LIBRARY_PATH or libltdl's search path.
> 
> Brian Stafford
> 
> _______________________________________________
> balsa-list mailing list
> balsa-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/balsa-list
> 
-- 
Pawel Salek (pawsa@theochem.kth.se) http://www.theochem.kth.se/~pawsa/
Theoretical Chemistry Division, KTH voice: +46 8 790-8202




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