Up Prev Next
From: "Brown, Jordan" <jordan dot brown at jnli dot com>
Subject: RE: libsybunic64.so - Error connecting. ASE 15.0, OpenSuSE 10.3 x64
Date: Jan 24 2008 9:28PM
Thank you soooooo much! You are awesome...
I did exactly what you said, and now the script runs perfectly!
I've been beating my head against this one for so long...
From: email@example.com [mailto:firstname.lastname@example.org]
On Behalf Of Michael Peppler
Sent: Thursday, January 24, 2008 4:18 PM
Subject: Re: libsybunic64.so - Error connecting. ASE 15.0, OpenSuSE 10.3
Brown, Jordan wrote:
> Hello Everyone,
> I'm having trouble getting DBD::Sybase to work.
> When I run a Perl script to connect to the database, it crashes at
> line: "require DBD::Sybase;"
> With this error:
> Can't load
> for module DBD::Sybase: libsybunic64.so: cannot open shared object
> No such file or directory at
> /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
> at ./MSKdbconnect.pl line 34 Compilation failed in require at
> ./MSKdbconnect.pl line 34.
> (P1 )
You can do various things.
You can add /opt/sybase/OCS-15_0/lib to the default lib directory via
the /etc/ld.so.conf file (run ldconfig after updating the ld.so.conf
Or edit Apache's environment (in general in /etc/httpd/conf/httpd.conf
where you can add something like
Michael Peppler - Peppler Consulting SaRL
email@example.com - http://www.peppler.org
Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com
Sybase on Linux FAQ - http://www.peppler.org/FAQ/linux.html