[freetds] problem on intall

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Mon Dec 6 09:47:45 EST 2004


> 
> Hi, 
> I have the follow problem when i install freeTDS on hp ux 11.11.
> When i lunch the command "make install"  i receve this errore code.
> 
> I hope someone can help me.
> 
> Thanks.
> 
> Luca
> 
> No suffix list.
> Making install in include
> No suffix list.
> No suffix list.
>         /bin/sh ../mkinstalldirs /usr/include
>  /opt/imake/bin/install -c -m 644 bkpublic.h /usr/include/bkpublic.h
>  /opt/imake/bin/install -c -m 644 cspublic.h /usr/include/cspublic.h
>  /opt/imake/bin/install -c -m 644 cstypes.h /usr/include/cstypes.h
>  /opt/imake/bin/install -c -m 644 ctpublic.h /usrds-0.62.4#Noude/tds.h
> sh: Nods-0.62.4#Noude/tds.h:  not found.h /usr/include/dblib.h
> rmhpux02:/ivr/ServerLog/freeTDS/freetds-0.62.4#include/sqldb.h
>  /opt/imake/bin/install -c -m 644 sqlfront.h /usr/include/sqlfront.h
>  /opt/imake/bin/install -c -m 644 sybdb.h /usr/include/sybdb.h
>  /opt/imake/bin/install -c -m 644 sybfront.h /uking install in srcNo
> sh: king:  not found.ll -c -m 644 syberror.h /usr/include/syberror.h
> rmhpux02:/ivr/ServerLog/freeTDS/freetds-0.62.4#Noude/tds.h
>  /opt/imake/bin/install -c -m 644 tdsconvert.h 
> /usr/include/tdsconvert.h
>  /opt/imake/bin/install -c -m 644 tdssrv.h 
> /usrfreetds at lists.ibiblio.org
> sh: freetds at lists.ibiblio.org:  not found. /usr/include/tdsver.h
> rmhpux02:/ivr/ServerLog/freeTDS/freetds-0.62.4#
>  /opt/imake/bin/install -c -m 644 tds_sysdep_public.h 
> /usr/include/tds_sysdep_public.h
> Making install in src
> No suffix list.
> Making install in replacements
> Making install in tds
> Making install in unittests
>         /bin/sh ../../libtool --mode=link cc  -g    -o 
> libtds.la -rpath
> /usr/lib -version-info 3:0:0  libtds_objects.la   
> ../replacements/libreplacements.la
> rm -fr  .libs/libtds.lax
> rm -fr .libs/libtds.lax
> mkdir .libs/libtds.lax
> rm -fr .libs/libtds.lax/libtds_objects.a
> mkdir .libs/libtds.lax/libtds_objects.a
> (cd .libs/libtds.lax/libtds_objects.a && ar x 
> /ivr/ServerLog/freeTDS/freetds-0.62.4/src/tds/./.libs/libtds_o
> bjects.a)
> rm -fr .libs/libtds.lax/libreplacements.a
> mkdir .libs/libtds.lax/libreplacements.a
> (cd .libs/libtds.lax/libreplacements.a && ar x 
> /ivr/ServerLog/freeTDS/freetds-0.62.4/src/tds/../replacements/
> .libs/libreplacements.a)
> /usr/bin/ld -b +h libtds.sl.3 +b /usr/lib -o 
> .libs/libtds.sl.3.0  .libs/libtds.lax/libtds_objects.a/mem.o
> .libs/libtds.lax/libtds_objects.a/token.o .libs/libtds.lax/li
> btds_objects.a/util.o 
> .libs/libtds.lax/libtds_objects.a/login.o 
> .libs/libtds.lax/libtds_objects.a/read.o
> .libs/libtds.lax/libtds_objects.a/write.o .libs/libtds.lax/lib
> tds_objects.a/convert.o 
> .libs/libtds.lax/libtds_objects.a/numeric.o 
> .libs/libtds.lax/libtds_objects.a/config.o
> .libs/libtds.lax/libtds_objects.a/query.o .libs/libtds.l
> ax/libtds_objects.a/iconv.o 
> .libs/libtds.lax/libtds_objects.a/locale.o 
> .libs/libtds.lax/libtds_objects.a/challenge.o
> .libs/libtds.lax/libtds_objects.a/threadsafe.o .li
> bs/libtds.lax/libtds_objects.a/vstrbuild.o 
> .libs/libtds.lax/libtds_objects.a/md4.o
> .libs/libtds.lax/libtds_objects.a/des.o 
> .libs/libtds.lax/libtds_objects.a/tdsstring.
> o .libs/libtds.lax/libtds_objects.a/getmac.o 
> .libs/libtds.lax/libtds_objects.a/data.o
>  .libs/libtds.lax/libreplacements.a/iconv.o 
> .libs/libtds.lax/libreplacements.a/as
> printf.o .libs/libtds.lax/libreplacements.a/vasprintf.o 
> .libs/libtds.lax/libreplacements.a/atoll.o
>   -lc
> /usr/bin/ld: Invalid loader fixup in text space needed in 
> output file for
> symbol "$00000004" in input file: 
> ".libs/libtds.lax/libtds_objects.a/token.o".
> Make sure it w
> as compiled with +z/+Z.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> 

It seems that object files are compiled not position-indipendent
(PIC)... I always used gcc compiler and it always worked. Which compiler
are you using ?
Try also to specify CFLAGS='+z' in compiler.
Something like
  CFLAGS='+z -O2 -g' ./configure --your-options
and rebuild

freddy77



More information about the FreeTDS mailing list