Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TOGzU-0008Ve-7k for pgsql-odbc@postgresql.org; Tue, 16 Oct 2012 23:56:04 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TOGzO-0004BG-9T for pgsql-odbc@postgresql.org; Tue, 16 Oct 2012 23:56:03 +0000 Received: (qmail 30139 invoked by uid 512); 16 Oct 2012 23:55:55 -0000 Received: from unknown (HELO ?127.0.0.1?) (100.126.1.62) by sd2.tpf-fw-c.co.jp with SMTP; 16 Oct 2012 23:55:55 -0000 Message-ID: <507DF3C8.7040705@tpf.co.jp> Date: Wed, 17 Oct 2012 08:54:48 +0900 From: "Inoue, Hiroshi" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: =?UTF-8?B?0JrQvtC/0YvRh9C10L3QutC+INCf0LDQstC10Ls=?= CC: pgsql-odbc@postgresql.org Subject: Re: My rebuilded Installer is not work. References: <507C1743.5070603@gmail.com> <507C17CD.1000807@gmail.com> In-Reply-To: <507C17CD.1000807@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201210/8 X-Sequence-Number: 10967 Hi, (2012/10/15 23:03), Копыченко Павел wrote: > > At first week, I can `t even compile. But now I compiled it without > errors. Then I built the installer. But during installation there is an > error. Library not loaded. I want to get a full cycle from compile to > install. I need my own distribution. I need my own installer. I tried > to do it on VS6 VS2003 VS2005. My DLL's built differ from DLL's from > you installer > (ftp://ftp.postgresql.org/pub/odbc/versions/msi/psqlodbc_09_01_0200-x64.zip). > > I compile: > > **C:\odbc\64\psqlodbc-09.01.0200>*nmake /f win64.mak CFG=Release ALL > USE_LIBPQ=yes PG_INC=c:\PostgreSQL\9.1_x64\include > PG_LIB=c:\PostgreSQL\9.1_x64\lib SSL_INC=c:\OpenSSL-Win64\include > SSL_LIB=c:\OpenSSL-Win64\lib\VC\ CPU=AMD64 > ***C:\odbc\64\psqlodbc-09.01.0200>*nmake /f win64.mak CFG=Release ALL > USE_LIBPQ=yes ANSI_VERSION=yes PG_INC=c:\PostgreSQL\9.1_x64\include > PG_LIB=c:\PostgreSQL\9.1_x64\lib SSL_INC=c:\OpenSSL-Win64\include > SSL_LIB=c:\OpenSSL-Win64\lib\VC\ CPU=AMD64 ** > * > ... > > Then i build installer: > > *cd installer** > ** > **C:\odbc\64\psqlodbc-09.01.0200\installer>MakeX64.bat** > **para=""** > **LIBPQBINDIR=** > **wix_dir="C:\Program Files (x86)\WiX Toolset v3.6\bin"** > ** > **Version not specified - defaulting to "09.01.0200"** > ** > **Building psqlODBC merge module...** > **psqlodbcm_cpu.wxs** > **Linking psqlODBC merge module...** > ** > **Building psqlODBC installer database...** > **psqlodbc_cpu.wxs** > **Linking psqlODBC installer database...** > ** > **Modifying psqlODBC installer database...** > **Microsoft (R) Windows Script Host Version 5.8** > **Copyright (C) Microsoft Corporation. All rights reserved.** > ** > **dyoqjjp5.dll|psqlodbc30a.dll -> psqlodbc30a.dll** > **pmlis0nk.dll|psqlodbc35w.dll -> psqlodbc35w.dll** > ** > **Done** > * > and then I try Installed: > > * > C:\odbc\64\psqlodbc-09.01.0200\installer>cd x64 > C:\odbc\64\psqlodbc-09.01.0200\installer\x64>psqlodbc_x64.msi* > > During installation I get an error. I can not understand why this error > occurs. > > Error 1918. Error installing ODBC driver: PostgreSQL ANSI(x64), ODBC error > 13: The setup routines for the PostgreSQL ANSI(x64) ODBC driver could > not be > loaded due to system error code 126: The specified module could not be > found. (C:\psqlODBC\0901\bin\psqlodbc30a.dll).. At first glance, the folder is different from the ordinary one C:\Program files\psqlodbc\0901\bin Do you have any clue about it? regards, HIroshi Inoue > Verify that the file > PostgreSQL ANSI(x64) exists and that you can access it.