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
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
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера