Re: [HACKERS] pltcl and LDAP
От | wieck@debis.com (Jan Wieck) |
---|---|
Тема | Re: [HACKERS] pltcl and LDAP |
Дата | |
Msg-id | m12Ndo5-0003kgC@orion.SAPserv.Hamburg.dsh.de обсуждение исходный текст |
Ответ на | Re: [HACKERS] pltcl and LDAP (wieck@debis.com (Jan Wieck)) |
Список | 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 по дате отправления: