View previous topic :: View next topic |
Author |
Message |
StrawMan
Joined: 22 Feb 2012 Posts: 4
|
Posted: Wed Feb 22, 2012 7:05 Post subject: |
|
|
Hello.
In attempting to install the pre-compiled version linked below.
I'm receiving the following error on server load:
ERROR: dlopen: ./nwnx_haks.so: ./nwnx_haks.so: undefined symbol: NWN_AppManager
This is because, I'd hazard, I'm not running an nwnx2.so compiled directly against the trunk(I'm guessing at the cause here), but instead the pre-compiled stable binary, available from the downloads area.
Unfortunately, recompiling with all the correct libraries isn't an option, given the restrictions imposed by my hosting.
Has anyone encountered the above error message?
Are there any known work-arounds?
I would love to get this up and running.
Any illumination appreciated.
leo_x wrote: | apologies for the horribly late reply. life, a couple other projects, etc. i just pushed an update to nwnx_haks, I cleaned it up a lot. I also tested it against nwnx2.so built from the main trunk and it worked fine for me, so you shouldn't see any of the segfaults you were seeing. I haven't tried it in production yet. the others still need more work before they work with a nwnx2.so built from the trunk.
you can try this one: http://dl.dropbox.com/u/32687721/nwnx_haks.7z
https://github.com/jd28/nwnx
tc,
leo |
|
|
Back to top |
|
|
leo_x
Joined: 25 Aug 2010 Posts: 75
|
Posted: Thu Feb 23, 2012 12:04 Post subject: |
|
|
[deleted - out of date] _________________ the awakening (PW Action)
Last edited by leo_x on Sun Dec 22, 2013 20:01; edited 1 time in total |
|
Back to top |
|
|
StrawMan
Joined: 22 Feb 2012 Posts: 4
|
Posted: Sat Feb 25, 2012 8:22 Post subject: |
|
|
Beautiful.
The effort is appreciated!
Unfortunately, there's a number of other technical hurdles on my side that aren't that easy to overcome.
I'm finding that I can't run NWNx 2.8 because the hosts' version of Linux (RedHat 4.1 by all accounts) and subsequently glibc (2.5) is too bloody old.
(NWNx requires at least 2.7 by all accounts). Switching hosts is not an easy option presently, so I'm considering other avenues.
Is compiling it for glibc 2.5 technically feasible?
Or does the plugin have certain dependencies that require the newer C library? |
|
Back to top |
|
|
leo_x
Joined: 25 Aug 2010 Posts: 75
|
Posted: Sat Feb 25, 2012 9:59 Post subject: |
|
|
[deleted - out of date] _________________ the awakening (PW Action)
Last edited by leo_x on Sun Dec 22, 2013 20:17; edited 1 time in total |
|
Back to top |
|
|
StrawMan
Joined: 22 Feb 2012 Posts: 4
|
Posted: Sat Feb 25, 2012 12:57 Post subject: |
|
|
Haha.
Ossified is the right word for it.
I'm going to put the idea of switching hosts to the rest of the team.
In the meantime, yeah I thought about going the Virtualbox route.
I'm already familiar with that environment, but I dread setting the whole thing up and then trying to force everything to compile against an older library.
I'm a front-end web/LAMP developer by trade.
C/C++ just makes my head ache.
I have very limited working knowledge of those languages.
Well, thanks again greatly for your help.
Would be immensely beneficial to get a newer version of your plugin running with an updated version of NWNx.
Just have to see what I can do. |
|
Back to top |
|
|
Skywing
Joined: 03 Jan 2008 Posts: 321
|
Posted: Tue Feb 28, 2012 3:16 Post subject: |
|
|
Do not use VirtualBox for NWN1 or NWN2. The timer emulation is busted and will cause the game to behavior erratically (perception failing to work at times, timed events ceasing to function or firing erratically, etc.).
The linux view of VirtualBox about sums up the current state of that particular virtualization project. |
|
Back to top |
|
|
elven
Joined: 28 Jul 2006 Posts: 259 Location: Germany
|
Posted: Tue Feb 28, 2012 11:25 Post subject: |
|
|
You can always compile it yourself; it should link fine against glibc2.5 and old libraries. It may be that you'd have to tweak some include path, but nothing elaborate. |
|
Back to top |
|
|
ShaDoOoW
Joined: 20 Aug 2005 Posts: 584
|
Posted: Fri Jul 05, 2013 16:50 Post subject: |
|
|
Bump, cant find a download for these plugins anymore, they are not included in "official" linux nwnx github repository
anyone still have them? _________________ Community Patch / NWNX Patch / NWNX Files / NWNX Connect |
|
Back to top |
|
|
elven
Joined: 28 Jul 2006 Posts: 259 Location: Germany
|
Posted: Fri Jul 05, 2013 17:05 Post subject: |
|
|
You'll probably have to check it out from jd28's GH repo and build it yourself. |
|
Back to top |
|
|
ShaDoOoW
Joined: 20 Aug 2005 Posts: 584
|
Posted: Fri Jul 05, 2013 18:52 Post subject: |
|
|
elven wrote: | You'll probably have to check it out from jd28's GH repo and build it yourself. | thanks, i found the repository _________________ Community Patch / NWNX Patch / NWNX Files / NWNX Connect |
|
Back to top |
|
|
leo_x
Joined: 25 Aug 2010 Posts: 75
|
Posted: Fri Jul 05, 2013 19:13 Post subject: |
|
|
[deleted - see top post] _________________ the awakening (PW Action)
Last edited by leo_x on Sun Dec 22, 2013 20:24; edited 1 time in total |
|
Back to top |
|
|
Ravine
Joined: 26 Jul 2006 Posts: 105
|
Posted: Sat Dec 21, 2013 13:41 Post subject: |
|
|
Hi,
i can't build the haks plugin, Makefile.in is missing.
thx |
|
Back to top |
|
|
Ravine
Joined: 26 Jul 2006 Posts: 105
|
Posted: Sun Dec 22, 2013 19:03 Post subject: |
|
|
I've tried the linked version (http://dl.dropbox.com/u/32687721/nwnx_haks.7z), but looks like that crashes when i set a hak hidden.
gdb says:
Code: |
(gdb) bt
#0 0xb76113e0 in strncpy () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#1 0xb67f063f in Func_SetHakHidden () from ./nwnx_haks.so
#2 0x00000000 in ?? ()
|
I'm using the latest core 2.8. |
|
Back to top |
|
|
leo_x
Joined: 25 Aug 2010 Posts: 75
|
Posted: Sun Dec 22, 2013 20:09 Post subject: |
|
|
Heya,
Looks like I didn't check to ensure that the request string parameter was properly formatted in this old version... I re-uploaded a compiled version under the same link -- however, it's built with gcc4.8... so it might not work for you either. If it doesn't crash, but doesn't work check the log file.
I will make a Makefile.in so you can build it yourself. You could also build it with the cmake system now, if you wanted too.
Sorry. I'm going to go back through this thread and delete all the old posts as they are largely outdated. _________________ the awakening (PW Action)
Last edited by leo_x on Sun Dec 22, 2013 20:13; edited 1 time in total |
|
Back to top |
|
|
Ravine
Joined: 26 Jul 2006 Posts: 105
|
Posted: Sun Dec 22, 2013 20:11 Post subject: |
|
|
Oh thanks, gonna try it now |
|
Back to top |
|
|
|