[Bug 539983] Review Request: qjson - qt-based library that maps JSON data to QVariant object

bugzilla at redhat.com bugzilla at redhat.com
Sat Dec 5 22:23:42 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=539983





--- Comment #8 from Orcan 'oget' Ogetbil <oget.fedora at gmail.com>  2009-12-05 17:23:40 EDT ---
(In reply to comment #7)
> (In reply to comment #5)
> > In Fedora the files
> > 
> >    %{_libdir}/libfoo.so.*
> > go to the main library package, whereas the single file, which is a symlink
> >    %{_libdir}/libfoo.so
> > goes to the devel package. Please fix this in your package accordingly.  
> 
> Oh. I think this must be an error because, if an app should make reference to
> the symlink and the development package is not installed it won't find the
> libarary. So I left all the libraries including he mentioned symlink in the
> base package. Please correct me if I'm wrong about that.  

I don't think I made a mistake. This is the standard way we handle shared
libraries in Fedora. 
- .so goes to devel
- .so.* go to the main package (or to the -libs subpackage if there is a 
  further split)

You can verify this by checking any shared library installed in your system.
    rpm -ql libogg
    rpm -ql libogg-devel
    rpm -ql libXinerama
    rpm -ql libXinerama-devel
etc.

When you are building a shared library, the compiler (or ld) needs the .so
file. During runtime, on the other hand, the linker takes care of this and it
will point your application to the correct .so.* file. So the .so file is only
needed during building.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list