Thread

  1. Problems building some libraries in 6.4.2

    Constantin Teodorescu <teo@flex.ro> — 1999-01-04T17:47:19Z

    I'm unhappy to say that but ...
    
    still there are some problems compiling 6.4.2 on Linux for libpgtcl and
    libplpgsql libraries.
    
    Configuration : RedHat Linux 5.1 i386 on Pentium
    
    After untarr-ing the final 6.4.2 distribution and configuring it with :
    
    ./configure --with-tcl
    
    1. For libpgtcl, I had to manually add -lcrypt to SHLIB_LINK line
    Makefile in src/interfaces/libpgtcl
    2. For libplpgsql, I had to manually ad -lc to SHLIB_LINK line Makefile
    in src/pl/pgsql/src
    
    
    For example, the original line for plpgsql was :
    SHLIB_LINK=-L($LIBPQDIR) -lpq
    
    Compiled that way, using plpgsql functions give the error "cannot stat
    in plpgsql.so" !
    
    After adding -lc as shown above, my functions worked corectly.
    
    Best regards,
    -- 
    Constantin Teodorescu
    FLEX Consulting Braila, ROMANIA