Open/Free BSD users -- help needed to fix Test::PostgreSQL

Toby Wintermute tjc at wintrmute.net
Mon Aug 11 07:18:50 BST 2014


On 11 August 2014 15:48, Randal L. Schwartz <merlyn at stonehenge.com> wrote:
>>>>>> "Toby" == Toby Wintermute <tjc at wintrmute.net> writes:
>
> Toby> I still get a lot of test failures from OpenBSD and FreeBSD users on
> Toby> CPANTS, and I think it's simply down to the postgres binaries being
> Toby> installed in different locations.
>
> Toby> If you run either of those systems, would you be able to tell me the
> Toby> path to the executables?
>
> Toby> On most Linux distros, they are in
> Toby> /usr/lib/postgresql/$VERSION/bin
>
> FreeBSD puts them in a sane place: /usr/local/bin/psql etc.
>
> As I recall, OpenBSD ditto.
>
> Why the heck would people put "bin" stuff under a *lib* directory?
> That's just... insane.

Well, you can have multiple versions installed at once that way. Then
/usr/bin/ contains scripts that pass control to the appropriate
version binary based upon environment variables.


More information about the london.pm mailing list