[KLUG Members] Just *&$(@+_ install already

members@kalamazoolinux.org members@kalamazoolinux.org
Fri, 25 Oct 2002 09:14:37 -0400


>>>[root@estate1 i386]# rpm --force --nodeps --install
>>>mergeant-0.8.199-1.i386.rpm
>>>error: failed dependencies:
>>>        libaudiooss.so.1.0   is needed by mergeant-0.8.199-1
>>>        libaudio.so.2   is needed by mergeant-0.8.199-1
>>>Does the nodeps and/or force option no longer mean anything?
>>Looks like rpm is interpreting this as a mere suggestion. :)
>And I build this package with a spec file and a tar ball, on the same
>machine I'm installing it on.  It can require libraries that weren't
>even present when it was built? Mee'sa confused!

The sound of 'Doh!' echoes across the valley.....

There was an "LD_PRELOAD=libaudiooss.so.1.0:libaudio.so.2" in the session in
which I did the rpm -bb mergeant.  So apparently LD_PRELOADs at compile time get
built into the application.... even if the libraries don't exist.... learn
something every day.  Only the audio libs (from nasd) aren't on this box right
now...  Doing an "export LD_PRELOAD=" and rebuilding the RPM fixed the problem.  

But I still think "--nodeps --force" should have rammed it in anyway.