Mailing List Archive

Problems with Sx
I installed perl 5.001m and Sx-2.1 on my Sun running Sun 4.1.3_U1. I
have a simple perl script which is as follows:

use Sx;
print "This is a test\n";

When I run this test case, I get the following behavior:


> perl ~/src/gnu/perl/Sx-2.1/test
Can't load '/usr1/jvr/perl/lib/perl5/sun4-sunos/auto/Sx/Sx.so' for module Sx: ld.so: conflicting usage of dlopen'ed dependents at /usr1/jvr/perl/lib/perl5/DynaLoader.pm line 450.

at /usr1/jvr/perl/lib/perl5/Sx.pm line 45
BEGIN failed--compilation aborted at /home/jvr/src/gnu/perl/Sx-2.1/test line 1.

My perl built without any problems and there were no problems running any
of the perl tests.

Could you please help?

Jayanth Rajan
Re: Problems with Sx [ In reply to ]
In <9510101903.AA22040@gamble>
On Tue, 10 Oct 95 15:03:13 -0400
Jayanth Rajan <jvr@Cadence.COM> writes:
>I installed perl 5.001m and Sx-2.1 on my Sun running Sun 4.1.3_U1. I
>have a simple perl script which is as follows:
>
>use Sx;
>print "This is a test\n";
>
>When I run this test case, I get the following behavior:
>
>
>> perl ~/src/gnu/perl/Sx-2.1/test
>Can't load '/usr1/jvr/perl/lib/perl5/sun4-sunos/auto/Sx/Sx.so' for module Sx:
ld.so: conflicting usage of dlopen'ed dependents at
/usr1/jvr/perl/lib/perl5/DynaLoader.pm line 450.

That message means you have linked Sx.so with a *shared* library e.g. -lc
which is already linked into perl itself.

I thought recent e.g. perl5.001m version of extension utilities
handled this - or perhaps Sx has not tracked them.