I *THINK* I might actually have a working config? I know - only 40
hours of work!!!
This specific linking error may have been resolved with help from
Yuri/Rocco, however, I tried SSSSOOOOO many different things I'm not
100% certain this was the ONLY fix:
>From Yuri:
The problem with lua has been resolved (for us) removing ' -rpath
$(libdir)' from the Makefile on libntopreport.la (as shown below)
Let me know if this has been useful for you.
Yuri
libntopreport.la: $(libntopreport_la_OBJECTS)
$(libntopreport_la_DEPENDENCIES)
$(libntopreport_la_LINK) $(libntopreport_la_OBJECTS)
$(libntopreport_la_LIBADD) $(LIBS)
As mentioned, I changed a bunch of other stuff too - but I THINK this
was a big part.
G
________________________________
From: Gary Gatten
Sent: Wednesday, June 10, 2009 6:50 PM
To: '[email protected]'; '[email protected]'
Subject: RE: Lua linking error, Solaris 10 x86 gcc4.3.3
Attached find config.log and config.status info.
Changes I made to source and stuff.
1.) manually copied libtool.m4 to libtool.m4.in (autogen.sh doesn't look
in /opt/csw/share/aclocal.)
2.) changed references to /opt/sfw to /opt/csw (screw sfw - not current
enough for many dependencies)
3.) changed references to tar to gtar (z is invalid on my tar)
Think that's it.
TIA!
G
________________________________
From: Gary Gatten
Sent: Wednesday, June 10, 2009 5:55 PM
To: '[email protected]'; '[email protected]'
Subject: Lua linking error, Solaris 10 x86 gcc4.3.3
Anyone please help? Have $$$, will pay!!!
The saga continues for yet another day.... Wonder if I'll have 3.3.10
working by July?
Configure succeeds with several warnings - nothing too serious, but I'm
no developer...
Got past several more errors today, but can't get past Lua issues for
anything. Tried downloading Lua package, source, etc. The problem
seems to be with shared library support.
... R_386_GOTOFF: relocationn must bind locally ... I can't recreate
the exact error this minute, - tried too many things....
After reading similar problems for other packages I tried various things
and upgraded to gcc4 and get this:
ld: warning: file ./.libs/libntop.so: linked to
/ntop-3780/ntop/.libs/libntop.so: attempted multiple inclusion of file
Undefined first referenced
symbol in file
luaL_openlibs ./.libs/libntopreport.so
luaL_loadfile ./.libs/libntopreport.so
luaL_register ./.libs/libntopreport.so
luaL_newmetatable ./.libs/libntopreport.so
luaL_newstate ./.libs/libntopreport.so
Did I mention I LOVE this $HIT!!!
TIA!
Gary
<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in
1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
and may contain information that is privileged and/or confidential.
If you are not the intended recipient, you are hereby notified that
any review, use, dissemination, disclosure or copying of this email
and its attachments, if any, is strictly prohibited. If you have
received this email in error, please immediately notify the sender by
return email and delete this email from your system."
</font>
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop