libpsqlodbc.so failed: ld.so.1 - Mailing list pgsql-interfaces

From Daren Sefcik
Subject libpsqlodbc.so failed: ld.so.1
Date
Msg-id 818C0CABD178D2119DA700104B8ADF4005C9@PDSISD
Whole thread Raw
List pgsql-interfaces
Has anyone gotten psqlodbc to work with Solaris 2.6..??
It all compiles fine but when I run any odbc test against it I get this:


> /opt/ISLIodbc/2.11/bin/qetestlib /usr/local/pgsql/lib/libpsqlodbc.so
Load of /usr/local/pgsql/lib/libpsqlodbc.so failed: ld.so.1: 

/opt/ISLIodbc/2.11/bin/qetestlib: fatal: relocation error: file
/usr/local/pgsql/lib/libpsqlodbc.so: symbol shutdown: referenced symbol
not found



And when I run ldd -r I get the following:

> ldd -r /usr/local/pgsql/lib/libpsqlodbc.so
       symbol not found: __ctype
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strlen
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strncmp
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: malloc
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: memset
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strcpy
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strcat
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strtok
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: free
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strstr
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: atoi
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: sprintf
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: realloc
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strcmp
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: tolower
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: .div
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strdup
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strncpy
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: time
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: .umul
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: localtime
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: sscanf
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strncasecmp
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: atof
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: atol
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: memcpy
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strchr
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strcasecmp
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: pow
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: getuid
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: getpwuid
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: getpid
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: fopen
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: setbuf
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: vfprintf
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: .rem
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: strrchr
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: shutdown
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: close
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: inet_addr
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: gethostbyname
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: socket
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: connect
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: send
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: recv
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: fclose
(/usr/local/pgsql/lib/libpsqlodbc.so)       symbol not found: fgets
(/usr/local/pgsql/lib/libpsqlodbc.so)


Does anybody have any ideas??

TIA,
Daren


pgsql-interfaces by date:

Previous
From: "Hub.Org News Admin"
Date:
Subject: ...
Next
From: Rolland Crunk
Date:
Subject: [INTERFACES] JDBC escape problem