View previous topic :: View next topic |
Author |
Message |
Jesterb769
Joined: 25 Aug 2006 Posts: 22
|
Posted: Fri Sep 22, 2006 6:30 Post subject: Library ODBC!FETCH does not exist. |
|
|
When I start the server, after the module has loaded, I get an error as follows.
nwnx2.txt:
Code: | NWN Extender v2.5.3-rc1
* NWNX2 activated.
FAILED: NWNX!INIT has not been initialized.
INIT: valid ret=0x0820149c
* Library ODBC!EXEC does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist.
* Library ODBC!FETCH does not exist. |
That repeating line goes on for quite a ways farther.
I saw a similiar issue here: http://www.nwnx.org/phpBB2/viewtopic.php?t=507
However, I dont get the "* Library ODBC!EXEC does not exist. " line that he does. I also made sure that the nwn folder, and all folders within it, were read/write/execute for owner, group and others.
I also get this same error using sudo, although my user account has admin privileges anyways... (not sure about the different... I'm very new linux). _________________ Jester the Occasionally Merciful
World of Raathi
Creative Director/Admin |
|
Back to top |
|
|
Jesterb769
Joined: 25 Aug 2006 Posts: 22
|
Posted: Thu Sep 28, 2006 21:56 Post subject: |
|
|
anyone else ever have this problem...? _________________ Jester the Occasionally Merciful
World of Raathi
Creative Director/Admin |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Thu Sep 28, 2006 22:14 Post subject: |
|
|
It's obvious. You don't have the NWNX-ODBC plugin installed. |
|
Back to top |
|
|
Jesterb769
Joined: 25 Aug 2006 Posts: 22
|
Posted: Fri Sep 29, 2006 2:01 Post subject: |
|
|
Like I said, I'm very new to linux
I do have LibMyODBC installed, but I'm not sure how to install a nwnx plugin for linux. Its fairly easy for windows... but for linux, I'm not exactly sure where to start to be quite honest _________________ Jester the Occasionally Merciful
World of Raathi
Creative Director/Admin |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Fri Sep 29, 2006 7:03 Post subject: |
|
|
Jesterb769 wrote: | Like I said, I'm very new to linux
I do have LibMyODBC installed, but I'm not sure how to install a nwnx plugin for linux. Its fairly easy for windows... but for linux, I'm not exactly sure where to start to be quite honest | Just compile and copy nwnx_odbc.so to the same directory where nwnx2.so is located. |
|
Back to top |
|
|
Jesterb769
Joined: 25 Aug 2006 Posts: 22
|
Posted: Fri Sep 29, 2006 20:17 Post subject: |
|
|
I hate to even say this... but where do I uh... find the nwnx_odbc plugin for linux? I cant find it in the linux nwnx download (if its packaged with it...), and otherwise I only see windows downloads for plugins. Sorry for the extremely basic questions _________________ Jester the Occasionally Merciful
World of Raathi
Creative Director/Admin |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sat Sep 30, 2006 10:56 Post subject: |
|
|
Did you see the following paragraph in the docs ?
Quote: | The configure script has been rewritten so that it will install nwnx2.so,
the plugins and nwnx2.ini to /usr/local/share/nwn, the default game
installation path. |
So this is where you should be able to find the .so. _________________ Papillon |
|
Back to top |
|
|
Jesterb769
Joined: 25 Aug 2006 Posts: 22
|
Posted: Sun Oct 01, 2006 3:06 Post subject: |
|
|
I used the --prefix= to install to the alternative NWN directory I installed. Maybe I'm not using the "--with-extraplugins=" correctly.
I'm trying to use the following line:
Code: | ./configure --prefix=/~/nwn --with-extra-plugins="odbc" |
but I get an error saying it cannoy find input file odbc/Makefile.in
I've also replaced "odbc" with "nwnx_odbc" and "nwnx_odbc.so" to the same result. I'm getting the feeling I'm sort of completely missing something silly and fundamental. _________________ Jester the Occasionally Merciful
World of Raathi
Creative Director/Admin |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sun Oct 01, 2006 9:59 Post subject: |
|
|
Jesterb769 wrote: |
Code: | ./configure --prefix=/~/nwn --with-extra-plugins="odbc" |
|
This does not look right to me: Where does the path /~/nwn actually point to ? Are you sure it is valid ? I would recommend to call the prefix option with the full path information, e.g. --prefix=/home/nwn/ _________________ Papillon |
|
Back to top |
|
|
Jesterb769
Joined: 25 Aug 2006 Posts: 22
|
Posted: Sun Oct 01, 2006 23:53 Post subject: |
|
|
doing "cd ~" takes me directly to my home folder which would be /home/<myusername>
the nwn installation is at /home/<myusername>/nwn ...or /~/nwn -- I'll try it both ways for the --prefix though.
*edit*
same error: "error: cannot find input file: odbc/Makefile.in" _________________ Jester the Occasionally Merciful
World of Raathi
Creative Director/Admin |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue Oct 03, 2006 9:29 Post subject: |
|
|
Don't get me wrong, I know what ~ is for It's just that /~ is not valid (at least in my shell), as can be demonstrated by cd /~.
Anyway. Please try without the extra plugins switch, and second, try it without any parameters to configure at all.
You should find a nwnx_odbc.so in the db/ directory after a successful compile. _________________ Papillon |
|
Back to top |
|
|
Jesterb769
Joined: 25 Aug 2006 Posts: 22
|
Posted: Tue Oct 03, 2006 22:09 Post subject: |
|
|
I suppose it would be somewhat silly to say that I never looked for nwnx_odbc.so in the db folder... and it may have been there all along from an earlier configure.
Oh my... *shakes his head*
Anyways, thank you for all your help to a complete linux newbie... maybe one of these days I'll actually figure out what I'm doing (hopefully sooner than later)
*edit*
Huzzah! Two errors down... one to go! Now I've only got:
Code: | INIT: valid ret=0x0820149 |
_________________ Jester the Occasionally Merciful
World of Raathi
Creative Director/Admin |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Wed Oct 04, 2006 15:49 Post subject: |
|
|
I do not think that is an error. Does aps_demo.mod work ? _________________ Papillon |
|
Back to top |
|
|
|