Re: DBD::Sybase building Problem 64<>32bit

Michael Peppler <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
Hi,

So the issue is that the 64 bit libraries are not found at run-time.

If you "source" the SYBASE.sh file located in the root directory of your ASE 15.7 64 bit install you should be fine.

You can also add these directories to the /etc/ld.so.conf to add these directories to the normal search path.

On a CentOS box I have:

[mpeppler@li ~]$ cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
[mpeppler@li ~]$ cat /etc/ld.so.conf.d/
mysql-x86_64.conf  sybase.conf        
[mpeppler@li ~]$ cat /etc/ld.so.conf.d/sybase.conf 
/opt/sybase/ASE-15_0/lib
/opt/sybase/OCS-15_0/lib
[mpeppler@li ~]$ 


Michael


On 16 Oct 2014, at 19:13, Monetron Team <[email protected]> wrote:

> Hello List,
> 
> My problem is that i have a 32 bit version of ASE/
> OpenClient, but as it is running on 64bit Linux, Perl is installed in 64 bit mode.
> 
> # uname -a
> Linux  2.6.18-398.el5xen #1 SMP Tue Sep 16 21:31:50 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
> 
> # perl -v
> This is perl, v5.8.8 built for x86_64-linux-thread-multi
> 
> # Sybase ASE 15.0  32 bit $SYBASE /opt/sybase/ase-15
> 
> I have downloaded ASE 15.7 64bit
> and exported $SYBASE with the path to the 64bit OCS folder.
> 
> first i tested with isql if the connection parameters in PWD-File are oK.
> then i started to build DBD::SYBASE
> and the make test, resulted in a lot of errors
> 
> Please see attached log file
> 
> i hope that someone here can help me, as i saw that the sybperl - peppler list is not active..
> 
> thanks in advance
> Uwe
> 
> <logfile.txt>



--
Michael Peppler
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html

"A successful [software] tool is one that was used to do something undreamed of by its author." -- S. C. Johnson
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.