PerLDAP problem on OSF

From: Tony Irvine <Tony.Irvine_at_env.qld.gov.au>
Date: Thu, 10 Dec 1998 16:24:33 +1000

I am trying to use the PerLDAP modules to query our Netscape directory
server via perl but have run into a very irritating problem.

When I tried to compile the PerLDAP module I received the following
error:

LD_RUN_PATH="/www/netscape/suitespot/lib/ldapsdk/lib" ld -o
blib/arch/auto/Mozill
a/LDAP/API/API.so -shared -expect_unresolved "*" -O4 -msym -s -all
tmp.a -none
  -L/www/netscape/suitespot/lib/ldapsdk/lib -lldapssl30
ld:
Cannot use 32 bit shared lib 'libldapssl30.so' without -taso option
*** Exit 1
Stop.

So I edited the Makefile to include -taso and it compiled fine, however
now when I try to use PerLDAP I get this:

Can't load
'/usr/local/lib/perl5/site_perl/5.005/alpha-dec_osf/auto/Mozilla/LDAP/API/API.so'
for module Mozilla::LDAP::API: dlopen: Cannot load TASO library
/usr/local/lib/perl5/site_perl/5.005/alpha-dec_osf/auto/Mozilla/LDAP/API/API.so
for non-TASO executable at
/usr/local/lib/perl5/5.00502/alpha-dec_osf/DynaLoader.pm line 168.

I have tried recompiling perl with the -taso option but that breaks perl
because its own modules then get the "Cannot load TASO library" error. I
have tried compiling perl without dynamic loading enabled because it is
always DynaLoader.pm that causes the trouble but this prevents perl even
compiling.

This query may seem off topic for this list but the little info I have
managed to gain seems to indicate that it is an OSF specific issue.

Any help or just things to try would be greatly appreciated.
-- 
Tony Irvine
Information Support Officer
Department of Environment and Heritage
Tel:(07)3227-7991  Fax:(07)3227-6534
E-Mail: Tony.Irvine_at_env.qld.gov.au
---------------------------------------------
Visit us online at http://www.env.qld.gov.au
---------------------------------------------
Received on Thu Dec 10 1998 - 07:30:43 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT