rm5248 commented on issue #420: URL: https://github.com/apache/logging-log4cxx/issues/420#issuecomment-2437698999
> ``` > [antoinem@smt8-01 exalib]$ ldd libcifset-EL7-64bit.so | grep liblog > liblog4cxx.so.15 => /home/antoinem/projects/log4cxx/apache-log4cxx-1.3.0/build/log4cxx/src/main/cpp/liblog4cxx.so.15 (0x00007f76ec81d000) > liblog4cxx.so.9 => /opt/hp93000rt/el7/x86_64/log4cxx_0.9.7/lib/liblog4cxx.so.9 (0x00007f76e3424000) > ``` This looks to me like when you're building the shared library, you're somehow linking to log4cxx twice. Perhaps there is a transitive dependency on log4cxx from another library? I'm not quite sure what the behavior would be when this runs, but I suspect that the symbols may be loaded in an indeterminate way, some from one library and some from another. One thing you could try in this case would be to configure the build and have a custom namespace, e.g. `-DLOG4CXX_NS=new_log4cxx`. You would need to change your code to use the new namespace if you do this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org