freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Bob Kline <bkline AT rksystems.com>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: globally defined RETCODE variable
- Date: Sun, 2 Sep 2001 14:56:28 -0400 (EDT)
I think there are two files you have to patch. Look for something like
config_vars.mk in the base directory.
On Sun, 2 Sep 2001, Ryan D. Hatch wrote:
> I tried it both ways. Patching the Makefile and not patching the make
> file.
>
> The time I patched it, the line in the Makefile looked like this before
> I patched the file;
>
> libZend_la_LDFLAGS = -L/home/db2inst1/sqllib/lib -ldb2 -lpam -ldl
> -lsybtcl -lintl -lcomn -lct -lcs -lmysqlclient -lz -lgd -ljpeg -ldb
> -ldb2 -lgdbm -lcurl -ldl -lcrypto -lssl -lz -lcrypt -lresolv -lm -ldl
> -lnsl -lresolv
>
> and like this after I patched it;
> libZend_la_LDFLAGS = -L/home/db2inst1/sqllib/lib -ldb2 -lpam -ldl -lct
> -lmysqlclient -lz -lgd -ljpeg -ldb -ldb2 -lgdbm -lcurl -ldl -lcrypto
> -lssl -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv
>
> It still gives me the same error. It looks as though it is still
> including -sybtcl, lcomn, lcs, and lintl eventhough it is not in
> Zend/Makefile (and not in /usr/src/php-4.-6/Makefile for that matter)
>
>
>
> ---------THIS IS A PATCHED make------------
> ake[1]: Entering directory `/usr/src/apps/php-4.0.6'
> /bin/sh /usr/src/apps/php-4.0.6/libtool --silent --mode=compile gcc -I.
> -I/usr/src/apps/php-4.0.6/ -I/usr/src/apps/php-4.0.6/main
> -I/usr/src/apps/php-4.0.6 -I/opt/apache_1.3.20/include
> -I/usr/src/apps/php-4.0.6/Zend -I/opt/curl-7.8/include
> -I/opt/mysql-3.23.39/include/mysql -I/home/db2inst1/sqllib/include
> -I/opt/freetds-0.52/include
> -I/usr/src/apps/php-4.0.6/ext/xml/expat/xmltok
> -I/usr/src/apps/php-4.0.6/ext/xml/expat/xmlparse
> -I/usr/src/apps/php-4.0.6/TSRM -DLINUX=22 -DMOD_SSL=208104
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
> -DXML_BYTE_ORDER=12 -g -O2 -c stub.c
> /bin/sh /usr/src/apps/php-4.0.6/libtool --silent --mode=link gcc -I.
> -I/usr/src/apps/php-4.0.6/ -I/usr/src/apps/php-4.0.6/main
> -I/usr/src/apps/php-4.0.6 -I/opt/apache_1.3.20/include
> -I/usr/src/apps/php-4.0.6/Zend -I/opt/curl-7.8/include
> -I/opt/mysql-3.23.39/include/mysql -I/home/db2inst1/sqllib/include
> -I/opt/freetds-0.52/include
> -I/usr/src/apps/php-4.0.6/ext/xml/expat/xmltok
> -I/usr/src/apps/php-4.0.6/ext/xml/expat/xmlparse
> -I/usr/src/apps/php-4.0.6/TSRM -DLINUX=22 -DMOD_SSL=208104
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
> -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath
> /usr/src/apps/php-4.0.6/libs -avoid-version -L/opt/curl-7.8/lib
> -L/opt/mysql-3.23.39/lib/mysql -L/opt/freetds-0.52/lib -R
> /opt/curl-7.8/lib -R /opt/mysql-3.23.39/lib/mysql -R
> /opt/freetds-0.52/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la
> main/libmain.la ext/zlib/libzlib.la ext/curl/libcurl.la
> ext/dba/libdba.la ext/ftp/libftp.la ext/gd/libgd.la
> ext/gettext/libgettext.la ext/mysql/libmysql.la ext/odbc/libodbc.la
> ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la
> ext/sockets/libsockets.la ext/standard/libstandard.la
> ext/sybase_ct/libsybase_ct.la ext/sysvsem/libsysvsem.la
> ext/sysvshm/libsysvshm.la ext/wddx/libwddx.la ext/xml/libxml.la
> ext/yp/libyp.la TSRM/libtsrm.la -L/home/db2inst1/sqllib/lib -ldb2 -lpam
> -ldl -lsybtcl -lintl -lcomn -lct -lcs -lmysqlclient -lz -lgd -ljpeg -ldb
> -ldb2 -lgdbm -lcurl -ldl -lcrypto -lssl -lz -lcrypt -lresolv -lm -ldl
> -lnsl -lresolv
> /usr/bin/ld: cannot find -lsybtcl
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/usr/src/apps/php-4.0.6'
> make: *** [all-recursive] Error 1
> ---------END - THIS IS A PATCHED make------------
>
> Any ideas?
>
> Thanks,
>
> Ryan
>
>
> -----Original Message-----
> From: Bob Kline [mailto:bkline AT rksystems.com]
> Sent: Sunday, September 02, 2001 5:54 AM
> To: TDS Development Group
> Subject: [freetds] Re: globally defined RETCODE variable
>
>
> On Sun, 2 Sep 2001, Ryan D. Hatch wrote:
>
> > and it breaks. Here is what it says:
> >
> > /usr/bin/ld: cannot find -lsybtcl
> > collect2: ld returned 1 exit status
> > make[1]: *** [libphp4.la] Error 1
> > make[1]: Leaving directory `/usr/src/apps/php-4.0.6'
> > make: *** [all-recursive] Error 1
> >
> > Any ideas?
>
> This problem (and its solution) are described in the manual.[1]
>
> [1] http://www.freetds.org/userguide/x655.htm
>
>
--
Bob Kline
mailto:bkline AT rksystems.com
http://www.rksystems.com
-
Re: globally defined RETCODE variable,
Ryan D. Hatch, 09/02/2001
- <Possible follow-up(s)>
- Re: globally defined RETCODE variable, Bob Kline, 09/02/2001
- Re: globally defined RETCODE variable, Ryan D. Hatch, 09/02/2001
- Re: globally defined RETCODE variable, Steve Langasek, 09/02/2001
- Re: globally defined RETCODE variable, Bob Kline, 09/02/2001
- Re: globally defined RETCODE variable, Brian Bruns, 09/02/2001
Archive powered by MHonArc 2.6.24.