I've built freetds, using the default install directories and am trying to
compile DBD::Sybase against it with little success.

Can anyone point me in the right direction ?

Thanks, Mark.

bash-2.05b$ export SYBASE=/usr/local
bash-2.05b$ perl Makefile.PL
Sybase OpenClient  found.
The DBD::Sybase module need access to a Sybase server to run the tests.
To clear an entry please enter 'undef'
Sybase server to use (default: LDS000056\XX): LDS000056\\XX
User ID to log in to Sybase (default: sa): 
Password (default: potato): potato
Note (probably harmless): No library found for -lcs
Note (probably harmless): No library found for -lcomn
Note (probably harmless): No library found for -ldl
Using DBI 1.30 installed in
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/auto/DBI
Writing Makefile for DBD::Sybase
bash-2.05b$ make
gcc -c  -I/usr/local/include
-I/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/auto/DBI
-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSEIMPORTLIB -O2
-DVERSION=\"1.00\" -DXS_VERSION=\"1.00\"
"-I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE"   Sybase.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -c  -I/usr/local/include
-I/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/auto/DBI
-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSEIMPORTLIB -O2
-DVERSION=\"1.00\" -DXS_VERSION=\"1.00\"
"-I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE"   dbdimp.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
dbdimp.c:2116:22: warning: multi-line string literals are deprecated
dbdimp.c:2126:22: warning: multi-line string literals are deprecated
Running Mkbootstrap for DBD::Sybase ()
chmod 644 Sybase.bs
rm -f blib/arch/auto/DBD/Sybase/Sybase.dll
LD_RUN_PATH="/usr/local/lib:/usr/lib" ld2  -L/usr/local/lib  -s
-L/usr/local/lib Sybase.o dbdimp.o  -o blib/arch/auto/DBD/Sybase/Sybase.dll
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a -L/usr/local/lib
-lct -ltcl -lintl -ltds -lm  
gcc -shared -o  Sybase.dll -Wl,--out-implib=libSybase.dll.a
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-L/usr/local/lib -s -L/usr/local/lib Sybase.o dbdimp.o
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a -L/usr/local/lib
-lct -ltcl -lintl -ltds -lm
Creating library file: libSybase.dll.a
/usr/local/lib/libct.a(iconv.o)(.text+0x10c): In function `tds_iconv_open':
/cygdrive/c/temp/freetds-0.61/src/tds/iconv.c:70: undefined reference to
`_libiconv_open'
/usr/local/lib/libct.a(iconv.o)(.text+0x122):/cygdrive/c/temp/freetds-0.61/s
rc/tds/iconv.c:76: undefined reference to `_libiconv_open'
/usr/local/lib/libct.a(iconv.o)(.text+0x19e): In function `tds_iconv_close':
/cygdrive/c/temp/freetds-0.61/src/tds/iconv.c:100: undefined reference to
`_libiconv_close'
/usr/local/lib/libct.a(iconv.o)(.text+0x246): In function
`tds7_unicode2ascii':
/cygdrive/c/temp/freetds-0.61/src/tds/iconv.c:157: undefined reference to
`_libiconv'
/usr/local/lib/libct.a(iconv.o)(.text+0x27f):/cygdrive/c/temp/freetds-0.61/s
rc/tds/iconv.c:144: undefined reference to `_libiconv'
/usr/local/lib/libct.a(iconv.o)(.text+0x2c3):/cygdrive/c/temp/freetds-0.61/s
rc/tds/iconv.c:155: undefined reference to `_libiconv'
/usr/local/lib/libct.a(iconv.o)(.text+0x3de): In function
`tds7_ascii2unicode':
/cygdrive/c/temp/freetds-0.61/src/tds/iconv.c:211: undefined reference to
`_libiconv'
/usr/local/lib/libct.a(iconv.o)(.text+0x1b4): In function `tds_iconv_close':
/cygdrive/c/temp/freetds-0.61/src/tds/iconv.c:103: undefined reference to
`_libiconv_close'
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o  Sybase.dll -Wl,--out-implib=libSybase.dll.a
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-L/usr/local/lib -s -L/usr/local/lib Sybase.o dbdimp.o
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a -L/usr/local/lib
-lct -ltcl -lintl -ltds -lm

make: *** [blib/arch/auto/DBD/Sybase/Sybase.dll] Error 1
bash-2.05b$ 


**************************************************************************************
This e-mail may contain information that is privileged, confidential
or otherwise protected from disclosure. It must not be used by, or
its contents copied or disclosed to, persons other than the intended
recipient. However, the contents of this e-mail may be intercepted,
monitored or recorded by Insurance Technology Solutions Limited
for the purposes of ensuring compliance with its policies and 
procedures. Any liability (in negligence or otherwise) arising from any
third party acting, or refraining from acting, on any information
contained in this e-mail is excluded.

If you have received this e-mail by mistake please notify our System
Administrators at [EMAIL PROTECTED] and delete this e-mail.

It is the responsibility of the recipient to ensure that the onward
transmission, opening or use of this message and any attachments will
not adversely affect its systems or data. Please carry out such virus and
other checks as you consider appropriate. No responsibility is accepted
by Insurance Technology Solutions Limited in this regard.
**************************************************************************************

Reply via email to