|
From: Bastiaan B. <Bas...@li...> - 2002-12-19 10:52:22
|
Hi Greg, You seem to have a problem with loading the log4cpp shared library. Whether that's due to inherent AIX OS problems, your particular system setup, libtool or compiler shortcomings or even faulty log4cpp code, I don't know. But you could try to compile log4cpp as a static lib to see if that resolves the problem: ./configure --disable-shared --enable-static Also searching for documentation on libtool support for AIX may help: libtools jobs is to shield us from the gory details of library loading and linking on multiple platforms, your problem may indicate that libtool needs some tweaking on AIX. Good luck, Bastiaan Bakker LifeLine Networks bv On Thu, 2002-12-19 at 03:52, Beresnev, Greg wrote: > > hi there guys, > > I've tried compiling log4cpp on my AIX machine, and after > ./configure > make > make check > > got the following: > > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > make check-TESTS > exec(): 0509-036 Cannot load program testCategory because of the following errors: > 0509-150 Dependent module liblog4cpp.a(liblog4cpp.so.1) could not be loaded. > 0509-022 Cannot load module liblog4cpp.a(liblog4cpp.so.1). > 0509-026 System error: A file or directory in the path name does not exist. > FAIL: testCategory > exec(): 0509-036 Cannot load program testFixedContextCategory because of the following errors: > 0509-150 Dependent module liblog4cpp.a(liblog4cpp.so.1) could not be loaded. > 0509-022 Cannot load module liblog4cpp.a(liblog4cpp.so.1). > 0509-026 System error: A file or directory in the path name does not exist. > FAIL: testFixedContextCategory > exec(): 0509-036 Cannot load program testNDC because of the following errors: > 0509-150 Dependent module liblog4cpp.a(liblog4cpp.so.1) could not be loaded. > 0509-022 Cannot load module liblog4cpp.a(liblog4cpp.so.1). > 0509-026 System error: A file or directory in the path name does not exist. > FAIL: testNDC > exec(): 0509-036 Cannot load program testPattern because of the following errors: > 0509-150 Dependent module liblog4cpp.a(liblog4cpp.so.1) could not be loaded. > 0509-022 Cannot load module liblog4cpp.a(liblog4cpp.so.1). > 0509-026 System error: A file or directory in the path name does not exist. > FAIL: testPattern > exec(): 0509-036 Cannot load program testErrorCollision because of the following errors: > 0509-150 Dependent module liblog4cpp.a(liblog4cpp.so.1) could not be loaded. > 0509-022 Cannot load module liblog4cpp.a(liblog4cpp.so.1). > 0509-026 System error: A file or directory in the path name does not exist. > FAIL: testErrorCollision > exec(): 0509-036 Cannot load program testConfig because of the following errors: > 0509-150 Dependent module liblog4cpp.a(liblog4cpp.so.1) could not be loaded. > 0509-022 Cannot load module liblog4cpp.a(liblog4cpp.so.1). > 0509-026 System error: A file or directory in the path name does not exist. > FAIL: testConfig > exec(): 0509-036 Cannot load program testPriority because of the following errors: > 0509-150 Dependent module liblog4cpp.a(liblog4cpp.so.1) could not be loaded. > 0509-022 Cannot load module liblog4cpp.a(liblog4cpp.so.1). > 0509-026 System error: A file or directory in the path name does not exist. > FAIL: testPriority > exec(): 0509-036 Cannot load program testFilter because of the following errors: > 0509-150 Dependent module liblog4cpp.a(liblog4cpp.so.1) could not be loaded. > 0509-022 Cannot load module liblog4cpp.a(liblog4cpp.so.1). > 0509-026 System error: A file or directory in the path name does not exist. > FAIL: testFilter > =================== > 8 of 8 tests failed > =================== > make: 1254-004 The error code from the last command is 1. > > > Stop. > make: 1254-004 The error code from the last command is 2. > > > Stop. > make: 1254-004 The error code from the last command is 1. > > > Stop. > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Above error can be fixed by adding the path to liblog4cpp.a to the LIBPATH variable > but then the result of make check is: > > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > make check-TESTS > /bin/sh: 3184 Segmentation fault(coredump) > FAIL: testCategory > /bin/sh: 3190 Segmentation fault(coredump) > FAIL: testFixedContextCategory > /bin/sh: 3196 Segmentation fault(coredump) > FAIL: testNDC > /bin/sh: 3202 Segmentation fault(coredump) > FAIL: testPattern > /bin/sh: 3208 Segmentation fault(coredump) > FAIL: testErrorCollision > /bin/sh: 3214 Segmentation fault(coredump) > FAIL: testConfig > /bin/sh: 3220 Segmentation fault(coredump) > FAIL: testPriority > /bin/sh: 3226 Segmentation fault(coredump) > FAIL: testFilter > =================== > 8 of 8 tests failed > =================== > make: 1254-004 The error code from the last command is 1. > > > Stop. > make: 1254-004 The error code from the last command is 2. > > > Stop. > make: 1254-004 The error code from the last command is 1. > > > Stop. > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Was wondering what you thought of this, and whether it is my system configuration to blame.. > > regards, > > Greg |