| Author |
Message |
Guest
|
Posted: Tue Mar 04, 2003 9:58 am Post subject: A problem - 'unable to load libsqlsyb.so' ! |
|
|
when I click test connect , then is say :
'unable to load libsqlsyb.so'
what's problem ???  |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Wed Mar 05, 2003 10:25 pm Post subject: |
|
|
Hello.
Do you have an Open-Client with CT-Lib installed ?
If so, check your environment. Open-Client libraries (search for libcs.so and libct.so) must be on LD_LIBRARY_PATH.
There is another kind of problems too. An Open-Client cannot initialize a context if you have invalid environment settings. (for example, a LANG environment variable defines an invalid locale name). Run your application from a console and analyze an output. |
|
| Back to top |
|
 |
BillyJJJ Guest
|
Posted: Thu Mar 06, 2003 7:27 am Post subject: f |
|
|
I have installed ASE12.5 !
Must install Open-Client and CT-Lib ?
another problem : How to know Open-Client libraries (search for libcs.so and libct.so) is be on LD_LIBRARY_PATH?
Would you tell me the command ?  |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Thu Mar 06, 2003 10:16 am Post subject: |
|
|
You need to install at least 3 rpm packages:
sybase-common
sybase-ase
sybase-openclient
You have two packages already installed:
sybase-common
sybase-ase
You need sybase-openclient package too. After you have installed this package you can find necessary libraries in /opt/sybase-12.5/OCS/lib directory.
All configuration steps are described briefly in /opt/sybase-12.5/readme
Login as "sybase", start a console, type "export". Now, you can see a list of all environment variables - SYBASE, modified LD_LIBRARY_PATH etc. This variables was set by login scripts of "sybase" user.
Another user doesn't have this variables. You can set LD_LIBRARY_PATH with an "export" command from a console but this will affect only applications started from this console. Alternative way is a modification of your profile. |
|
| Back to top |
|
 |
BillyJJJ Guest
|
Posted: Mon Mar 10, 2003 5:40 am Post subject: T_T . . . |
|
|
I have done it just like you say! but the problem is not dispose !
I had installed sybase-common ,sybase-ase ,sybase-openclient . . .
and I login by "sybase" user ,after type "export" I can see :
declare -x LD_LIBRARY_PATH="/opt/sybase-12.5/ASE/lib:/opt/sybase-12.5/FTS/lib:/opt/sybase-12.5/OCS/lib:/opt/sybase-12.5/SQLRemote/lib:/opt/sybase-12.5/lib"
It's say that "/opt/sybase-12.5/OCS/lib" is already in LD_LIBRARY_PATH ?
I had copied "libsqlsyb.so@ " and " libsqlsyb.so.1.2" to "/usr/local/kylix3/bin/" !
but why ?
when I click test connect , then is say :
'unable to load libsqlsyb.so'  |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Wed Mar 12, 2003 10:58 pm Post subject: Problem |
|
|
| We have found a weird problem with a linux version. Now trying to find a solution. All information will be available as a new post in a few days. |
|
| Back to top |
|
 |
BillyJJJ Guest
|
Posted: Thu Mar 13, 2003 3:27 am Post subject: f |
|
|
Would send me a e-mail If the new post had been come?
Thank you very much~~~ . .
E-mail : zhanbl@mcm.com.cn |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Thu Mar 20, 2003 12:39 am Post subject: |
|
|
OK.
In a few words, there is a conflict between /usr/lib/libintl.so and $SYBASE/OCS/lib/libintl.so |
|
| Back to top |
|
 |
teroz Guest
|
Posted: Thu Apr 24, 2003 1:58 pm Post subject: still cannot load libsqlsyb.so |
|
|
Look guys u don't seem to inspire alot of confidence with the quality of support suggestions
1. Fiirst of all to install ctlib for linux one just needs to install sybase common
this installs libcs.so and libct.so and whcih u can easily add to LD_LIBRARY_PATH.
2 Seconly make sure your SYBASE env is set to point to your install directory.
3. Add Server entries to SYBASE interface file - if u have X running u can use dsedit from the
$SYBASE\bin directory.
this is all that is required for ct lib functionailty - U can connect directly using a command like tool like sqsh or $SYBASE\bin\isql.
If this connects your ctlib is installed fine.
Now back to the libsqlsyb.so -> it just wouln't load - u can try all day is still wouln't load
don't listen to stories about /usr/lib/libintl.so existing outside the the sybase directory coz it doesn't.
comon Guys we need slightly more intelligent answers PLIZ HELP  |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Fri Apr 25, 2003 11:29 am Post subject: |
|
|
Hello.
A new version was released.
Hope, this unfortunate problem was fixed at last !
Best regards. |
|
| Back to top |
|
 |
teroz Guest
|
Posted: Fri Apr 25, 2003 3:19 pm Post subject: A big thanx guyz |
|
|
A big hand for Visoco Support the new .so file loads just great
Thanx again guyz |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Nov 04, 2003 6:04 pm Post subject: |
|
|
| VISOCO support wrote: | OK.
In a few words, there is a conflict between /usr/lib/libintl.so and $SYBASE/OCS/lib/libintl.so |
conflict??
I use laster ver. but ..........unable to load libsqlsyb.so. why?
turbolinux dataserver 7+kylix3ent+dbxsybase-trial-1.2 |
|
| Back to top |
|
 |
Mat000
Joined: 04 Nov 2003 Posts: 12
|
Posted: Wed Nov 05, 2003 4:59 pm Post subject: |
|
|
| Start your application from a console. An output can be helpful. |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Nov 07, 2003 10:45 am Post subject: |
|
|
I set LANG=C ,LC_ALL=C .......ok
but
I set LANG= other.......unload libct.so
why..? I find /opt/sybase-12.5/.cshrc unsetenv LANG??? |
|
| Back to top |
|
 |
|