[SOLVED] Re: Gnucash Windows Vista install problem (gconfd-2.exe Entry pointnotfound (still need help)Reply

Sebastian Held sebastian.held at gmx.de
Tue Apr 7 17:30:48 EDT 2009


Dear Richard,

your problem is solved.
You have a libglib-2.0-0.dll lying around in c:\windows or
c:\windows\system32 (even if vista hides it from you!).
This one is picked up, because gnucash starts gconfd-2.exe from
gnucash\libexec\gconfd-2.exe and not from gnucash\bin\gconfd-2.exe.
That's why the windows directories come into play...

To solve your problem, copy the following three libraries from your
gnucash\bin folder to gnucash\libexec:
iconv.dll
intl.dll
libglib-2.0-0.dll

Now the gconfd-2.exe is able to find the correct version of libglib.

br,
Sebastian




Dear Richard,

you didn't insert the line with the single
set
command. That should have printed all defined environment variables.
But lets try it the other way round:
I confirmed this to work on my machine:
Edit the file gnucash.cmd and remove
;%PATH%
from the end of the third line.

The is now a sane setting for path (wich controls the load order of
dlls). But if this doesn't help (and I think it won't) we really need
the environment variables at the time, gnucash-bin is started.
If there are more experienced developers on the list, now is the time to
jump in...

br,
Sebastian

Richard Dickinson schrieb:
> Sebastian
>
> As far as I know I did follow your last command by copying the gnucash
> folder from my laptop into the usual directory structure on the desktop and
> running gnucash.cmd.
> If I have got that wrong I apologise for my misunderstanding.
>
> Now here is the information from the cmd window as instructed:
>
>   
>
> C:\Program Files\gnucash\bin>gnucash.cmd
>
> C:\Program Files\gnucash\bin>setlocal
>
> C:\Program Files\gnucash\bin>chcp 1252
> Active code page: 1252
>
> C:\Program Files\gnucash\bin>set PATH=C:\Program
> Files\gnucash\bin;C:\Program Files\gnucash\lib;C:\Program
> Files\gnucash\lib\gnucash;C:\Program Files\gtkmm\bin;
> c:\program files\imagemagick-6.4.6-q16;C:\Tcl\bin;C:\Program
> Files\ActiveState K
> omodo Edit
> 5\;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Win
> dows\System32\Wbem;C:\Acer\Empowering
> Technology\eDataSecurity\;C:\Acer\Empoweri
> ng Technology\eDataSecurity\x86;C:\Acer\Empowering
> Technology\eDataSecurity\x64;
> C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program
> Files\Microsoft
>  SQL
> Server\100\DTS\Binn\;C:\Borland\BCC55\Bin;C:\bc55\bin;C:\j2sdk1.4.2_19\bin;
> C:\Gtk+\bin;C:\openGLtriggerjpot;C:\Program Files\QuickTime\QTSystem\
>
> C:\Program Files\gnucash\bin>set GUILE_WARN_DEPRECATED=no
>
> C:\Program Files\gnucash\bin>set GNC_MODULE_PATH=C:\Program
> Files\gnucash\lib\gnucash
>
> C:\Program Files\gnucash\bin>set GUILE_LOAD_PATH=C:\Program
> Files\gnucash\share\
> gnucash\guile-modules;C:\Program Files\gnucash\share\gnucash\scm;C:\Program
> Files\gnucash\share\guile\1.6;
>
> C:\Program Files\gnucash\bin>set LTDL_LIBRARY_PATH=C:\Program
> Files\gnucash\lib
>
>
> C:\Program Files\gnucash\bin>set QOF_LIB_DIR=C:\Program
> Files\gnucash\lib\gnucash
>
> C:\Program Files\gnucash\bin>set GNC_DBD_DIR=C:\Program
> Files\gnucash\lib\dbd
>
> C:\Program Files\gnucash\bin>set SCHEME_LIBRARY_PATH=
>
> C:\Program Files\gnucash\bin>start gnucash-bin
>
> C:\Program Files\gnucash\bin>
>
> <<<<<<<<<<<<
>
> I hope that is correct and helps!
>
> I look forward to your further advice, regards
>
> Richard
>
>
>
>
> -----Original Message-----
> From: gnucash-user-bounces at gnucash.org
> [mailto:gnucash-user-bounces at gnucash.org] On Behalf Of Sebastian Held
> Sent: 07 April 2009 08:03
> To: gnucash-user at gnucash.org
> Subject: Re: Gnucash Windows Vista install problem (gconfd-2.exe Entry
> pointnotfound (still need help)
>
>
> Lets clarify one important thing: You are talking about installing, but I 
> recommended to copy the whole gnucash tree.
>
> I now assume you are trying to start gnucash when this error appears. This
> is 
> due to the same problem with environment variables. The path variable is set
>
> correctly inside the gnucash.cmd script, but there may be another variable 
> getting in the way.
>
> Please provide the following information:
> - edit c:\program files\gnucash\bin\gnucash.cmd
> - insert the following line in front of "start gnucash-bin"
> set
> - now start a command windows (cmd.exe) and execute
> c:\program files\gnucash\bin\gnucash.cmd
>
> The set command will list all known environment variables. Please post them,
>
> that we can a clue what's going wrong here.
>
> I guess we need to unset a variable which is not used by gnucash, but
> changes 
> the search path. I'm not aware of a convenient method on windows to start
> with 
> a sane environment.
>
> Sebastian
>
>
>
>
>
> Am Dienstag 07 April 2009 00:51:55 schrieb Richard Dickinson:
>   
>> Sebastian
>>
>>     
>>> Still not installed!
>>>
>>>
>>>
>>> The procedure entry point g_assertation_message_expr could not be
>>>       
> located
>   
>>> in the dynamic link library libglib-2.0-0.dll
>>>
>>> <<<<
>>>
>>> Anything else I can try?
>>>
>>>
>>>
>>> Regards
>>>
>>> Richard
>>>       
>> Hmm, interesting...
>>
>>
>>
>> There should be no call to this dll during installation.
>>
>> If your problem is really due to the installation process, please try to
>> copy the whole c:\program files\gnucash directory from your laptop to your
>> desktop (approx 250 MiB). Be sure to copy it to the same folder, as this
>> information is contained inside the gnucash start script.
>>
>>
>>
>> Open regedit.exe on your laptop and export the key:
>>
>> HKLM\Software\gnucash
>>
>> Then import it on your desktop.
>>
>>
>>
>> Now you have a gnucash installation on your desktop and should be able to
>> execute c:\program files\gnucash\bin\gnucash.cmd
>>
>>
>>
>>
>>
>> I had a quick look at the distributed libglib-2.0-0.dll. The mentioned
>>
>> g_assertation_message_expr function is available in the dll. Your problem
>> is,
>>
>> that gnucash picks up a wrong dll from another directory.
>>
>>
>>
>> btw. you are installing as administrator, aren't you? Vista uses some dark
>>
>> magic to turn programmers life into hell. To be really sure, that Vista
>>
>> executes s.th. with administrator rights, right click the file to open and
>>
>> choose "run as administrator".
>>
>>
>>
>> br,
>>
>> Sebastian
>>
>>
>>
>>
>>
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>>     
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
>
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sebastian_held.vcf
Type: text/x-vcard
Size: 205 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20090407/75dfc45b/attachment.vcf>


More information about the gnucash-user mailing list