Skip to Content.
Sympa Menu

freetds - Re: [freetds] Getting it to all work on HPUX

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Getting it to all work on HPUX
  • Date: Wed, 11 Feb 2009 09:51:15 +0100

2009/2/11 Michael Warchut <mike AT warchut.com>:
> Here is my make libct.la
>
>
> RWOrac01\:/var/tmp/mwwsources/freetds-0.82/src/ctlib# make libct.la
> if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE
> -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H
> -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include
> -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wno-long-long -D_REENTRANT -pthread -mlp64
> -Wdeclaration-after-statement -MT ct.lo -MD -MP -MF ".deps/ct.Tpo" -c -o
> ct.lo ct.c; \
> then mv -f ".deps/ct.Tpo" ".deps/ct.Plo"; else rm -f ".deps/ct.Tpo";
> exit 1; fi
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
> -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG
> -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE
> -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -D_REENTRANT -pthread -mlp64 -Wdeclaration-after-statement -MT ct.lo -MD -MP
> -MF .deps/ct.Tpo -c ct.c -DPIC -o .libs/ct.o
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
> -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG
> -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE
> -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -D_REENTRANT -pthread -mlp64 -Wdeclaration-after-statement -MT ct.lo -MD -MP
> -MF .deps/ct.Tpo -c ct.c -o ct.o >/dev/null 2>&1
> if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE
> -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H
> -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include
> -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wno-long-long -D_REENTRANT -pthread -mlp64
> -Wdeclaration-after-statement -MT cs.lo -MD -MP -MF ".deps/cs.Tpo" -c -o
> cs.lo cs.c; \
> then mv -f ".deps/cs.Tpo" ".deps/cs.Plo"; else rm -f ".deps/cs.Tpo";
> exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
> -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG
> -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE
> -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -D_REENTRANT -pthread -mlp64 -Wdeclaration-after-statement -MT cs.lo -MD -MP
> -MF .deps/cs.Tpo -c cs.c -DPIC -o .libs/cs.o
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
> -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG
> -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE
> -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -D_REENTRANT -pthread -mlp64 -Wdeclaration-after-statement -MT cs.lo -MD -MP
> -MF .deps/cs.Tpo -c cs.c -o cs.o >/dev/null 2>&1
> if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE
> -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H
> -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include
> -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wno-long-long -D_REENTRANT -pthread -mlp64
> -Wdeclaration-after-statement -MT blk.lo -MD -MP -MF ".deps/blk.Tpo" -c -o
> blk.lo blk.c; \
> then mv -f ".deps/blk.Tpo" ".deps/blk.Plo"; else rm -f
> ".deps/blk.Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
> -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG
> -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE
> -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -D_REENTRANT -pthread -mlp64 -Wdeclaration-after-statement -MT blk.lo -MD
> -MP -MF .deps/blk.Tpo -c blk.c -DPIC -o .libs/blk.o
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
> -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG
> -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE
> -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -D_REENTRANT -pthread -mlp64 -Wdeclaration-after-statement -MT blk.lo -MD
> -MP -MF .deps/blk.Tpo -c blk.c -o blk.o >/dev/null 2>&1
> if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE
> -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H
> -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include
> -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wno-long-long -D_REENTRANT -pthread -mlp64
> -Wdeclaration-after-statement -MT ctutil.lo -MD -MP -MF ".deps/ctutil.Tpo"
> -c -o ctutil.lo ctutil.c; \
> then mv -f ".deps/ctutil.Tpo" ".deps/ctutil.Plo"; else rm -f
> ".deps/ctutil.Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
> -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG
> -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE
> -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -D_REENTRANT -pthread -mlp64 -Wdeclaration-after-statement -MT ctutil.lo -MD
> -MP -MF .deps/ctutil.Tpo -c ctutil.c -DPIC -o .libs/ctutil.o
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
> -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG
> -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE
> -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -D_REENTRANT -pthread -mlp64 -Wdeclaration-after-statement -MT ctutil.lo -MD
> -MP -MF .deps/ctutil.Tpo -c ctutil.c -o ctutil.o >/dev/null 2>&1
> /bin/sh ../../libtool --tag=CC --mode=link gcc -D_REENTRANT -pthread -mlp64
> -Wdeclaration-after-statement -L/usr/local/lib -o libct.la -rpath
> /usr/local/lib -version-info 4:0:0 -export-symbols-regex '^(cs_|ct_|blk_).*'
> -Wl,-Bsymbolic ct.lo cs.lo blk.lo ctutil.lo ../tds/libtds.la
> ../replacements/libreplacements.la -lxnet
> generating symbol list for `libct.la'
> /usr/bin/nm -p .libs/ct.o .libs/cs.o .libs/blk.o .libs/ctutil.o
> ../tds/.libs/libtds.a ../replacements/.libs/libreplacements.a | sed -n -e
> 's/^.*[ ]\([ABCDEGRST][ABCDEGRST]*\)[ ][
> ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort |
> uniq > .libs/libct.exp
> grep -E -e "^(cs_|ct_|blk_).*" ".libs/libct.exp" > ".libs/libct.expT"
> mv -f ".libs/libct.expT" ".libs/libct.exp"
> rm -fr .libs/libct.lax
> mkdir .libs/libct.lax
> rm -fr .libs/libct.lax/libtds.a
> mkdir .libs/libct.lax/libtds.a
> (cd .libs/libct.lax/libtds.a && ar x
> /var/tmp/mwwsources/freetds-0.82/src/ctlib/../tds/.libs/libtds.a)
> rm -fr .libs/libct.lax/libreplacements.a
> mkdir .libs/libct.lax/libreplacements.a
> (cd .libs/libct.lax/libreplacements.a && ar x
> /var/tmp/mwwsources/freetds-0.82/src/ctlib/../replacements/.libs/libreplacem
> ents.a)
> gcc -shared -Wl,+h -Wl,libct.so.4 -o .libs/libct.so.4.0 .libs/ct.o
> .libs/cs.o .libs/blk.o .libs/ctutil.o .libs/libct.lax/libtds.a/mem.o
> .libs/libct.lax/libtds.a/token.o .libs/libct.lax/libtds.a/util.o
> .libs/libct.lax/libtds.a/login.o .libs/libct.lax/libtds.a/read.o
> .libs/libct.lax/libtds.a/write.o .libs/libct.lax/libtds.a/convert.o
> .libs/libct.lax/libtds.a/numeric.o .libs/libct.lax/libtds.a/config.o
> .libs/libct.lax/libtds.a/query.o .libs/libct.lax/libtds.a/iconv.o
> .libs/libct.lax/libtds.a/locale.o .libs/libct.lax/libtds.a/challenge.o
> .libs/libct.lax/libtds.a/threadsafe.o .libs/libct.lax/libtds.a/vstrbuild.o
> .libs/libct.lax/libtds.a/md4.o .libs/libct.lax/libtds.a/md5.o
> .libs/libct.lax/libtds.a/des.o .libs/libct.lax/libtds.a/tdsstring.o
> .libs/libct.lax/libtds.a/getmac.o .libs/libct.lax/libtds.a/data.o
> .libs/libct.lax/libtds.a/net.o .libs/libct.lax/libtds.a/tds_checks.o
> .libs/libct.lax/libtds.a/log.o .libs/libct.lax/libtds.a/gssapi.o
> .libs/libct.lax/libreplacements.a/iconv.o
> .libs/libct.lax/libreplacements.a/gettimeofday.o
> .libs/libct.lax/libreplacements.a/asprintf.o
> .libs/libct.lax/libreplacements.a/vasprintf.o
> .libs/libct.lax/libreplacements.a/readpassphrase.o
> .libs/libct.lax/libreplacements.a/strlcpy.o
> .libs/libct.lax/libreplacements.a/strlcat.o -L/usr/local/lib -lxnet -lc
> -pthread -mlp64 -Wl,-Bsymbolic
> (cd .libs && rm -f libct.so.4 && ln -s libct.so.4.0 libct.so.4)
> (cd .libs && rm -f libct.so && ln -s libct.so.4.0 libct.so)
> rm -fr .libs/libct.lax
> mkdir .libs/libct.lax
> rm -fr .libs/libct.lax/libtds.a
> mkdir .libs/libct.lax/libtds.a
> (cd .libs/libct.lax/libtds.a && ar x
> /var/tmp/mwwsources/freetds-0.82/src/ctlib/../tds/.libs/libtds.a)
> rm -fr .libs/libct.lax/libreplacements.a
> mkdir .libs/libct.lax/libreplacements.a
> (cd .libs/libct.lax/libreplacements.a && ar x
> /var/tmp/mwwsources/freetds-0.82/src/ctlib/../replacements/.libs/libreplacem
> ents.a)
> ar cru .libs/libct.a ct.o cs.o blk.o ctutil.o
> .libs/libct.lax/libtds.a/mem.o .libs/libct.lax/libtds.a/token.o
> .libs/libct.lax/libtds.a/util.o .libs/libct.lax/libtds.a/login.o
> .libs/libct.lax/libtds.a/read.o .libs/libct.lax/libtds.a/write.o
> .libs/libct.lax/libtds.a/convert.o .libs/libct.lax/libtds.a/numeric.o
> .libs/libct.lax/libtds.a/config.o .libs/libct.lax/libtds.a/query.o
> .libs/libct.lax/libtds.a/iconv.o .libs/libct.lax/libtds.a/locale.o
> .libs/libct.lax/libtds.a/challenge.o .libs/libct.lax/libtds.a/threadsafe.o
> .libs/libct.lax/libtds.a/vstrbuild.o .libs/libct.lax/libtds.a/md4.o
> .libs/libct.lax/libtds.a/md5.o .libs/libct.lax/libtds.a/des.o
> .libs/libct.lax/libtds.a/tdsstring.o .libs/libct.lax/libtds.a/getmac.o
> .libs/libct.lax/libtds.a/data.o .libs/libct.lax/libtds.a/net.o
> .libs/libct.lax/libtds.a/tds_checks.o .libs/libct.lax/libtds.a/log.o
> .libs/libct.lax/libtds.a/gssapi.o .libs/libct.lax/libreplacements.a/iconv.o
> .libs/libct.lax/libreplacements.a/gettimeofday.o
> .libs/libct.lax/libreplacements.a/asprintf.o
> .libs/libct.lax/libreplacements.a/vasprintf.o
> .libs/libct.lax/libreplacements.a/readpassphrase.o
> .libs/libct.lax/libreplacements.a/strlcpy.o
> .libs/libct.lax/libreplacements.a/strlcat.o
> ranlib .libs/libct.a
> rm -fr .libs/libct.lax .libs/libct.lax
> creating libct.la
> (cd .libs && rm -f libct.la && ln -s ../libct.la libct.la)
>
>
> I couldn't find a libct.sl on there.
>

You should have a libct.so.4.0 or libct.so.4 or libct.so under
src/ctlib/.libs. Probably you have an Itanium server (PA-RISC use .sl
extension). Please post also your libc.so and libxnet.so ("find
/usr/lib -name libxnet.\*")

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page