DBD::Sybase and Sybase::CTlib build problems w/ 5.8.1, Solaris, gcc 3.x
From: Michael Peppler (mpeppler_at_peppler.org)
Date: 10/16/03
- Previous message: Azim Uddin: "perl make failure on HP-ux"
- Next in thread: Alan Burlison: "Re: DBD::Sybase and Sybase::CTlib build problems w/ 5.8.1, Solaris, gcc 3.x"
- Reply: Alan Burlison: "Re: DBD::Sybase and Sybase::CTlib build problems w/ 5.8.1, Solaris, gcc 3.x"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dbi-users@perl.org Date: Wed, 15 Oct 2003 17:04:16 -0700
FYI DBD::Sybase and Sybase::CTlib fail at the "make test" stage on
Solaris (and possibly other platforms) with perl 5.8.1 and gcc 3.x.
The problem is the default LDDLFLAGS configuration value that is used
with 5.8.1, which includes the following flags:
-z ignore -z lazyload -z combreloc
For some reason these linker flags cause Sybase's -ltcl to NOT get
linked in to the .so file, with the result that DBD::Sybase and
Sybase::CTlib fail to load with relocation errors when trying to load
Sybase's libct.so (I've seen symbols "com_tds_maptoken" and
"dcl_result_drop" mentioned in the error message).
I'm going to try to figure out why these -z flags inhibit linking
Sybase's libtcl.so, but in the meantime the work-around is to edit the
Makefile after running "perl Makefile.PL" and remove the offending
entries from the LDDLFLAGS macro.
Michael
-- Michael Peppler Data Migrations, Inc. mpeppler@peppler.org http://www.mbay.net/~mpeppler Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or long term contract positions - http://www.mbay.net/~mpeppler/resume.html
- Previous message: Azim Uddin: "perl make failure on HP-ux"
- Next in thread: Alan Burlison: "Re: DBD::Sybase and Sybase::CTlib build problems w/ 5.8.1, Solaris, gcc 3.x"
- Reply: Alan Burlison: "Re: DBD::Sybase and Sybase::CTlib build problems w/ 5.8.1, Solaris, gcc 3.x"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|