[frgeek-michiana] Re: Postgresql driver on Debian/Indy

The Filesystem Hierarchy Standard (FHS) says /usr/lib is for binaries which
are not intended to be executed by users. Accordingly I would predict that
Apache and Aolserver, both server applications, would end up in /usr/lib.

Apache binary location:
. RH 6.2 - /usr/sbin
. Slack 8.1 - /usr/sbin
. Deb - /usr/sbin
. RH 7.3 - /usr/sbin

Aolserver binary location:
. Slack - /usr/local/aolserver/bin (compiled locally)
. Deb - /usr/lib/aolserver/bin (deb)

Two applications of the same type and class are placed in three different
locations by four flavors of GNU/Linux. Aolserver, compiled locally as
root, seems to follow the rule you stated. Aolserver installed by apt-get
is arguably in the right place -- it wasn't compiled locally so it would
not belong in /usr/local. 

What's Apache doing in /usr/sbin? I can't wait to install an Aolserver rpm
on RH to see where it goes. 

Tom

At 01:24 PM 5/27/03 -0500, you wrote:
>/usr/local is ONLY for locally installed programs, not for system
>installed programs that were put in with a system install utility like
>apt-get, dselect, alien or pkgadd.   A locally installed program is 
>typically something you might compile from source, that's why
>/usr/local/bin is always LAST in the path (if at all in the path) on all
>unix systems.
>  Hope this helps explain the 'why' of debian and other unix boxen
>
>       mike
>
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>Mike Neuliep, Illiana Internet     | Providing solutions in networking, 
>PO BOX 442, Dyer IN 46311          | security, bandwidth, colocation and
>Cell 708-932-9547 mike@xxxxxxxxxxx | much more.  -- Cisco Certified --
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>
>On Tue, 27 May 2003, Tom Brown wrote:
>
>> Debian has an odd idea about where binaries belong. Apt-get on our Indy box
>> puts binaries in /usr/lib, not /usr/local. So aolserver and postgresql
>> binaries are located in /usr/lib/aolserver/bin and
/usr/lib/postgresql/bin. 
>> 
>> As a consequence I am having difficulty installing nspostgres, the
>> postgresql driver for aolserver. Make can't find files and directories. I
>> just finished one round of altering the Makefile which helped overcome
>> several "can't find file or directory" type errors. Here is the current
>> roadblock:
>> 
>>    In file included from nspostgres.c:32:
>>    nspostgres.h:45: libpq-fe.h: No such file or directory
>>    make: *** [nspostgres.o] Error 1
>> 
>> The locate command doesn't find libpq-fe.h. Make appears to be looking
>> inside nspostgres.c. If this is so, then the driver file itself is the
>> problem. If anybody has suggestions to troubleshooting this, fire away. I'm
>> cross posting to MLUG to get more minds involved.
>> 
>> Tom
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> To post to the list send email to <frgeek-michiana@xxxxxxxxxxxxxx>
>> 
>> You may unsubscribe or change your list settings by going to the list
website at <http://www.freelists.org/webpage/frgeek-michiana>
>> 
>
>
>
>To post to the list send email to <frgeek-michiana@xxxxxxxxxxxxxx>
>
>You may unsubscribe or change your list settings by going to the list
website at <http://www.freelists.org/webpage/frgeek-michiana>

> 







To post to the list send email to <frgeek-michiana@xxxxxxxxxxxxxx>

You may unsubscribe or change your list settings by going to the list website 
at <http://www.freelists.org/webpage/frgeek-michiana>

Other related posts: