Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2005
    Posts
    2

    Angry Unanswered: 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 13:26.

  2. #2
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •