tags 456261 + pending
kthxbye

Hi Markus,

I can can recreate your bug now (I did not have the XPCE package installed!)

After some investigation, I discovered the startup procedure of SWI Prolog
involves using argv[0] to determine where to locate 'foo.rc' (and similar)
files:

 % pwd
 /home/lamby
 % file $(which swipl)
 /usr/bin/swipl: symbolic link to `../lib/swi-prolog/bin/amd64/pl'
 % echo | strace -eopen /usr/lib/swi-prolog/bin/amd64/pl 2>&1 | grep "\.rc"
 open("/usr/lib/swi-prolog/pl.rc", O_RDONLY) = 3
 % echo | strace -eopen swipl 2>&1 | grep "\.rc"
 %

I've fixed this problem by replacing the /usr/bin/swipl symboling link with a
short shell script [0]. An updated version of the package (with new upstream
version 5.6.48) is now pending upload.


/Lamby

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20

Attachment: signature.asc
Description: PGP signature

Reply via email to