GTK_PATH problems on bi-arch platforms
Submitted by Stanislav Brabec
Link to original bug (#153848)
Description
If I want to use variable GTK_PATH, I have to explicitly list platform dependent directories, e. g.: export GTK_PATH="/usr/local/lib64/gtk-2.0:/opt/gnome/lib64/gtk-2.0:/usr/lib64/gtk-2.0"
Additionally, gtk fails after locating engine for different platform.
There exist no setting of GTK_PATH, which allows to use 32-bit and 64-bit binaries on single machine. Either one ore second binaries use default skin. Note that with GTK_PATH unset, all works OK.
Possible solutions:
- GTK_PATH will contain some style of prefix+platform->gtkdir mapping (e. g. $libdir/gtk-2.0/modules/i686/).
- Ignore modules with incorrect architecture.
- Make GTK_PATH platform-dependent (e. g. GTK_PATH_x86_64).
Related bug 129540.
Version: 2.4.x