|
|
sybperl-l Archive
Up Prev Next
From: ye wei <yw at alabanza dot net>
Subject: Help: undefined symbol: scl_init problem!
Date: Jan 30 2000 7:22PM
I failed to make sybperl-2.11 work with Sybase 11.9.2 on Redhat 6.1 !
I did successfully run sybperl-2.11 with Sybase 11.* whose version is
early than 11.9.2 .
When I run 'make test', I got below messages. DBLib works fine, however
CTLib doesn't:
[sybase@yw sybperl-2.11]$ make test
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "default",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
make[1]: Entering directory `/home/sybase-11.9.2/sybperl-2.11/BCP'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "default",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
make[1]: Leaving directory `/home/sybase-11.9.2/sybperl-2.11/BCP'
make[1]: Entering directory `/home/sybase-11.9.2/sybperl-2.11/CTlib'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "default",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
make[1]: Leaving directory `/home/sybase-11.9.2/sybperl-2.11/CTlib'
make[1]: Entering directory `/home/sybase-11.9.2/sybperl-2.11/DBlib'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "default",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
make[1]: Leaving directory `/home/sybase-11.9.2/sybperl-2.11/DBlib'
make[1]: Entering directory `/home/sybase-11.9.2/sybperl-2.11/Sybperl'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "default",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
make[1]: Leaving directory `/home/sybase-11.9.2/sybperl-2.11/Sybperl'
make[1]: Entering directory `/home/sybase-11.9.2/sybperl-2.11/BCP'
PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib
-I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "default",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/bcp...............perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "default",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
ok
All tests successful.
Files=1, Tests=9, 0 wallclock secs ( 0.11 cusr + 0.02 csys = 0.13
CPU)
make[1]: Leaving directory `/home/sybase-11.9.2/sybperl-2.11/BCP'
make[1]: Entering directory `/home/sybase-11.9.2/sybperl-2.11/CTlib'
PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib
-I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "default",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/ctlib.............perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "default",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't load '../blib/arch/auto/Sybase/CTlib/CTlib.so' for module
Sybase::CTlib: /opt/sybase-11.9.2/lib/libct.so: undefined symbol:
scl_sess_alloc at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line
169.
at t/ctlib.t line 11
BEGIN failed--compilation aborted at t/ctlib.t line 11.
dubious
Test returned status 255 (wstat 65280, 0xff00)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/5.00503/Test/Harness.pm line 288.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/home/sybase-11.9.2/sybperl-2.11/CTlib'
make: *** [test] Error 2
[sybase@yw sybperl-2.11]$
When I run 'eg/ct_sql.pl' manually, I got 'undefined symbol: scl_init'
error:
[sybase@yw sybperl-2.11]$ cd eg
[sybase@yw eg]$ ls
GenRepDefs.pl SecureSql.pm bcp.dat ct_param.pl dbschema.disk.pl
proc.isql
Login.pm Show.cgi bcp.pl ct_sql.pl dbschema.old
rpc-example.pl
README SybWWW.pm buffer.pl ctlib.pl dbschema.pl sql.pl
README.dbschema TABLEop.pm ct_cursor.pl dbcc.pl dbtext.pl
who.pl
[sybase@yw eg]$ perl ct_sql.pl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "default",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: error in loading shared libraries:
/opt/sybase-11.9.2/lib/libct.so: undefined symbol: scl_init
[sybase@yw eg]$
The library path was set and has been reloaded before install sybperl
module
[sybase@yw sybperl-2.11]$ more /etc/ld.so.conf
/usr/X11R6/lib
/usr/lib
/usr/i486-linux-libc5/lib
/usr/lib/qt-2.0.1/lib
/usr/lib/qt-1.44/lib
/opt/sybase-11.9.2/lib
/usr/local/lib
[sybase@yw sybperl-2.11]$
[sybase@yw sybperl-2.11]$ uname -a
Linux green.anywhere.com 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686
unknown
[sybase@yw sybperl-2.11]$
Any suggestion is very appericate!!!
Thank you very much!
--
Sincerely,
Ye wei
|