Thanks. I got this to work.
But a couple of problems going ahead and running a test script.
1. The first problem : If I run my test program as ...
PERL_DL_NONLAZY=1
/usr/local/Perl5.6Bin/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/Perl5.6Bi
n/lib/perl5/5.6.0/sun4-solaris -I/usr/local/Perl5.6Bin/lib/perl5/5.6.0
test.pl
1..1
Illegal Instruction - core dumped
gmake: *** [test_dynamic] Error 132
But if I remove this "PERL_DL_NONLAZY=1", everything seems to work fine.
What does this PERL_DL_NONLAZY=1 do ?
2. The second problem with MakeMaker is that I am not able to link with the
.a files. How do I do this ? I tried to use depends as follows :
'depend' => {'blib/arch/auto/WrapConfig/WrapConfig.so' =>
'../../../unixshared/lib/sparc/nplexlib.a
../../../unixshared/lib/sparc/mdes.a
../../../unixshared/lib/sparc/TestToolSupport.a
../../../unixshared/lib/sparc/libdb.a'},
This does not seem to make an effect. I had to manually go and edit the link
line. Any ideas how could I influence MakeMaker to link to .a files ?
-----Original Message-----
From: Tye McQueen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 11:06 AM
To: Soumen Das
Cc: [EMAIL PROTECTED]
Subject: Re: Perl XS Loading on Solaris
Excerpts from the mail message of Soumen Das:
)
) blib/arch/auto/XSConfig/XSConfig.so: symbol
) __1cSMDS_ReadConfigTree6Fpw0000_l_: referenced symbol not found at
So you are missing some C++ routine with a munged name. Something
about ReadConfigTree. You need to find the library that contains
that and link against it.
) Also, I tried to see if I am missing any libraries. I did a ldd -r
) XSConfig.so and found the following missing symbols. Do I need to link
) against anything else here ?
)
The PL_* and Perl_* symbols are not found by ldd because of the
different way that Perl loads the library that ldd doesn't know about.
) symbol not found: __1cSMDS_ReadConfigTree6Fpw0000_l_
This is a problem.
These may be as well, though I'm not as sure:
) symbol not found: db_env_create
) (/home/soumen/AtlasOffSiteBuild19/unixshared/bin/sparc/libmdsutils.so)
[...]
) symbol not found: lock_detect
) (/home/soumen/AtlasOffSiteBuild19/unixshared/bin/sparc/libmdsutils.so)
) libsocket.so.1 => /usr/lib/libsocket.so.1
) symbol not found:
) __1cUCreateScriptProvider6Fpkw1rpnPCScriptProvider__l_
) (/home/soumen/AtlasOffSiteBuild19/unixshared/bin/sparc/libconfig.so)
) symbol not found: __1cPCScriptProviderHRelease6M_v_
) (/home/soumen/AtlasOffSiteBuild19/unixshared/bin/sparc/libconfig.so)
--
Tye McQueen Nothing is obvious unless you are overlooking something
http://www.metronet.com/~tye/ (scripts, links, nothing fancy)