Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id D70C01A613A5 for ; Tue, 22 May 2012 01:28:45 -0300 (ADT) Received: from mail-pb0-f46.google.com ([209.85.160.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SWgiB-0004hI-Km for pgsql-bugs@postgresql.org; Tue, 22 May 2012 04:28:45 +0000 Received: by pbbrp8 with SMTP id rp8so7824119pbb.19 for ; Mon, 21 May 2012 21:28:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:x-gm-message-state; bh=2+XDxKIK1dQAj/CiSxbvJg4fZCYqXb+Eh8fE9V6mXh4=; b=m6+CIRDORiB5NDTkqYnTg7lMJUM38nKD03kOVXfHH4rwIpb0y0GmEPuOdlT3cCmsJC NdRh7G8El4XjpnwglaYicEJTF3Q9EHeax8g3VPsLUEnTlGSYJhpCxaTPKmOzBIdrQrSs mJOn8L/kwaVRSIuIvi3kyTd+oR3NdTNyf0Ptyxszt5qlI3pWy0Sjp2fhBZiLT6u1d7+9 15d36NvIlkksX8S8u+g99H7+Hrmk8C9oLPK5OLEU4QzZukXMM5mAqD2srGdjAdhSqLRQ 1HszQQ0iVD4G1wzFwO2I3iK+8CAxXK5yFdEsi2arZGJPtHe51s6aYQbzHYYti2Ev9w0T xXSw== Received: by 10.68.116.203 with SMTP id jy11mr75722163pbb.129.1337660909694; Mon, 21 May 2012 21:28:29 -0700 (PDT) Received: from wallace.localnet (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id pw10sm25334864pbb.61.2012.05.21.21.28.27 (version=SSLv3 cipher=OTHER); Mon, 21 May 2012 21:28:28 -0700 (PDT) Message-ID: <4FBB15E8.9040002@ringerc.id.au> Date: Tue, 22 May 2012 12:28:24 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: =?UTF-8?B?U3p1bm9tw6FyIFDDqXRlcg==?= CC: pgsql-bugs@postgresql.org Subject: Re: pltclu install problems References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------050101080507090605000601" X-Gm-Message-State: ALoCoQlDAtYoxiww4/4G8EvKla217fIIrCJTUmlwy0EfkPPAwVddJQgzpfdA2qg9iUB1BHduUD3a X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201205/135 X-Sequence-Number: 33106 This is a multi-part message in MIME format. --------------050101080507090605000601 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 05/21/2012 02:47 PM, Szunomár Péter wrote: > Even if i start the createlang.exe pltclu or run the CREATE LANGUAGE > pltclu sql command from PgAdmin, i receive the following error message: > > ================ > ERROR: could not load library "C:/Program > Files/PostgreSQL/9.1/lib/pltcl.dll": unknown error 126 > ********** Error ********** > ERROR: could not load library "C:/Program > Files/PostgreSQL/9.1/lib/pltcl.dll": unknown error 126 > SQL state: 58P01 > ================ > A dependency of pltcl is missing, like a TCL runtime. Windows gives the same "cannot find library" error (126) when the library its self is missing as when a library it depends on is missing. If you can't figure out what's missing, use Dependency Walker (http://dependencywalker.com) to open pltcl.dll and see what it's looking for. -- Craig Ringer --------------050101080507090605000601 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit On 05/21/2012 02:47 PM, Szunomár Péter wrote:
Even if i start the createlang.exe pltclu or run the CREATE LANGUAGE pltclu sql command from PgAdmin, i receive the following error message:

================
ERROR:  could not load library "C:/Program Files/PostgreSQL/9.1/lib/pltcl.dll": unknown error 126
********** Error **********
ERROR: could not load library "C:/Program Files/PostgreSQL/9.1/lib/pltcl.dll": unknown error 126
SQL state: 58P01
================

A dependency of pltcl is missing, like a TCL runtime. Windows gives the same "cannot find library" error (126) when the library its self is missing as when a library it depends on is missing.

If you can't figure out what's missing, use Dependency Walker (http://dependencywalker.com) to open pltcl.dll and see what it's looking for.

--
Craig Ringer
--------------050101080507090605000601--