freetds on Solaris

<[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
We are trying to install freetds on Solaris.  We have also installed unixODBC in /usr/local.  We run the configure cmd successfully without any errors.  Then proceed to the make cmd.  This is where we start getting issues.  We get the following error:

/bin/bash ../../libtool --tag=CC --mode=link gcc -D_REENTRANT -pthreads -g -O2
Wdeclaration-after-statement   -L/usr/local/lib -o bsqlodbc  bsqlodbc-bsqlodbc.
 -lodbc   ../replacements/libreplacements.la -lnsl -lsocket
gcc -D_REENTRANT -pthreads -g -O2 -Wdeclaration-after-statement -o bsqlodbc bsq
odbc-bsqlodbc.o  -L/usr/local/lib /usr/local/lib/libodbc.so -ldl -lthread ../re
lacements/.libs/libreplacements.a -lnsl -lsocket -R/usr/local/lib -R/usr/local/
ib
ld: fatal: file /usr/local/lib/libodbc.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to bsqlodbc
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `bsqlodbc'
Current working directory /p6xbaan/freetds-0.82/src/apps
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /p6xbaan/freetds-0.82/src/apps
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /p6xbaan/freetds-0.82/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

It looks like there is a library that is missing or is mapped wrong in the path, but I am not sure what it is.  Any help would be appreciated.

Thanks,

Ken Prochaska
Corporate IT
(979) 849-6550 x1391
VOIP: 6 + 775 + 1391
[email protected]
[cid:[email protected]]<http://www.bench.com/viewer/benchmark.asp?cp=0>

_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
image001.jpg (image/jpeg, 10.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.