Re: linking modules into programs problem

2001-03-19 Thread Michael Matz
Hi, On Thu, 15 Mar 2001, Nick Hudson wrote: > KDE2 has a habit of creating modules and then linking them into > programs. Now this isn't a problem if the modules are named libNAME.la, > but if they are named NAME.la then I see build errors on NetBSD/a.out. > I've attached a simplified exmaple fro

Re: linking modules into programs problem

2001-03-19 Thread Nick Hudson
On Mon, 19 Mar 2001 12:49:34 +0100 (MET), Michael Matz wrote: > Hi, > > On Thu, 15 Mar 2001, Nick Hudson wrote: > > KDE2 has a habit of creating modules and then linking them into > > programs. Now this isn't a problem if the modules are named libNAME.la, > > but if they are named NAME.la

Re: linking modules into programs problem

2001-03-19 Thread Michael Matz
Hi, On Mon, 19 Mar 2001, Nick Hudson wrote: > > > > Isn't this, what the "$need_lib_prefix" (or how it's called, I can't > check > > right now) variable is all about? To force the actual filenames to be > > libfrob.*, although the .la files is frob.la? Then NetBSD/a.out should > > set that.

Re: linking modules into programs problem

2001-03-19 Thread Christoph Pfisterer
Michael Matz wrote: >On Mon, 19 Mar 2001, Nick Hudson wrote: > > > Having need_lib_prefix to yes does allow modules to be linked into >> libraries and binaries, but again this is counter intuitive as >> libraries are linked in not modules. > >I agree in some way. But libtool's purpose is to b

Re: linking modules into programs problem

2001-03-19 Thread Michael Matz
Hi, On Mon, 19 Mar 2001, Christoph Pfisterer wrote: > > As you mention, some platforms allow this, others don't. The purpose > of libtool in my eyes is to provide a common denominator for as much > platforms as possible. Agreed. But nobody said it must be the _lowest_ common denominator ;) This

Re: linking modules into programs problem

2001-03-19 Thread Alexandre Oliva
On Mar 19, 2001, Michael Matz <[EMAIL PROTECTED]> wrote: > Bad. A real cool way around that would be, if libtool itself built (when > -module is given) both, the library and the module (which should be > possible, as the -module command line should include all necessary > arguments for libtool t

Re: Simple Problem! Need help with library error

2001-03-19 Thread Alexandre Oliva
On Mar 17, 2001, Anand Srinivas <[EMAIL PROTECTED]> wrote: > I followed the exact instructions for installing libxmi version 1.2. > However, when I tried to run the 'drawing.c' program, I received the > error messages: > a.out: error in loading shared libraries > libxmi.so.0: cannot open shared