[EMAIL PROTECTED] writes:
>On Tue, Jun 19, 2001 at 06:01:23PM +0200, Guillaume Cottenceau wrote:
>> "Brian J. Murrell" <[EMAIL PROTECTED]> writes:
>>
>>
>> > This is because when one uses libsafe in one's LD_PRELOAD (or
>> > /etc/ld.so.preload) it makes ldd think that it's the binary that
>>
>> you didn't tell that you used libsafe in LD_PRELOAD in your complain..
>
>I didn't post the original issue/complaint. I was just expanding on
>the original poster's issue as my interpretation of what the issue was
>was very different from yours.
>
>b.
>
>
>--
>Brian J. Murrell
Peace guys!
libsafe is added in /etc/ld.so.preload after rpm installation.
'from libsafe.spec of 2.0-3mdk'
<cut>
%post
/sbin/ldconfig
# For enable directly libsafe after install
touch %{_sysconfdir}/ld.so.preload
echo "/lib/libsafe.so.%{version}" >> %{_sysconfdir}/ld.so.preload
<cut>
My problem still remains.
$ rpm -Uvh libsafe-2.0-3mdk.i686.rpm
error: failed dependencies:
libsafe.so.2.0 is needed by libsafe-2.0-3mdk
$ rpm -qa | grep libsafe
libsafe-2.0-2mdk
I have libsafe installed but rpm does not seem to know it. -- 1st problem
And aside from that, binary rpm are dependent on libsafe. -- 2nd
problem
All of these happen after rpm --rebuild.
I already tried unstalling libsafe-2.0-2mdk and
installing libsafe-2.0-3mdk. I also tried doing a fresh install
(downloading mkd80 iso from ftp.sunet.se, installing just the
first cd, and installing libsafe).
I believe that Brian J. Murrell's post (using objdump or excluding
LD_PRELOAD in /usr/lib/rpm/find-requires) will fix the 2nd problem.
But what about the 1st problem? Right now I'm just doing 'rpm --nodeps
-ivh'.
Thanks.
Sherwin