logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Library ODBC!FETCH does not exist.

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
Jesterb769



Joined: 25 Aug 2006
Posts: 22

PostPosted: Fri Sep 22, 2006 6:30    Post subject: Library ODBC!FETCH does not exist. Reply with quote

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
View user's profile Send private message
Jesterb769



Joined: 25 Aug 2006
Posts: 22

PostPosted: Thu Sep 28, 2006 21:56    Post subject: Reply with quote

anyone else ever have this problem...?
_________________
Jester the Occasionally Merciful
World of Raathi
Creative Director/Admin
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Thu Sep 28, 2006 22:14    Post subject: Reply with quote

It's obvious. You don't have the NWNX-ODBC plugin installed.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Jesterb769



Joined: 25 Aug 2006
Posts: 22

PostPosted: Fri Sep 29, 2006 2:01    Post subject: Reply with quote

Like I said, I'm very new to linux Smile

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 Embarassed
_________________
Jester the Occasionally Merciful
World of Raathi
Creative Director/Admin
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Fri Sep 29, 2006 7:03    Post subject: Reply with quote

Jesterb769 wrote:
Like I said, I'm very new to linux Smile

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 Embarassed
Just compile and copy nwnx_odbc.so to the same directory where nwnx2.so is located.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Jesterb769



Joined: 25 Aug 2006
Posts: 22

PostPosted: Fri Sep 29, 2006 20:17    Post subject: Reply with quote

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 Embarassed
_________________
Jester the Occasionally Merciful
World of Raathi
Creative Director/Admin
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sat Sep 30, 2006 10:56    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Jesterb769



Joined: 25 Aug 2006
Posts: 22

PostPosted: Sun Oct 01, 2006 3:06    Post subject: Reply with quote

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. Rolling Eyes
_________________
Jester the Occasionally Merciful
World of Raathi
Creative Director/Admin
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sun Oct 01, 2006 9:59    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Jesterb769



Joined: 25 Aug 2006
Posts: 22

PostPosted: Sun Oct 01, 2006 23:53    Post subject: Reply with quote

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
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Tue Oct 03, 2006 9:29    Post subject: Reply with quote

Don't get me wrong, I know what ~ is for Smile 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
View user's profile Send private message Visit poster's website MSN Messenger
Jesterb769



Joined: 25 Aug 2006
Posts: 22

PostPosted: Tue Oct 03, 2006 22:09    Post subject: Reply with quote

Embarassed

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) Rolling Eyes

*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
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Wed Oct 04, 2006 15:49    Post subject: Reply with quote

I do not think that is an error. Does aps_demo.mod work ?
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group