Hi,
Make sure you have the Sybase enviroment variables set up correctly
Sybase Openclient 12.0x or higher:
- SYBASE=/opt/sybase
- SYBASE_OCS=OCS-12_5
- LD_LIBRARY_PATH=${SYBASE}/lib;${SYBASE}/${SYBASE_OCS}/lib;${LD_LIBRARY_PATH}
Sybase OpenClient 11.x or below:
- SYBASE=/opt/sybase
- LD_LIBRARY_PATH=${SYBASE}/lib;${LD_LIBRARY_PATH}
Jason L. Froebe
No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1
| [reply] |
To add to what jfroebe wrote - the most likely cause is that you have /lib or /usr/lib listed before the Sybase lib directory/ies in your LD_LIBRARY_PATH environment variable. This will cause ld.so (the dynamic loader) to load /usr/lib/libintl.so instead of $SYBASE/$SYBASE_OCS/lib/libintl.so, with predictable results.
It is almost never a good idea (or even necessary) to include the system directories (/lib, /usr/lib) in the LD_LIBRARY_PATH setting, as these directories are searched by default.
Michael
| [reply] |