I get this ... configure: error: You need libgs >= 8.61 in order to compile libspectre When trying to emerge libspectre. However, doing an emerge -s ghostscript reveals this... * app-text/ghostscript-gpl Latest version available: 8.61-r3 Latest version installed: 8.61-r3 Size of files: 18,645 kB Homepage: http://ghostscript.com/ Description: GPL Ghostscript - the most current Ghostscript, AFPL, relicensed License: GPL-2 CPL-1.0 Reproducible: Always Steps to Reproduce: emerge --sync && emerge -1 app-text/libspectre Actual Results: It doesn't get emerged Expected Results: It should get emerged This happened while trying to emerge kde4 using the guide found on gentoo.org
I had the same error, and looking at the configure logs (in my case, /var/tmp/paludis/app-text/libspectre-0.2.0/work/libspectre-0.2.0/config.log) revealed that libgs.so could not be loaded because of a broken dependency on libgnutls.so.13. Rebuilding app-text/ghostscript-gpl fixed the problem for me. Does this help?
Try running revdep-rebuild. If it still fails afterwards, please attach the full build log and re-open this bug.
(In reply to comment #1) > I had the same error, and looking at the configure logs (in my case, > /var/tmp/paludis/app-text/libspectre-0.2.0/work/libspectre-0.2.0/config.log) > revealed that libgs.so could not be loaded because of a broken dependency on > libgnutls.so.13. Rebuilding app-text/ghostscript-gpl fixed the problem for me. > > Does this help? > Rebuilding ghostscript-gpl worked for me too, thanks.
(In reply to comment #3) > (In reply to comment #1) > > I had the same error, and looking at the configure logs (in my case, > > /var/tmp/paludis/app-text/libspectre-0.2.0/work/libspectre-0.2.0/config.log) > > revealed that libgs.so could not be loaded because of a broken dependency on > > libgnutls.so.13. Rebuilding app-text/ghostscript-gpl fixed the problem for me. > > > > Does this help? > > > > Rebuilding ghostscript-gpl worked for me too, thanks. > also worked for me.
Also for me - dependency was for libpng12.so.0 (/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libpng12.so.0, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libgs.so, not found (try using -rpath or -rpath-link)