If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Segmentation fault, pleaze helpppppzzzz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-19-05, 12:21
kwa29 kwa29 is offline
Registered User
 
Join Date: Jan 2005
Posts: 2
Angry Segmentation fault, pleaze helpppppzzzz

Hye,
I have an Pervasive server V8.50.189 on windows server.
I have an second server but on linux (RHEL 3.0) where i want to place my php files.
I install via rpm the client,linking and modify my /etc/odbc.ini
Code:
 
[HOTELS]
Driver=/usr/local/psql/lib/libodbcci.so
Description=Pervasive ODBC Client for Hotels
  
[DEMODATA]
Driver=/usr/local/psql/lib/libodbcci.so
Description=Pervasive ODBC Client for Demodata
My /usr/local/psql/etc/odbc.ini
Code:
[HOTELS]
Driver=/usr/local/psql/lib/libodbcci.so
Description=Pervasive ODBC Client Interface
ServerDSN=hotels
ServerName=192.168.100.104:1583
UID=
PWD=
 
[DEMODATA]
Driver=/usr/local/psql/lib/libodbcci.so
Description=Pervasive ODBC Client Interface
ServerDSN=demodata
ServerName=192.168.100.104:1583
UID=
PWD=
And to be complete
Code:
[root@PCDEV lib]# ldd /lib/libodbc.so
        libiodbcinst.so.2 => /lib/libiodbcinst.so.2 (0xb75a8000)
        libdl.so.2 => /lib/libdl.so.2 (0xb75a5000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7595000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb745d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

[root@PCDEV lib]# ldd /usr/local/psql/lib/libodbcci.so
        libpscore.so.1 => /usr/local/psql/lib/libpscore.so.1 (0xb74b4000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7481000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7471000)
        libdl.so.2 => /lib/libdl.so.2 (0xb746e000)
        libgcc_s.so.1 => /usr/local/psql/lib/libgcc_s.so.1 (0xb7465000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb732d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
I have made links.
So when i test connection via other user psql or other (root,apache,...) i have that:
Code:
[root@PCDEV bin]# ./odbctest dsn=demodata
OpenLink ODBC Demonstration program
This program shows an interactive SQL processor

SQL>quit
Have a nice day.

[root@PCDEV bin]# isql -v demodata
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL> quit
Erreur de segmentation
I have a segmentation fault when i use isql or when i test my php script...
Do u have an idea ??? Can anynone help me please ?? it's very urgently because i don't want to use win$ with odbc connector.

Thanks a lot in advance for quick answer.

Last edited by kwa29; 01-19-05 at 12:26.
Reply With Quote
  #2 (permalink)  
Old 01-19-05, 19:36
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Open a support ticket with Pervasive if you don't get an answer here. I haven't used Linux so can't offer suggestions.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On