Thread

  1. RE: plperl and the dynamic loader

    Ragnar Hakonarson <rhakonarson@conquestnetwork.com> — 2000-05-21T21:49:47Z

    Hi Tom,
    
    Thanks for you help.
    
    I have not got a great deal of experience with C.
    
    Could you be so kind to tell me how I directly link the DynaLoader into
    plperl.so.
    
    Once I got the DynaLoader in place my task is complete.
    
    You might wonder what I am doing. I am implementing a function in Postures
    that will act as a stored procedure over ODBC. I need to connect to many
    databases from the stored procedure and I also need to connect to my own
    perl .pm modules.
    
    Regards,
    Ragnar
    
    -----Original Message-----
    From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
    Sent: 21 May 2000 20:36
    To: Ragnar Hakonarson
    Subject: Re: [HACKERS] plperl and the dynamic loader
    
    
    "Ragnar Hakonarson" <rhakonarson@conquestnetwork.com> writes:
    > I get the following error from the backend:
    > 	Load of file /..../plperl.so: undefined symbol: boot_DynaLoader
    
    > What else do I have to do to enable this?
    
    IIRC, DynaLoader is a static library not dynamic, so you might have to
    link it directly into plperl.so.  Not sure about that.  I recall that
    Mark Hollomon and I had some troubles getting plperl to build portably
    when it itself depended on DynaLoader, so he rewrote it to avoid needing
    DynaLoader ...
    
    			regards, tom lane