[Bug 452636] Review Request: mod_proxy_html - Module to rewrite content as it passes through an apache proxy.

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 14 16:18:06 UTC 2008


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=452636


Patrice Dumas <pertusus at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pertusus at free.fr




--- Comment #30 from Patrice Dumas <pertusus at free.fr>  2008-08-14 12:18:04 EDT ---
(In reply to comment #29)
> I think either way would end up functionally the same; however, if we link
> against libxml2, we then get an implicit requires against libxml2 although I
> suppose you could just manually add an explicit Requires as well.
> 
> I'm not a technical expert on the subject at all however, so I'd be interested
> in hearing why LoadFile would be a better alternative than linking?

Using a loadfile is certainly not the way to go in fedora. Linking against
libxml2 doesn't only add an automatic requires, this is a mere side effect
of adding the soname dependency on the right libxml2 version in the binary
(something along libxml2.so.2). The binary will refuse to run if the libxml2
shared object with the right version isn't found.

There are ways to use another library at runtime (certainly by setting
LD_LIBRARY_PATH), using LoadFile (which certainly does a dlopen) is not
right. 

Ther are cases where using LoadFile or similar are right (like plugins
for example), but here it doesn't seems to be the case at all.

-- 
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 package-review mailing list