On 10 Mar 2007, at 23:07, Kevin Horton wrote:

> On 10 Mar 2007, at 16:23, Martin Costabel wrote:
>
>> Kevin Horton wrote:
>> []
>>> Digging deeper:
>>>   % which pg_config
>>> pg_config not found
>>> % fink list -i postgresql
>>> Information about 6929 packages read in 1 seconds.
>>> i   postgresql80-unified-shlibs     8.0.12-1021
>>> PostgreSQL shared libraries
>>> i   postgresql82                    8.2.3-1021
>>> PostgreSQL open-source database
>>> i   postgresql82-dev                8.2.3-1021
>>> PostgreSQL development headers and libraries
>>> i   postgresql82-shlibs             8.2.3-1021
>>> PostgreSQL shared libraries
>>
>> Strange. /sw/bin/pg_config should have been installed by
>> postgresql82-dev. Here, I see that it is a symlink to /sw/etc/
>> alternatives/pg_config which is a symlink to the real file /sw/bin/
>> pg_config-8.2. You might want to reinstall postgresql82-dev.
>
> Things are a bit different here.  My pg_config points to a non-
> existent /sw/bin/pg_config-8.0:
>
>   % ls -al /sw/bin/pg_config*
> lrwxr-xr-x   1 root  admin     30 Nov 14 20:50 /sw/bin/pg_config -> /
> sw/etc/alternatives/pg_config
> -rwxr-xr-x   1 root  admin  28540 Feb  8 11:59 /sw/bin/pg_config-8.2
>
> % ls -al /sw/etc/alternatives/pg_config
> lrwxr-xr-x   1 root  admin  21 Nov 14 21:10 /sw/etc/alternatives/
> pg_config -> /sw/bin/pg_config-8.0
>
> Reinstalling postgresql82-dev didn't fix it, so I tried rebuilding
> postgresql82-dev.  That didn't change anything either.  I could
> manually fix the symlink, but I'd rather find and fix the real  
> problem.

I've had this several times _ never tried really hard, but vthe only
practical way out I used was manual fixing (maybe via update- 
alternatives
_ check in any case your manual vs auto settings...).

JF Mertens

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to