Mailinglist Archive: opensuse-packaging (202 mails)

< Previous Next >
Re: [opensuse-packaging] libraries could not be found from package

Hi Philipp,
thank you for sharing your thoughts.

Am Sonntag, 1. Mai 2011, 12:59:40 schrieb Philipp Thomas:
On Sun, 1 May 2011 12:44:38 +0200, Denny Beyer

<opensuse@xxxxxxxxxxxxx> wrote:
Isn't it so, that libraries, when located in /usr/lib should be picked up
by programs automatically.

They should be located in the libdir that matches the architecture,
i.e. 32 bit ones in /usr/lib and 64 bit ones in /usr/lib64 but only if
the file matches the name being sought. The only thing necessary is
that you run ldconfig after (de)installing the library in the packages
%post and %postun sections. This would look like

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

I applied the changes, but it still doesn't work. Probably due to some
"hardcoded" paths in the
sources. the libs are expected in the program directory, libs "libs" .
I informed the developers, but didn't get any positive reply about planned
changes.

Philipp

Denny
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups