Subject: | |
From: | |
Reply To: | BIXBY,MARK (HP-Cupertino,ex1) |
Date: | Mon, 27 Sep 1999 14:47:41 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
> -----Original Message-----
> From: Joseph Whitlock [mailto:[log in to unmask]]
> Sent: Friday, September 24, 1999 2:07 PM
> To: [log in to unmask]
> Subject: Posix libraries and Perl make utility
>
>
> HP3000 Folks
>
> I'm experimenting with a couple of Posix related issues.
>
> I want to prefix my questions with the fact that I'm
> a newbie with Posix, gcc, Perl, and my understanding
> of MPEix XL's ie; (Posix *.sl files), MPEix RL's (Posix *.a files)
>
> (Please be gentle and instructive in your explainations -
> assume I know
> nothing
> and am looking for some beginning explanations.)
>
> I have downloaded the LDAP C-SDK/iX from jazz.
> I have experimented with ldapsearch and have gotten
> it to work on a LDAP directory service here at Boeing.
>
> Being a real newbie, I thought I would try down loading
> PerLDAP from the Perl CPAN. The following is the
> building of a make installation;
...much perl makeage deleted...
> After my make test, and make install, I see that make created API.sl
> which I think is the equavilent of an XL.
Correct, .sl files are really NMXLs, and .a files are really NMRLs.
> I reread Communicator 55.00 and tried to understand all the Technical
> articles regarding Dependent Libraries,
> Link Editor enhancements, and Posix Libraries in XLs. ( I'm
> not so sure
> I understood it all but maybe someone
> could guide me). Anyway... When I ran the test script which
> comes with
> PerlLDAP called oldtest.pl this is what
> happened;
>
> **************************************************************
> ***********************
>
> SITE133 MANAGER.SYS /tmp/perldap-1.4>perl oldtest.pl
> 1..8
> DYNAMIC LOADING UNRESOLVED EXTERNAL: ldap_value_free ( LDRERR 103)
> DYNAMIC LOADING UNRESOLVED EXTERNAL: ldap_mods_free ( LDRERR 103)
...snip...
> What is a DYNAMIC LOADING error and why is it happening ?
> Is API.sl equivalent to an XL? I used Linkedit to look at it and here
> it is;
>
> **************************************************************
> ***********************
>
> >pwd
> /PERL/PUB/lib/perl5/site_perl/PA-RISC1.1/auto/Mozilla/LDAP/API
> >ls -al
> total 379
> drwxrwxr-x 2 MGR.PERL PERL 512 Sep 24 13:55 .
> drwxrwxr-x 3 MGR.PERL PERL 320 Sep 20 09:44 ..
> -rwxrwxr-x 1 MGR.PERL PERL 749 Sep 24
> 13:19 .packlist
>
> -r--r--r-- 1 MGR.PERL PERL 0 Sep 24 13:18 API.bs
> -r-xr-xr-x 1 MGR.PERL PERL 192000 Sep 24 13:18 API.sl
> >callci linkedit
> HP Link Editor/iX (HP30315A.06.10) Copyright Hewlett-Packard Co 1986
>
>
> LinkEd> listxl xl=./API.sl
>
> LIBRARY NAME : ./API.sl
> XL LIST :
> VERSION : 85082112
> MODULE COUNT : 1
> MODULE LIMIT : 11
>
> MODULE NAME START LENGTH
> ----------- ----- ------
> API.c 00009000 00025D44
>
> MODULE NAME : API.c
> TEXT SIZE : 0001240C
> DATA SIZE : 00004360
> VERSION : 87102412
> LENGTH : 00025D44
> SHARED DATA : YES
>
>
> Sym C H X P Sym Sym Sym Lset
> Name Type Scope Value Name
> ---- - - - - ---- ----- ----- ----
...snip...
> ldap_abandon 0 stub ext lp+00001840
> ldap_abandon_ext 0 stub ext lp+00001EE0
> ldap_add 0 stub ext lp+00001D00
> ldap_add_ext 0 stub ext lp+000010E0
API.sl is an NMXL with external references to the LDAP C SDK.
You need to do either of the following:
1) Recreate API.sl but statically link it with the LDAP C SDK .a NMRL.
OR
2) Relink PERL.PUB.PERL to include the LDAP C SDK .sl NMXL in the
appropriate place within the XL list. :LINKEDIT ALTPROG XL= can do that.
I've never used the LDAP/iX C SDK, nor have I ever used any of the Perl LDAP
extensions, but I'm pretty sure this is your problem.
- Mark B.
|
|
|