By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,725 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,725 IT Pros & Developers. It's quick & easy.

DBD::Sybase install errors

P: n/a
I'm getting link errors trying to install DBD::Sybase 1.0 on AIX 5.1,
running Sybase 12.5.0.3 64-bit and Perl 5.8.0. DBI installed fine.

I have tried building DBD::Sybase with both 32 and 64-bit support;
both give the same errors. The "perl Makefile.PL" runs without
errors, and finds all of the appropriate libraries. The "make" runs
OK until the link statement, then I get all kinds of "Undefined
symbol" errors.

The ld command line is (for the 32-bit build):
LD_RUN_PATH="/lib" ld -L/syb12_64/OCS-12_5/lib -bhalt:4 -bM:SRE
-bI:/usr/local/lib/perl5/5.8.0/aix/CORE/perl.exp -bE:Sybase.exp
-bnoentry -lc -L/usr/local/lib Sybase.o dbdimp.o -o
blib/arch/auto/DBD/Sybase/Sybase.so -L/syb12_64/OCS-12_5/lib -lintl
-ldl -lm

The errors are:
ld: 0711-317 ERROR: Undefined symbol: .ct_dynamic
ld: 0711-317 ERROR: Undefined symbol: .ct_command
ld: 0711-317 ERROR: Undefined symbol: .ct_param
ld: 0711-317 ERROR: Undefined symbol: .cs_convert
....

I get another thirty undefined symbols after that.

I know nothing about ld; has anyone successfully installed DBD::Sybase
on AIX 5.1?

Thanks,

Vince
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.