At 09.57 Monday 24/06/02 -0400, you wrote:
>One more (I hope this is the last one) question.
>
>I'm running RedHat 7.1 and CF5, so the unixODBC driver that I have for
>Postgres is the one that came with CF, and I don't believe that I have
>unixODBC installed as a whole package.  I've downloaded the source, and I
>see the section that you're talking about, but is it possible to simple
>recompile the driver without installing all of unixODBC?

Yes. I can't check it now, but I think you can move to the postgres 
directory of unixodbc and issue a

/configure;make

from there or maybe

/configure from the unixodbc root

and then

make

from the postgresql branch.

What matters, it's the result: a brand new "libodbcpsql.so", this is the 
actual odbc postgres library. You can move it in CHOME/lib or in 
/usr/local/unixodbc/lib/  (soft linked in CFHOME/lib). In 
CFHOJME/odbc/odbc.ini you will put something like:


[my_datasource]
Description=blah blah blah
Database=mydb
Servername=localhost
Port=5432
ReadOnly=No
Driver=/opt/coldfusion/lib/libodbcpsql.so



--
Rd

"Soft as the massacre of Suns
  By Evening's Sabres slain"
[E.Dickinson]


______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to