Re: libgimpui && dcgettext, a linker question

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

 



On Sun, Nov 21, 1999 at 11:32:41PM +0100, Marc Lehmann wrote:
> On Sun, Nov 21, 1999 at 09:47:56PM +0000, "Steinar H. Gunderson" <sgunderson@xxxxxxxxxxx> wrote:
> > On Sun, Nov 21, 1999 at 09:55:10PM +0100, Marc Lehmann wrote:
> > >> /usr/local/lib/libgimpui.so: undefined reference to `dcgettext__'
> > >Can a makefile guru tell me wether this is a bug with i18n on the target
> > >system, or ist libgimpui just not linked against -lintl (as it should)?
> > 
> > To fill you inn, Marc, I used --with-included-gettext. Doesn't that mean
> > the gettext on the local system _shouldn't_ be used? (I use glibc 2.1.2,
> > in case you need it.)
> 
> The reason I wondered about this part of the problem is that libgimpui should
> ot have unsatisfied external references.
> 
> It is a common bug (gtk-enginges for example suffered from this) to NOT link
> shared libraries against any other libraries, i.e. gtk-enginges was not
> linked against gtk+, relying on the "fact" that the main application would
> eventually link against it.
> 
> Maybe this is similar for libgimpui (maybe not ;)

libintl is only distributed as a static library. You can't portably
link static libraries into shared libraries.

-Yosh


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux