Change in Sybase Home Directory

"McCarthy, John" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <15B674F07184104682494FF9B9BE3CFE3F0E7F@cjbs055xch.tbo.citistreet.org>
On our HP unix system, we have a file name " /usr/local/sybase " that until recently was "linked" to our Sybase 12.0 directory.  After changing the link to point to our Sybase 12.5.3 directory, we get many errors from applications using Sybperl, DBlib, and/or CTlib.  Here are two examples:

----------------------------------------------- Ex. 1
				Can't load '/usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0/auto/Sybase/DBlib/DBlib.sl' for module Sybase::DBlib: No such file or directory at /usr/local/apps/perl5/lib/5.00503/PA-RISC2.0/DynaLoader.pm line 169.
				    at /usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0/Sybase/Sybperl.pm line 79
				    BEGIN failed--compilation aborted at /usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0/Sybase/Sybperl.pm line 79.
   BEGIN failed--compilation aborted at /share/test/export/avt10/script/process_filter_cr.pl line 81.
----------------------------------------------- Ex. 2
	Can't load '/usr/local/apps/perl-5.6.0/lib/site_perl/5.6.0/PA-RISC2.0/auto/Sybase/CTlib/CTlib.sl' for module Sybase::CTlib: No such file or
	directory at /usr/local/apps/perl-5.6.0/lib/5.6.0/PA-RISC2.0/DynaLoader.pm line 200.
	 at /share/test/import/sgt10/script/coreDBLib.pl line 373
Compilation failed in require at /share/test/import/sgt10/script/coreDBLib.pl line 373.
-----------------------------------------------

The "DBlib.sl" and CTlib.sl files that cannot be loaded do exist with the proper permissions.  Here is " ls -l " for the CTlib.sl file:
  -r-xr-xr-x   1 root       sys         159744 Jun 29  2000 /usr/local/apps/perl-5.6.0/lib/site_perl/5.6.0/PA-RISC2.0/auto/Sybase/CTlib/CTlib.sl
Is this behavior expected when changing the location of the Sybase binaries?
We were able to solve this problem (for now) by resetting the link back to its prior value.   Is there any other way to resolve this problem?

Thanks in advance for any ideas.

John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.