Skip to Content.
Sympa Menu

freetds - Re: [freetds] openbsd/3.0 freetds 0.61 build errors

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] openbsd/3.0 freetds 0.61 build errors
  • Date: Sat, 15 Mar 2003 21:16:32 -0500

On Sat, 15 Mar 2003 16:50:53 -0500, "Jamie ffolliott" <jamieff AT inline.net>
wrote:
> I'm getting this now compiling freetds-0.61 on an OpenBSD/3.0 system.
> Has anyone caught this one already, or see the trouble here?

Hmm. Your link statement is quite different from mine, on NetBSD.

You: gcc -g -O2 -o .libs/tsql tsql.o \
-L/usr/lib \
-lcurses \
-lreadline \
-L../tds/.libs \
-ltds

Me: gcc -g -O2 -o .libs/tsql tsql.o \
-L/usr/pkg/lib \
/usr/pkg/lib/libncurses.so \
../tds/.libs/libtds.so \
^^^^^^^^^ seems important
/usr/pkg/lib/libiconv.so \
-Wl,--rpath \
-Wl,/usr/pkg/lib \
-Wl,--rpath \
-Wl,/usr/local/lib

I have to say, I'm baffled, but if you can arm wrestle your linker,
you should be OK. The "Undefined symbol" symbol errors are the result
of not linking in libtds.

I would like to solve this, but I don't know why libtool would generate a
broken script for OpenBSD, of all things.




Archive powered by MHonArc 2.6.24.

Top of Page