Thread: compiling psqlodbc for unixodbc -- still having probs

compiling psqlodbc for unixodbc -- still having probs

From
Duane Winner
Date:
Ok, I'm getting closer (I think) to getting this sucker compiled.

I copied the following files from /usr/local/include to my
psqlodbc-07.03.0200 source directory:
sql.h, sqlext.h, odbcinst.h, sqltypes.h., sqlucode.h

I then tried "make" again, and it proceeded merrily along for a little
while, but then I got this:

/usr/libexec/elf/ld: cannot find -lodbcinst
*** Error code 1

Stop in /root/psqlodbc-07.03.0200.
*** Error code 1

Stop in /root/psqlodbc-07.03.0200.


Now I'm completely at a loss.

Hints, anybody?

Again, I configured with "--with-unixodbc".
I'm trying to build this on FreeBSD-4.9-RELEASE-p3
Postgresql-7.3.5_1 (installed from ports)
unixODBC-2.2.8 (installed from ports)

Thanks,
DW