[redland-dev] [Redland librdf RDF API 0000416]: librdf.so symbols conflict with librdfa.so

Mantis Bug Tracker mantis-bug-sender at librdf.org
Wed Jan 26 18:04:55 CET 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=416 
====================================================================== 
Reported By:                msporny
Assigned To:                
====================================================================== 
Project:                    Redland librdf RDF API
Issue ID:                   416
Category:                   api
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-01-26 17:04
Last Modified:              2011-01-26 17:04
====================================================================== 
Summary:                    librdf.so symbols conflict with librdfa.so
Description: 
The librdf.so symbols conflict with librdfa.so. This is an issue because it is
expected that systems will install both librdf.so and librdfa.so. Since the
symbols for librdfa.so appear in librdf.so, when either library changes, it is
not deterministic which symbols an application that uses both libraries will
bind to. This is a common occurrence in Apache, where PHP and mod_python are
used in the same install and the librdf.so library is used by PHP (via redland),
and librdfa is used by mod_python (via the python extension to librdfa).

It is suggested that librdf.so does not export the symbols defined in librdfa,
but uses them internally instead.

Steps to Reproduce: 
1. Install librdf.so
2. Install a librdf-binary-incompatible version of librdfa.so
3. Use an application that utilizes the librdfa.so symbols
4. Memory corruption, near-miss, or core dump.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-26 17:04 msporny        New Issue                                    
======================================================================



More information about the redland-dev mailing list