Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 367147

Summary: dev-java/antlr-2.7.7-r2: Program 'lib' is not installed or not available for currently selected version of postgresql.
Product: Gentoo Linux Reporter: Roman Karshiev <balancer>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info =dev-java/antlr-2.7.7-r2 > emerge-info.txt
emerge -pqv =dev-java/antlr-2.7.7-r2
/var/tmp/portage/dev-java/antlr-2.7.7-r2/temp/build.log
/var/tmp/portage/dev-java/antlr-2.7.7-r2/temp/environment

Description Roman Karshiev 2011-05-13 22:17:55 UTC
Can't compile stable dev-java/antlr-2.7.7-r2 (update from 2.7.7) at stable x86 system.

Reproducible: Always

Steps to Reproduce:
emerge -auv1 dev-java/antlr
Actual Results:  
Program 'lib' is not installed or not available for
currently selected version of postgresql.
Use 'eselect postgresql' command to set different
PostgreSQL version


Expected Results:  
Succesful compile

Attaches below
Comment 1 Roman Karshiev 2011-05-13 22:18:41 UTC
Created attachment 273143 [details]
emerge --info =dev-java/antlr-2.7.7-r2 > emerge-info.txt
Comment 2 Roman Karshiev 2011-05-13 22:19:35 UTC
Created attachment 273145 [details]
emerge -pqv =dev-java/antlr-2.7.7-r2
Comment 3 Roman Karshiev 2011-05-13 22:20:47 UTC
Created attachment 273147 [details]
/var/tmp/portage/dev-java/antlr-2.7.7-r2/temp/build.log
Comment 4 Roman Karshiev 2011-05-13 22:21:38 UTC
Created attachment 273149 [details]
/var/tmp/portage/dev-java/antlr-2.7.7-r2/temp/environment
Comment 5 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2011-05-13 22:59:09 UTC
I've had the same problem. If you remove /usr/bin/lib (or wherever is the lib file), it will emerge. This lib file is a symlink to some postgresql wrapper. I think it was wrongly installed by some version of postgresql.
Comment 6 Aaron W. Swenson gentoo-dev 2011-05-14 10:58:23 UTC
Upgrade to app-admin/eselect-postgresql-1.0.9.
Comment 7 Roman Karshiev 2011-05-14 21:26:07 UTC
>Upgrade to app-admin/eselect-postgresql-1.0.9.

It's not good using ~arch package for correct working arch packages :-/

But it working, thanks.