Mailinglist Archive: opensuse-buildservice (177 mails)

< Previous Next >
[opensuse-buildservice] Re: RPM naming conventions in OBS
On 15.12.2016 17:32, Roger Oberholtzer wrote:
On Thu, Dec 15, 2016 at 5:26 PM, Malcolm <malcolmlewis@xxxxxxxxxxxx> wrote:

Zypper will also fine the file...
zypper --no-refresh se -i -f libsndfile.so.1

OK. But that only works with the DSO lib files. Include files needed
to compile for the package are not known in this context.

Properly packaged libraries don't contain unversioned libraries. These
are in the respective devel packages.

in this case:
zypper se -xf /usr/lib64/libsndfile.so
will return libsndfile-devel

Take the full path of the library, strip the versions after ".so",
search with "-x" (exact match, otherwise you get libsndfile.so.1 as
well). This should work in most cases; if it doesn't, please take the
opportunity to file a bug.

The exception to this would be plugins which are usually unversioned .so
libraries in a special directory. But IIUC you are not concerned with these.

hope this helps
m.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups