Re: [HACKERS] pltcl and LDAP - Mailing list pgsql-hackers

From wieck@debis.com (Jan Wieck)
Subject Re: [HACKERS] pltcl and LDAP
Date
Msg-id m12Ndo5-0003kgC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to Re: [HACKERS] pltcl and LDAP  (wieck@debis.com (Jan Wieck))
List pgsql-hackers
I wrote:

> Joe Conway wrote:
>
> > I modified pltcl.c to load a non-safe interpreter and recompiled. This
> > allowed me to use the "load" command, but the tclLDAP library still would
> > not load. The error message is:
> >
> > ERROR: pltcl: couldn't load file "/usr/lib/tclLDAP/Ldap.so":
> > /usr/lib/tclLDAP/Ldap.so: undefined symbol: Tcl_PkgProvide (#1)
>
>     Um - and that's the only unresolved one?
>
>     Which  version  of Tcl is used from PL/Tcl, and which version
>     is the Ldap.so linked against?
   I've checked by using a normal (unsafe) interpreter like you.   And I  had  no  problems  loading  a  shared
extension that   definitely calls Tcl_PkgProvide().
 
   But  this reminds me to some similar dynamic loading problems   Bruce  had  once  with  PL/pgSQL  on  FreeBSD   with
 global   variables.
 
   So what's your platform, compiler, Tcl-version?
   I'm using Linux 2.2.x, glibc-2, gcc 2.8.1, Tcl 8.0 here.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#========================================= wieck@debis.com (Jan Wieck) #




pgsql-hackers by date:

Previous
From: Jose Soares
Date:
Subject: Re: AW: [HACKERS] TRANSACTIONS
Next
From: Don Baccus
Date:
Subject: Re: AW: [HACKERS] TRANSACTIONS