From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Pierangelo Russo <pierangelo(dot)russo(at)ita(dot)sas(dot)com> |
Cc: | "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Re: error compiling psqlodbc-08.04.0200 under red hat 5 |
Date: | 2010-05-14 21:50:47 |
Message-ID: | 11211.1273873847@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
Pierangelo Russo <pierangelo(dot)russo(at)ita(dot)sas(dot)com> writes:
> I need help to compile psqlodbc-08.04.0200 under red hat 5,
> I have unix odbc org driver manager and I got this error:
> configure:2606: checking for C compiler default output file name
> configure:2609: gcc -I/sas/software/odbc/include conftest.c -L/sas/software/odbc/lib -lodbc >&5
> configure:2612: $? = 0
> configure:2658: result: a.out
> configure:2663: checking whether the C compiler works
> configure:2669: ./a.out
> ./a.out: error while loading shared libraries: libodbc.so.1: cannot open shared object file: No such file or directory
The -I and -L switches probably should have not been in that command,
and the -l switch definitely should not have been. It looks like they
came from here:
> CPPFLAGS=' -I/sas/software/odbc/include'
> LIBS=' -L/sas/software/odbc/lib -lodbc'
Were you setting those variables in configure's environment? If so,
don't.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Phil Brierley | 2010-05-16 19:45:46 | ADO - adSchemaColumns doesn't seem to work. |
Previous Message | Pierangelo Russo | 2010-05-14 16:03:47 | error compiling psqlodbc-08.04.0200 under red hat 5 |