pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
error compiling psqlodbc-08.04.0200 under red hat 5 2+ messages / 2 participants [nested] [flat]
* error compiling psqlodbc-08.04.0200 under red hat 5 @ 2010-05-14 16:03 Pierangelo Russo <pierangelo.russo@ita.sas.com> 0 siblings, 1 reply; 2+ messages in thread From: Pierangelo Russo @ 2010-05-14 16:03 UTC (permalink / raw) To: pgsql-odbc Hi everybody, 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: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 configure:2672: $? = 127 in attached file you can see complete log, Can you help me ? Pierangelo Attachments: config.log (application/octet-stream, 7.3K) download ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: error compiling psqlodbc-08.04.0200 under red hat 5 @ 2010-05-14 21:50 Tom Lane <tgl@sss.pgh.pa.us> parent: Pierangelo Russo <pierangelo.russo@ita.sas.com> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2010-05-14 21:50 UTC (permalink / raw) To: Pierangelo Russo <pierangelo.russo@ita.sas.com>; +Cc: pgsql-odbc Pierangelo Russo <pierangelo.russo@ita.sas.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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2010-05-14 21:50 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2010-05-14 16:03 error compiling psqlodbc-08.04.0200 under red hat 5 Pierangelo Russo <pierangelo.russo@ita.sas.com> 2010-05-14 21:50 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox