Re: control-center undefined reference to xkl_xkb_config_native_cleanup
- From: "Joseph E. Sacco, Ph.D." <joseph_sacco comcast net>
- To: avilella gmail com
- Cc: garnome-list gnome org
- Subject: Re: control-center undefined reference to xkl_xkb_config_native_cleanup
- Date: Sun, 20 Aug 2006 11:57:59 -0400
Albert,
OK... Let's look at libxlavier in detail:
(1) validate the the symbol is *not* in the installed GARNOME version of
libxklavier
* cd /home/avilella/garnome/lib
* ls libxklavier* [just to make sure]
* nm libxklavier.so | grep xkl_xkb_config_native_cleanup
If the symbol is there, that means you are somehow picking up the system
version of libxklavier. My guess is a system '.la' file is the cuprit.
If the symbol is not there...
(2) cd to desktop/linxklavier/work/main.d/libxlavier-2.91/libxklavier
the file
xklavier_config_xkb.c
contains the definition of xkl_xkb_config_native_cleanup().
Did that file get compiled??? [Look in the .libs directory].
You might want to connect to the #garnome IRC channel. We are on line
today.
-Joseph
=============================================================================
On Sun, 2006-08-20 at 15:04 +0100, Albert Vilella wrote:
> > The missing reference,
> >
> > xkl_xkb_config_native_cleanup
> >
> > is defined in libxklavier.
> >
> >
> > Check the following:
> >
> > (1) ./desktop/libxklavier built and installed
> > [explore the cookies directory to validate]
>
> avilella toad:~/garnome/garnome-2.15.91/desktop/libxklavier/cookies$
> tree
> .
> `-- main.d
> |-- build
> |-- build-work
> | `-- main.d
> | `-- libxklavier-2.91
> | `-- Makefile
> |-- checksum
> |-- checksum-libxklavier-2.91.tar.gz
> |-- checksum-sanity-check-for-bug-346980.patch
> |-- configure
> |-- configure-work
> | `-- main.d
> | `-- libxklavier-2.91
> | `-- configure
> |-- extract
> |-- extract-libxklavier-2.91.tar.gz
> |-- fetch
> |-- fixup
> |-- install
> |-- install-work
> | `-- main.d
> | `-- libxklavier-2.91
> | `-- Makefile
> |-- normal-patch-sanity-check-for-bug-346980.patch
> |-- patch
> |-- patch-sanity-check-for-bug-346980.patch
> `-- tar-gz-extract-libxklavier-2.91.tar.gz
>
> 10 directories, 17 files
>
> > (2) Make sure that you are linking against the GARNOME version of
> > libxklavier rather than the system version.
> >
> > * cd desktop/control-center/work/main.d/capplets/keyboard
> > * inspect the Makefile, looking for
> >
> > LIBXKLAVIER_LIBS=
> >
>
> avilella toad:~/garnome/garnome-2.15.91/desktop/control-center/work/main.d/control-center-2.15.91/capplets/keyboard$ pwd
> /home/avilella/garnome/garnome-2.15.91/desktop/control-center/work/main.d/control-center-2.15.91/capplets/keyboard
> avilella toad:~/garnome/garnome-2.15.91/desktop/control-center/work/main.d/control-center-2.15.91/capplets/keyboard$ grep LIBXKLAVIER_LIBS Makefile
> LIBXKLAVIER_LIBS = -L/home/avilella/garnome/lib -lxklavier -lxml2 -lz
> -lm
> $(GNOMECC_CAPPLETS_LIBS) $(LIBXKLAVIER_LIBS) \
>
> avilella toad:~/garnome/garnome-2.15.91/desktop/control-center/work/main.d/control-center-2.15.91/capplets/keyboard$ ll /home/avilella/garnome/lib/libxklavier.*
> -rwxr-xr-x 1 avilella avilella 1033 2006-08-19
> 10:44 /home/avilella/garnome/lib/libxklavier.la
> lrwxrwxrwx 1 avilella avilella 21 2006-08-19
> 10:44 /home/avilella/garnome/lib/libxklavier.so -> libxklavier.so.11.0.0
> lrwxrwxrwx 1 avilella avilella 21 2006-08-19
> 10:44 /home/avilella/garnome/lib/libxklavier.so.11 ->
> libxklavier.so.11.0.0
> -rwxr-xr-x 1 avilella avilella 315052 2006-08-19
> 10:44 /home/avilella/garnome/lib/libxklavier.so.11.0.0
>
> It seems it is using the garnome version, isn't it?
>
> Anything I can try?
>
> > If it turns out that: (1) libxklavier built and installed, and (2)
> you
> > are linking against the unbuntu version of the lib, we need to poke
> > around in the configure file to figure out why. This is a problem
> often
> > associated with ".la" files.
>
>
--
joseph_sacco [at] comcast [dot] net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]