VISOCO Software  Home | Products | Services | Download | Order | Support | Forum | Resources | Search | About
  RSS feedRSS Feed  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  RegisterRegister   ProfileProfile    Log inLog in 
A problem - 'unable to load libsqlsyb.so' !

 
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE
Author Message
Guest






PostPosted: Tue Mar 04, 2003 9:58 am    Post subject: A problem - 'unable to load libsqlsyb.so' ! Reply with quote

when I click test connect , then is say :

'unable to load libsqlsyb.so'

what's problem ??? Shocked
Back to top
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Wed Mar 05, 2003 10:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
BillyJJJ
Guest





PostPosted: Thu Mar 06, 2003 7:27 am    Post subject: f Reply with quote

I have installed ASE12.5 !

Must install Open-Client and CT-Lib ? Sad

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 ? Razz
Back to top
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Thu Mar 06, 2003 10:16 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
BillyJJJ
Guest





PostPosted: Mon Mar 10, 2003 5:40 am    Post subject: T_T . . . Reply with quote

I have done it just like you say! but the problem is not dispose ! Crying or Very sad

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 ? Very Happy

I had copied "libsqlsyb.so@ " and " libsqlsyb.so.1.2" to "/usr/local/kylix3/bin/" !

but why ? Confused

when I click test connect , then is say :

'unable to load libsqlsyb.so' Question Question Question
Back to top
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Wed Mar 12, 2003 10:58 pm    Post subject: Problem Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
BillyJJJ
Guest





PostPosted: Thu Mar 13, 2003 3:27 am    Post subject: f Reply with quote

Razz Would send me a e-mail If the new post had been come?


Thank you very much~~~ . . Very Happy


E-mail : zhanbl@mcm.com.cn
Back to top
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Thu Mar 20, 2003 12:39 am    Post subject: Reply with quote

OK.
In a few words, there is a conflict between /usr/lib/libintl.so and $SYBASE/OCS/lib/libintl.so
Back to top
View user's profile Send private message Send e-mail Visit poster's website
teroz
Guest





PostPosted: Thu Apr 24, 2003 1:58 pm    Post subject: still cannot load libsqlsyb.so Reply with quote

Look guys u don't seem to inspire alot of confidence with the quality of support suggestions Embarassed
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 Idea
Back to top
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Fri Apr 25, 2003 11:29 am    Post subject: Reply with quote

Hello.

A new version was released.
Hope, this unfortunate problem was fixed at last ! Twisted Evil

Best regards.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
teroz
Guest





PostPosted: Fri Apr 25, 2003 3:19 pm    Post subject: A big thanx guyz Reply with quote

A big hand for Visoco Support the new .so file loads just great Very Happy
Thanx again guyz
Back to top
Guest






PostPosted: Tue Nov 04, 2003 6:04 pm    Post subject: Reply with quote

VISOCO support wrote:
OK.
In a few words, there is a conflict between /usr/lib/libintl.so and $SYBASE/OCS/lib/libintl.so


Shocked 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

PostPosted: Wed Nov 05, 2003 4:59 pm    Post subject: Reply with quote

Start your application from a console. An output can be helpful.
Back to top
View user's profile Send private message
Guest






PostPosted: Fri Nov 07, 2003 10:45 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE All times are GMT + 2 Hours
Page 1 of 1

 


©VISOCO Software. phpBB by phpBB Group