[fpc-devel] Problems building on i386-win32

J. Gareth Moreton gareth at moreton-family.com
Thu Nov 26 05:15:59 CET 2020


Well, I found a temporary solution.  installing 32-bit Oracle libraries 
didn't fix the problem, so I simply commented out the $linklib entry in 
the culprit file.  I didn't have any of the other files it listed anyway!

Gareth aka. Kit

On 25/11/2020 17:51, J. Gareth Moreton via fpc-devel wrote:
> Sure thing - I'll give that a try.
>
> Looks like this is my first true experience with DLL Hell!
>
> Gareth aka. Kit
>
> On 25/11/2020 17:13, Marco van de Voort via fpc-devel wrote:
>>
>> Op 2020-11-25 om 18:10 schreef J. Gareth Moreton via fpc-devel:
>>>
>>> That's the only useful stuff I found.  Sorry to sound like such a 
>>> novice.  I have never come across this error before and am not sure 
>>> how to resolve it without breaking something critical.
>>>
>> Easiest: do an install of the relevant oracle stuff on a scratch 
>> machine/VM, collect DLLs and put them in a directory.
>>
>> Add that directory to the front of the %PATH% in the build script., 
>> and that dll will be found and not the system one.
>>
>>
>> (
>>
>> All my path changing scripts have the same structure:
>>
>>
>> @echo off
>>
>> if "%OLDPATH%" neq "" goto :nosave
>> set OLDPATH=%PATH%
>> :nosave
>> SET PATH=%OLDPATH%
>> PATH c:\pp32\bin\i386-win32;%PATH%
>>
>> This allows to undo the change by just SET PATH=%OLDPATH%, and if I 
>> first use cygwin and then FPC, that they are not both in the path as 
>> the same time
>>
>> )
>>
>>
>> _______________________________________________
>> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>>
>

-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the fpc-devel mailing list