Skip site navigation (1) Skip section navigation (2)

createlang fails

From: David J Kirol <dkirol2984(at)charter(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: createlang fails
Date: 2005-02-21 19:47:17
Message-ID: cvd3bo$11hk$1@news.hub.org (view raw or flat)
Thread:
Lists: pgsql-novice
I'm having a bit of trouble getting the plperl language to work on my
postgresql install (Win NT, sp5)
Perl was built on this machine with mingw and postgresql was built
with msys/mingw.

E:\Pg>createlang plperl dave
createlang: language installation failed: ERROR:  could not load library 
"E:/msys/local/pgsql/lib/plperl.dll": dynamic load error

The plperl.dll is infact there. Can anyone point me in the correct 
direction?

Thanks in advance

psql (PostgreSQL) 8.1devel

Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
   Platform:
     osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
     uname=''
     config_args='undef'
     hint=recommended, useposix=true, d_sigaction=undef
     usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=de
fine
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=y, bincompat5005=undef
   Compiler:
     cc='gcc', ccflags ='-s -O2 -DWIN32 -DHAVE_DES_FCRYPT 
-DPERL_DEBUGGING_MSTATS
  -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing 
-DPERL_MSVCRT_
READFIX',
     optimize='-s -O2',
     cppflags='-DWIN32'
     ccversion='', gccversion='', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
     d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long 
long', lseek
size=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='g++', ldflags ='-s -L"E:\perl\lib\CORE" -L"E:\msys\MinGW\lib"'
     libpth=E:\msys\MinGW\lib
     libs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool 
-lcomdlg32
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr 
-lwinmm
  -lversion -lodbc32
     perllibs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 
-lwinspool -lcomdl
g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 
-lmpr -lw
inmm -lversion -lodbc32
     libc=-lmsvcrt, so=dll, useshrplib=yes, libperl=libperl58.a
     gnulibc_version='undef'
   Dynamic Linking:
     dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
     cccdlflags=' ', lddlflags='-mdll -s -L"E:\perl\lib\CORE" 
-L"E:\msys\MinGW\li
b"'


Characteristics of this binary (from libperl):
   Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES 
PERL_IMPLICIT_
CONTEXT PERL_IMPLICIT_SYS
   Built under MSWin32
   Compiled at Jan 29 2005 16:35:56
   @INC:
     E:/perl/lib
     E:/perl/site/lib
     .

pgsql-novice by date

Next:From: MichaƂ MalugaDate: 2005-02-22 10:02:00
Subject: Re: Windows 8.0 Install Failure
Previous:From: A GilmoreDate: 2005-02-21 19:19:34
Subject: Re: Concatenate rows

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group