On Dec 6, 2004, at 10:01 AM, Ulf Renman wrote:
Hi Mike
Could you be a little more elaborate aboute the solution please. I think
I have the exact problem you describe here but I do not understand how to
solve it. Im using log4cxx-0.9.7 under linux with g++ 3.2.3. I've built two
modules as shared libraries who I want to use from my main program. But I
get the same error as described below so..
Are the reordering of linking supposed to be done when I build log4cxx and
if so how do I do that (I'm not a autoconf and make master)?
Thanks
There is not a reliable way to work around the problem. It has been fixed in the CVS. Unfortunately, JIRA (http://nagoya.apache.org/JIRA) and the mailing list archives are down at the moment, so I can't point out the specific date of the changes. The JIRA bug is fairly low, something LOGCXX-7 or so and mentions "Initialization failing on multiple platforms".
In the migration to APR, we've been introducing some significant changes and have one big one left before 0.9.8. If you are just wanting to get something working right now with the least hassle, you might pull a CVS snapshot immediately after that fix. If you are courageous, you can pull the current CVS snapshot which adds a dependency to Apache Portable Runtime.
