Hello again,
On Wed, 1 Apr 2009, Peter Keller wrote:
> Hi Kevin,
>
> On Mon, 09 Feb 2009 05:16:23 -0800, Kevin Cowtan wrote:
>
>> I can't do it, and I can't figure it out. I keep getting errors like these
>> at various steps:
>>
>> /bin/sh: symbol lookup error:
>> /home/coot/autobuild/coot-pre-release-gtk2-python/lib/libreadline.so.5:
>> undefined symbol: PC
>>
>> I suspect that LD_LIBRARY_PATH is implicated, but nothing I've tried
>> works.
[snip]
> Anyway, these musings suggest how to get beyond this particular problem. You
> do the following to force the loading of the system-provided libreadline.so
> in preference to the locally-built one when bash is invoked during the build:
>
> export LD_PRELOAD=/lib64/libreadline.so.5
>
> although the better solution would probably be to disable Coot's local build
> of readline on openSUSE systems. This evironment setting is not needed to run
> coot once built, only during the build itself.
Quick update: this last statement is not correct. We have found that after
Coot has been built in this way, LD_PRELOAD _does_ need to be set when Coot
is run. Otherwise, the "undo" function does not work. I guess that another
possibility might be to copy the system-provided readline into the Coot
installation, but I haven't tried that.
Regards,
Peter.
--
Peter Keller Tel.: +44 (0)1223 353033
Global Phasing Ltd., Fax.: +44 (0)1223 366889
Sheraton House,
Castle Park,
Cambridge CB3 0AX
United Kingdom
|