Skip to Content.
Sympa Menu

freetds - Re: Building on HPUX

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Kurt Telep" <ktelep AT rohmhaas.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: Building on HPUX
  • Date: Thu, 22 Aug 2002 10:43:17 -0400


> On 21 Aug 2002, Kurt Telep wrote:
>
> > I'm trying to build the latest version on
> > HP/UX, and keep running into shared library
> > problems, mostly complaining that I have to
> > add a +x or +X to the compile string.
> >
> > I'm compiling with gcc 2.95.2, and using
> > gmake.
>
> Runtime linker problems?
>
> Quite a few things went into autoconf's input recently.
>
> Please post the errors you're seeing. Perhaps with your participation we
> can adjust things so they work on your system.
>
> Regards,
>
> --jkl

Here's the errors then I get when it attempts to link

/bin/sh ../../libtool --mode=link gcc -g -O2 -DTDS50 -fPIC +Z -o
libtds.la -rpath /usr/local/freetds/lib mem.lo token.lo util.lo login.lo
read.lo write.lo convert.lo numeric.lo config.lo query.lo iconv.lo
-liconv
.rm -fr .libs/libtds.la .libs/libtds.* .libs/libtds.*
/usr/bin/ld -b +h libtds.sl.0 +b /usr/local/freetds/lib -o
.libs/libtds.sl.0.0 mem.o token.o util.o login.o read.o write.o convert.o
numeric.o config.o query.o iconv.o /usr/local/lib/libiconv.sl -lc
/usr/bin/ld: DP relative code in file mem.o - shared library must be
position
independent. Use +z or +Z to recompile.

Can't seem to get past this, even when adding the -fPIC, and following
some of HP's suggestions on making things position independent.

Thanks-

Kurt




Archive powered by MHonArc 2.6.24.

Top of Page