Mailinglist Archive: zypp-devel (8 mails)

< Previous Next >
Re: [zypp-devel] Zypper Build Problem
Hi Tirtha,

On 02/27/2011 03:27 PM, Tirtha Chatterjee wrote:
it is giving this runtime error:
error while loading shared libraries: libzypp.so.810: cannot open
shared object file: No such file or directory

I did this:
cp /home/tirtha/libzypp/usr/lib/libzypp.so.810 /usr/lib

And it worked.

What is causing this error? How should I resolve this? Any help is welcome.

When executing a command, the dynamic linker does not look for libzypp.so in
your /home/tirtha/libzypp/usr/lib unless you tell it to. You can tell it e.g. by
dropping a file, say 'tirtha.conf', into /etc/ld.so.conf.d and adding the dir,
or multiple dirs into it.

You can do this also ad-hoc by writing
LD_LIBRARY_PATH=/your/dir/lib:$LD_LIBRARY_PATH anycommand

HTH

--
cheers,
jano
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
References