Emerged x11-misc/gwhere-0.2.1-r1 (passed throuhg the /etc/portage/package.keywords step). The application starts but can't do anything because "Can't find Catalog plugin". ls -l /usr/lib/libgw* -rw-r--r-- 1 root root 455550 26 ott 11:24 /usr/lib/libgwplugincatalogcsv.a -rw-r--r-- 1 root root 827 26 ott 11:24 /usr/lib/libgwplugincatalogcsv.la lrwxrwxrwx 1 root root 30 26 ott 11:24 /usr/lib/libgwplugincatalogcsv.so -> libgwplugincatalogcsv.so.1.0.0 lrwxrwxrwx 1 root root 30 26 ott 11:24 /usr/lib/libgwplugincatalogcsv.so.1 -> libgwplugincatalogcsv.so.1.0.0 -rwxr-xr-x 1 root root 79816 26 ott 11:24 /usr/lib/libgwplugincatalogcsv.so.1.0.0 -rw-r--r-- 1 root root 454496 26 ott 11:24 /usr/lib/libgwplugincataloggwcatalog.a -rw-r--r-- 1 root root 869 26 ott 11:24 /usr/lib/libgwplugincataloggwcatalog.la lrwxrwxrwx 1 root root 36 26 ott 11:24 /usr/lib/libgwplugincataloggwcatalog.so -> libgwplugincataloggwcatalog.so.1.0.0 lrwxrwxrwx 1 root root 36 26 ott 11:24 /usr/lib/libgwplugincataloggwcatalog.so.1 -> libgwplugincataloggwcatalog.so.1.0.0 -rwxr-xr-x 1 root root 79768 26 ott 11:24 /usr/lib/libgwplugincataloggwcatalog.so.1.0.0 -rw-r--r-- 1 root root 120946 26 ott 11:24 /usr/lib/libgwplugindescriptionavi.a -rw-r--r-- 1 root root 853 26 ott 11:24 /usr/lib/libgwplugindescriptionavi.la lrwxrwxrwx 1 root root 34 26 ott 11:24 /usr/lib/libgwplugindescriptionavi.so -> libgwplugindescriptionavi.so.1.0.0 lrwxrwxrwx 1 root root 34 26 ott 11:24 /usr/lib/libgwplugindescriptionavi.so.1 -> libgwplugindescriptionavi.so.1.0.0 -rwxr-xr-x 1 root root 8880 26 ott 11:24 /usr/lib/libgwplugindescriptionavi.so.1.0.0 -rw-r--r-- 1 root root 119718 26 ott 11:24 /usr/lib/libgwplugindescriptiondescript_ion.a -rw-r--r-- 1 root root 916 26 ott 11:24 /usr/lib/libgwplugindescriptiondescript_ion.la lrwxrwxrwx 1 root root 43 26 ott 11:24 /usr/lib/libgwplugindescriptiondescript_ion.so -> libgwplugindescriptiondescript_ion.so.1.0.0 lrwxrwxrwx 1 root root 43 26 ott 11:24 /usr/lib/libgwplugindescriptiondescript_ion.so.1 -> libgwplugindescriptiondescript_ion.so.1.0.0 -rwxr-xr-x 1 root root 19920 26 ott 11:24 /usr/lib/libgwplugindescriptiondescript_ion.so.1.0.0 -rw-r--r-- 1 root root 118222 26 ott 11:24 /usr/lib/libgwplugindescriptionfile_id_diz.a -rw-r--r-- 1 root root 909 26 ott 11:24 /usr/lib/libgwplugindescriptionfile_id_diz.la lrwxrwxrwx 1 root root 42 26 ott 11:24 /usr/lib/libgwplugindescriptionfile_id_diz.so -> libgwplugindescriptionfile_id_diz.so.1.0.0 lrwxrwxrwx 1 root root 42 26 ott 11:24 /usr/lib/libgwplugindescriptionfile_id_diz.so.1 -> libgwplugindescriptionfile_id_diz.so.1.0.0 -rwxr-xr-x 1 root root 19696 26 ott 11:24 /usr/lib/libgwplugindescriptionfile_id_diz.so.1.0.0 -rw-r--r-- 1 root root 119266 26 ott 11:24 /usr/lib/libgwplugindescriptionhtml.a -rw-r--r-- 1 root root 860 26 ott 11:24 /usr/lib/libgwplugindescriptionhtml.la lrwxrwxrwx 1 root root 35 26 ott 11:24 /usr/lib/libgwplugindescriptionhtml.so -> libgwplugindescriptionhtml.so.1.0.0 lrwxrwxrwx 1 root root 35 26 ott 11:24 /usr/lib/libgwplugindescriptionhtml.so.1 -> libgwplugindescriptionhtml.so.1.0.0 -rwxr-xr-x 1 root root 19728 26 ott 11:24 /usr/lib/libgwplugindescriptionhtml.so.1.0.0 -rw-r--r-- 1 root root 138124 26 ott 11:24 /usr/lib/libgwplugindescriptionmp3.a -rw-r--r-- 1 root root 853 26 ott 11:24 /usr/lib/libgwplugindescriptionmp3.la lrwxrwxrwx 1 root root 34 26 ott 11:24 /usr/lib/libgwplugindescriptionmp3.so -> libgwplugindescriptionmp3.so.1.0.0 lrwxrwxrwx 1 root root 34 26 ott 11:24 /usr/lib/libgwplugindescriptionmp3.so.1 -> libgwplugindescriptionmp3.so.1.0.0 -rwxr-xr-x 1 root root 34144 26 ott 11:24 /usr/lib/libgwplugindescriptionmp3.so.1.0.0 -rw-r--r-- 1 root root 139534 26 ott 11:24 /usr/lib/libgwplugindescriptionmpc.a -rw-r--r-- 1 root root 853 26 ott 11:24 /usr/lib/libgwplugindescriptionmpc.la lrwxrwxrwx 1 root root 34 26 ott 11:24 /usr/lib/libgwplugindescriptionmpc.so -> libgwplugindescriptionmpc.so.1.0.0 lrwxrwxrwx 1 root root 34 26 ott 11:24 /usr/lib/libgwplugindescriptionmpc.so.1 -> libgwplugindescriptionmpc.so.1.0.0 -rwxr-xr-x 1 root root 21720 26 ott 11:24 /usr/lib/libgwplugindescriptionmpc.so.1.0.0 Portage 2.1.1-r1 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64) ================================================================= System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.5 Last Sync: Tue, 24 Oct 2006 22:20:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict test" GENTOO_MIRRORS="ftp://gentoo.inode.at/source http://gentoo.osuosl.org" LANG="it_IT.utf8" LINGUAS="it" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/zugaina-portage /usr/local/portage /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acpi alsa altra_var1 altra_var2 amuled ao arts asf audiofile avi berkdb bidi bitmap-fonts browserplugin bzip2 canna cdda cddb cdr chasen cjk cli cracklib crypt cups divx4linux dlloader dri dvb dvd dvdr dvdread eds elibc_glibc emboss encode fbcon ffmpeg flac foomatic foomaticdb fortran freewnn ftp gcj gif gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk2 httpd i8x0 icecast icq imagemagick imlib immqt-bc input_devices_aiptek input_devices_keyboard input_devices_mouse isdnlog jack java javascript jikes jpeg kde kernel_linux linguas_it live lzw lzw-tiff mad matroska mjepeg mng mozilla mp3 mp4 mpeg mplayer msn nas ncurses network nls nptl nptlonly nsplugin nsplugins nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime rar rdesktop readline reflection remote samba scanner sdl session shout skins spell spl ssl stats stream subtitles tcpd test theora tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l vcd video_cards_nvidia video_cards_vesa video_cards_vga vlm vorbis wxwindows x264 xine xinerama xorg xpm xprint xv xvid yahoo zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I'm having the same problem on amd64. It should probably be pushed upstream. I also tried using the newer version 0.2.3, but it reported the same error. I'd like to note that GWhere 0.1.6 worked flawlessly under amd64, so maybe we could return that version back to portage (for the sake of us who use amd64)? P.S. I'll try to contact the developer(s) of GWhere.
I've been playing with this thing a bit and discovered the following: 1. If you compile this by hand, then run make install, catalog plug-ins will end up in $PREFIX/share/gwhere/plugins - two directories will be created in there, "catalog" and "descr". 2. Portage DOES NOT keep this layout, and instead moves all of those files to /usr/lib64. 3. If you install this package by hand (as stated in 1), you'll get a working gwhere. If not, it will segfault (if you set it up to automatically open a catalog), or report that there are no available catalog plug-ins. It's interesting that even if you compile it by hand, and then enter src subdirectory and run ./gwhere, it still won't work. Therefor, I think that the location of those files after emerge is what causes the problem. To be honest, I still think that this might be the problem with gwhere itself, but we might make some kind of a workaround - by adding those three directories, and putting appropriate symlinks in them. I've verified that if you copy the files over to the "right" location, it all works well (I've been to lazy to symlink them, but I guess it'll work the same). P.S. I'm really hoping that someone is still reading this one ;)
Thank you very much, Branko! I did exactly as you said and I finally got rid of that pesky "no catalog plugin" error. So, to install gwhere-2.0.1-r1 properly you need to emerge it and then run: # mkdir -p /usr/share/gwhere/plugins && cd /usr/share/gwhere/plugins && mkdir catalog descr && ln -s /usr/lib64/libgwplugincatalog* catalog/ && ln -s /usr/lib64/libgwplugindescription* descr/
Ooops... install gwhere-0.2.1-r1, of course :-)
# Samuli Suominen <drac@gentoo.org> (01 Jul 2007) # Large amount of TEXTRELS, installs shared ELF libraries # into /usr/share, large amount of invalid declaration of functions, # autotools usage is completely wrong, installs desktop files into # deprecated locations, upstream is likely dead plus there is open # bug 152864. Unless you're willing to fix *all* this this package # will be removed in 30 days. x11-misc/gwhere
And it installs patch conditionally, while it shouldn't.. which seems wrong to begin with.
Reopen because it's still in tree and add correct KEYWORD instead.
gwhere removed from portage. add the new version (0.2.3) back fixed, if still intrested.
Forgot to add that if I do: export CXXFLAGS="-Wall -fPIC" xport CFLAGS="-Wall -fPIC" and add a #include <locale.h> into src/main.c it compil fine by hand.