Forum OpenACS Q&A: fatal relocation errors

Collapse
Posted by Gabriel Borrageiro on
Hello All,

I'm running aolserver 3.3.1 with ACS 3.4.10, on a Sun Solaris 8 sparc.
On first attemtpting to start nsd, I get the error messages below.
Please can someone advise me?

Kind Regards,

Gabriel

[28/Nov/2001:18:38:15][23301.1][-main-] Notice: modload: loading
'/usr/local/aolserver/bin/ora8.so'
[28/Nov/2001:18:38:15][23301.1][-main-] Warning: modload: failed to
load '/usr/local/aolserver/bin/ora8.so': 'ld.so.1:
/usr/local/aolserver/bin/nsd: fatal: relocation error: file
/usr/local/aolserver/bin/ora8.so: symbol Ns_DbRegisterDriver:
referenced symbol not found'
[28/Nov/2001:18:38:15][23301.1][-main-] Error: dbdrv: failed to load
driver 'ora8'
[28/Nov/2001:18:38:15][23301.1][-main-] Error: dbinit: no such default
pool 'main'
[28/Nov/2001:18:38:15][23301.1][-main-] Notice: adp: mapped /*.adp
[28/Nov/2001:18:38:15][23301.1][-main-] Notice: modload: loading
'/usr/local/aolserver/bin/nsperm.so'
[28/Nov/2001:18:38:15][23301.1][-main-] Warning: modload: failed to
load '/usr/local/aolserver/bin/nsperm.so': 'ld.so.1:
/usr/local/aolserver/bin/nsd: fatal: relocation error: file
/usr/local/aolserver/bin/nsperm.so: symbol Ns_SetRequestAuthorizeProc:
referenced symbol not found'
[28/Nov/2001:18:38:15][23301.1][-main-] Fatal: modload: failed to load
module '/usr/local/aolserver/bin/nsperm.so'
[

Collapse
2: Me too (response to 1)
Posted by Phillip Thurmond on
I'm also having this problem.  Any help would be greatly appreciated.
Collapse
Posted by Dan Wickstrom on
To fix this error, I edited RPATH to include aolserver's lib directory and I added LDFLAGS=-Wl,-E to the solaris section of Makefile.global.