Bonjour à tous,
J'espere que ce sujet va passionner les foules car la g vraiment besoin de monde et d'aide.
Aller c parti (je v tenter d'etre clair et limpide) :
Je cherche à installer le client pour une base pervasive.SQL v8 via odbc et pas iodbc (hic!)
Dans mon cas c le Pervasive.SQL-Client-8.50-189.000.i486.rpm (g tenté l'install uniquement en rpm)
Un coup de rpm -ivh et ca donne ca :
Citation :
[root@PCDEV>root@PCDEV</a> sofibra]# rpm -ivh
Pervasive.SQL-Client-8.50-189.000.i486.rpm
Préparation... ########################################### [100%]
+++++ Checking current user rights...
Passed...
+++++ Checking for previously installed engine...
Passed...
1:Pervasive.SQL-Client ########################################### [100%]
+++++ Setting up group and admgroup...
An existing group pvsw was found.
An existing group pvsw-adm was found.
+++++ Setting up user psql...
An existing user psql was found.
+++++ Setting up the environment...
+++++ Setting up symbolic links for libraries...
+++++ Making user psql owner of all files in /usr/local/psql...
+++++ Setting up the PCOM libraries...
/usr/local/psql/lib/libpctlgrb.so.8 registered successfully
/usr/local/psql/lib/libpceurop.so.1 registered successfully
/usr/local/psql/lib/libpssax.so.1 registered successfully
/usr/local/psql/lib/libpsutilrb.so.1 registered successfully
/usr/local/psql/lib/libclientrb.so.8 registered successfully
/usr/local/psql/lib/libupiapirb.so.8 registered successfully
/usr/local/psql/lib/libcsi100.so.8 registered successfully
/usr/local/psql/lib/libmkc.so.8 registered successfully
/usr/local/psql/lib/libpvmsgrb.so.8 registered successfully
/usr/local/psql/lib/libpsqlcsm.so.8 registered successfully
/usr/local/psql/lib/libpsqlcsp.so.8 registered successfully
/usr/local/psql/lib/libdbcsipxy.so.8 registered successfully
++++ Searching for and restoring configuration from previous install...
odbc.ini.pkgsave
odbc.ini.org
View the README and documentation for this product at:
fileusr/local/psql/clientdoc/html/index.html
Install has successfully completed.
|
Juskici tout va bien
Ensuite je teste l'install (je précise que j'attaque la base pervasive en étant sous linux et le base est sous win2000 server)
Citation :
[root@PCDEV bin]# ./odbctest
OpenLink ODBC Demonstration program
This program shows an interactive SQL processor
Enter ODBC connect string (? shows list): ?
DSN | Description
---------------------------------------------------------------
DEMODATA | Pervasive ODBC Engine: DEMODATA
Enter ODBC connect string (? shows list): DEMODATA
[iODBC][Driver Manager]Dialog failed, SQLSTATE=IM008
Have a nice day.
|
La ca merde.
Je regarde du coté des librairies et je trouve des choses étonnantes (ki non peu pas de rapport entre elles d'ailleurs)
Un coup de ldd
Citation :
[root@PCDEV bin]# ldd -r /lib/security/pam_userdb.so
libdb-4.1.so => /usr/lib/libdb-4.1.so (0x40015000)
libc.so.6 => /lib/tls/libc.so.6 (0x400d7000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4020f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: pam_get_item (/lib/security/pam_userdb.so)
undefined symbol: pam_set_item (/lib/security/pam_userdb.so)
undefined symbol: pam_get_user (/lib/security/pam_userdb.so)
|
Pas bon ca il semblerait que cela soit du à pam ou db4
Ensuite ya ca
Citation :
[root@PCDEV bin]# ldd -r /usr/local/psql/lib/odbcci.so
libpscore.so.1 => not found
libm.so.6 => /lib/tls/libm.so.6 (0x4007b000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4009d000)
libdl.so.2 => /lib/libdl.so.2 (0x400ad000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x400b0000)
libc.so.6 => /lib/tls/libc.so.6 (0x400b9000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: PSEventSignal (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSLibOpen (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSLibClose (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSAnsiToUnicode (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSEventTimedWait (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSEventCreate (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSEventWait (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSThreadCreate (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSEventDestroy (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSLibGetSymbol (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSStrLenA (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSRegistryGetValue (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSUnicodeToAnsi (/usr/local/psql/lib/odbcci.so)
undefined symbol: PSThreadJoin (/usr/local/psql/lib/odbcci.so)
|
Pour rire g fais un ldd -r /usr/local/psql/lib/* g rigolé 3s après je pleuré
Bref vous voyez surement le délire (o nivo des librairies sous RHEL3.0 c pas la fete ou alors je suis le roi de la casse)
---------------
Visiter mon site http://kwa29.com