Mailing List Archive

Helppppp :)
I haven't gotten a response to a problem I posted yesterday. Could
someone give me a hint how to go about debugging it myself? I've got a
little time now, and I'm pretty desperate to get this resolved.

The problem appears to be in, or at least related to, DynaLoader.pm.

Thanks.

perl5.002beta1, patches a-f installed. Attempting to install
Sybperl-2.0.

--------------------------------------------------------------------------------------------
PERL_DL_NONLAZY=1 /home/technoids/bin/perl5 -I.././blib/sun4-sunos -I.././blib -I/home/technoids/lib/perl5/sun4-sunos/5.002 -I/home/technoids/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/ctlib.............Can't load '.././blib/sun4-sunos/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so: conflicting usage of dlopen'ed dependents at /home/technoids/lib/perl5/DynaLoader.pm line 136.

at .././blib/Sybase/CTlib.pm line 810
Can't load '.././blib/sun4-sunos/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so: conflicting usage of dlopen'ed dependents at /home/technoids/lib/perl5/DynaLoader.pm line 136.

at .././blib/Sybase/CTlib.pm line 810
BEGIN failed--compilation aborted at t/ctlib.t line 8.
FAILED on test 0
Failed 1 test, 0.00% okay.
make[1]: *** [test_dynamic] Error 2
make[1]: Leaving directory `/tmp_amd/cfdev1/export/home2/technoids/perl5/sybperl-2.0/CTlib'
make: *** [test] Error 2
--------------------------------------------------------------------------------------------


--
Jim Anderson Phone: (201)524-4076
Lehman Brothers, Inc. Fax: (201)524-5153
101 Hudson Street, 34th Floor E-mail: jander@lehman.com
Jersey City, NJ 07302 jander@jander.com
Re: Helppppp :) [ In reply to ]
> From: jander@lehman.com (Jim Anderson)
>
> I haven't gotten a response to a problem I posted yesterday. Could
> someone give me a hint how to go about debugging it myself? I've got a
> little time now, and I'm pretty desperate to get this resolved.
>
> The problem appears to be in, or at least related to, DynaLoader.pm.

Not really. It's an o/s limitation.

> PERL_DL_NONLAZY=1 /home/technoids/bin/perl5 -I.././blib/sun4-sunos -I.././blib -I/home/technoids/lib/perl5/sun4-sunos/5.002 -I/home/technoids/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/ctlib.............Can't load '.././blib/sun4-sunos/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so: conflicting usage of dlopen'ed dependents at /home/technoids/lib/perl5/DynaLoader.pm line 136.

Run ldd on the perl binary and on CTlib.so.

Delete from the Makefile ld command any references to libraries (other
than libc) which are listed for perl.

Then again I may be wrong. Either way talk to the author of the module.

Tim.
Re: Helppppp :) [ In reply to ]
On Thu, 14 Dec 1995, Jim Anderson wrote:

> I haven't gotten a response to a problem I posted yesterday. Could
> someone give me a hint how to go about debugging it myself? I've got a
> little time now, and I'm pretty desperate to get this resolved.

Hmm. I'll guess you might have two different versions of
a libsybase.a and libsybase.so around. (I have no idea what the
actual names are, of course.) Try
ldd /home/technoids/bin/perl5
and make sure it's pulling in all the libraries you *think* it should be
pulling in, and that the 'ld' command that created CTlib.so used the
same libraries.

That's my guess where to start. I've never used Sybase stuff.

Good luck.

Andy Dougherty doughera@lafcol.lafayette.edu
Re: Helppppp :) [ In reply to ]
> From: jander@lehman.com (Jim Anderson)
>
> >> '.././blib/sun4-sunos/auto/Sybase/CTlib/CTlib.so' for module
> >> Sybase::CTlib: ld.so: conflicting usage of dlopen'ed dependents at
> >> /home/technoids/lib/perl5/DynaLoader.pm line 136.
>
> Tim> Run ldd on the perl binary and on CTlib.so.
>
> Tim> Delete from the Makefile ld command any references to libraries
> Tim> (other than libc) which are listed for perl.
>
> Tim> Then again I may be wrong. Either way talk to the author of the
> Tim> module.
>
> Here's the output--not exactly what I'd expect. Obviously I've got a
> problem somewhere. Any suggestions what it might be, or how I can
> track it down?
>
> CTlib> ldd /home/technoids/bin/perl5
> -ldl.1 => /usr/lib/libdl.so.1.0
> -lc.1 => /usr/lib/libc.so.1.8
> CTlib> ldd CTlib.so
> ldd: CTlib.so execution failed due to signal 11 (core dumped)

Yup, I'd say you've got a problem!

If your MakeMaker says something about use of %att being depreciated
then fetch a very recent one from a CPAN archive (it'll still give
the warning but won't muck up the Makefile).

Other than that I can't think of much else. CC'd to Michael Peppler.

Tim.
Re: Helppppp :) [ In reply to ]
>>>>> "Andy" == Andy Dougherty <doughera@lafcol.lafayette.edu> writes:

Andy> On Thu, 14 Dec 1995, Jim Anderson wrote:
>> I haven't gotten a response to a problem I posted yesterday. Could
>> someone give me a hint how to go about debugging it myself? I've
>> got a little time now, and I'm pretty desperate to get this
>> resolved.

Andy> Hmm. I'll guess you might have two different versions of a
Andy> libsybase.a and libsybase.so around. (I have no idea what the
Andy> actual names are, of course.) Try ldd /home/technoids/bin/perl5
Andy> and make sure it's pulling in all the libraries you *think* it
Andy> should be pulling in, and that the 'ld' command that created
Andy> CTlib.so used the same libraries.

Andy> That's my guess where to start. I've never used Sybase stuff.

Thanks, I'll give it a try.

jim

--
Jim Anderson Phone: (201)524-4076
Lehman Brothers, Inc. Fax: (201)524-5153
101 Hudson Street, 34th Floor E-mail: jander@lehman.com
Jersey City, NJ 07302 jander@jander.com
Re: Helppppp :) [ In reply to ]
>>>>> "Tim" == Tim Bunce <Tim.Bunce@ig.co.uk> writes:

>> From: jander@lehman.com (Jim Anderson)
>>
>> I haven't gotten a response to a problem I posted yesterday. Could
>> someone give me a hint how to go about debugging it myself? I've
>> got a little time now, and I'm pretty desperate to get this
>> resolved.
>>
>> The problem appears to be in, or at least related to,
>> DynaLoader.pm.

Tim> Not really. It's an o/s limitation.

>> PERL_DL_NONLAZY=1 /home/technoids/bin/perl5 -I.././blib/sun4-sunos
>> -I.././blib -I/home/technoids/lib/perl5/sun4-sunos/5.002
>> -I/home/technoids/lib/perl5 -e 'use Test::Harness qw(&runtests
>> $verbose); $verbose=0; runtests @ARGV;' t/*.t
>> t/ctlib.............Can't load
>> '.././blib/sun4-sunos/auto/Sybase/CTlib/CTlib.so' for module
>> Sybase::CTlib: ld.so: conflicting usage of dlopen'ed dependents at
>> /home/technoids/lib/perl5/DynaLoader.pm line 136.

Tim> Run ldd on the perl binary and on CTlib.so.

Tim> Delete from the Makefile ld command any references to libraries
Tim> (other than libc) which are listed for perl.

Tim> Then again I may be wrong. Either way talk to the author of the
Tim> module.

Tim> Tim.

Here's the output--not exactly what I'd expect. Obviously I've got a
problem somewhere. Any suggestions what it might be, or how I can
track it down?

BTW, thanks very much for responding.

CTlib> ldd /home/technoids/bin/perl5
-ldl.1 => /usr/lib/libdl.so.1.0
-lc.1 => /usr/lib/libc.so.1.8
CTlib> ldd CTlib.so
ldd: CTlib.so execution failed due to signal 11 (core dumped)


--
Jim Anderson Phone: (201)524-4076
Lehman Brothers, Inc. Fax: (201)524-5153
101 Hudson Street, 34th Floor E-mail: jander@lehman.com
Jersey City, NJ 07302 jander@jander.com
Re: Helppppp :) [ In reply to ]
>>>>> "Tim" == Tim Bunce <Tim.Bunce@ig.co.uk> writes:

>> From: jander@lehman.com (Jim Anderson)
>>
>> I haven't gotten a response to a problem I posted yesterday. Could
>> someone give me a hint how to go about debugging it myself? I've
>> got a little time now, and I'm pretty desperate to get this
>> resolved.
>>
>> The problem appears to be in, or at least related to,
>> DynaLoader.pm.

Tim> Not really. It's an o/s limitation.

>> PERL_DL_NONLAZY=1 /home/technoids/bin/perl5 -I.././blib/sun4-sunos
>> -I.././blib -I/home/technoids/lib/perl5/sun4-sunos/5.002
>> -I/home/technoids/lib/perl5 -e 'use Test::Harness qw(&runtests
>> $verbose); $verbose=0; runtests @ARGV;' t/*.t
>> t/ctlib.............Can't load
>> '.././blib/sun4-sunos/auto/Sybase/CTlib/CTlib.so' for module
>> Sybase::CTlib: ld.so: conflicting usage of dlopen'ed dependents at
>> /home/technoids/lib/perl5/DynaLoader.pm line 136.

Tim> Run ldd on the perl binary and on CTlib.so.

Tim> Delete from the Makefile ld command any references to libraries
Tim> (other than libc) which are listed for perl.

Tim> Then again I may be wrong. Either way talk to the author of the
Tim> module.

I forgot to mention that I had previously installed perl5.001n with
and Sybperl-2.0 extension w/o any problems at all. That's what has made
me think the problem has something to do with perl5.002beta1. Of
course, it's possible that something in my environment has been
changed unbeknownst to me...

jim

--
Jim Anderson Phone: (201)524-4076
Lehman Brothers, Inc. Fax: (201)524-5153
101 Hudson Street, 34th Floor E-mail: jander@lehman.com
Jersey City, NJ 07302 jander@jander.com