Additionally, I added the env
SYBASE=/usr/local/freetds
in my bash profile
Despite those things at
http://"my IP"/dev1/sbeams/cgi/main.cgi
I recieve:
SBEAMS Error:
install_driver(Sybase) failed: Can't locate DBD/Sybase.pm in @INC (@INC
contains: . /var/www/html/dev1/sbeams/cgi//../lib/perl
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at (eval 18) line 3.
Perhaps the DBD::Sybase perl module hasn't been fully installed,
or perhaps the capitalisation of 'Sybase' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge.
at
/var/www/html/dev1/sbeams/cgi//../lib/perl/SBEAMS/Connection/DBConnector.pm
line 139
Any advice folks can give me would be muchly appreciated
take care and thanks ahead of time
-Rich
install_driver(Sybase) failed: Can't load
'/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Sybase/Sybase.so'
for module DBD::Sybase: libct.so.3: cannot open shared object file: No
such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 18) line 3
Compilation failed in require at (eval 18) line 3.
Perhaps a required shared library or dll isn't installed where expected
at
/var/www/html/dev1/sbeams/cgi//../lib/perl/SBEAMS/Connection/DBConnector.pm
line 139
what file (module) do you think I could be missing?
The symbolic link was set during installation
'which perl' shows:
/usr/local/bin/perl
Any advice you have would be appreciated
I don't have the
SimpleDBITest.pl could you send it to:
gre...@u.washington.edu
Thank you so much Eric
-Rich
Could do you think could be incorrect?
Any suggestions are muchly appreciated.
thanks
-Rich
1. Running the following
echo "/usr/local/freetds/lib" >> /etc/ld.so.config
ldconfig
2. tried this:
export LD_LIBRARY_PATH=/usr/local/freetds/lib:$LD_LIBRARY_PATH
3. add the following line to the /etc/ld.so.conf file
usr/local/freetds/lib
ran this
4. LD_DEBUG=all perl -e 'use DBD::Sybase;'
Any feedback is appreciated
thanks
-Rich
You are getting hit by the SElinux setting which doesn't let you load
libraries from non-system directories by default.
You can disable SElinux, or check the docs to see how to allow libs to
load from that directory.
Michael
Server message number=208 severity=16 state=1 line=1
server=RICHSMACHINE text=Invalid object name 'sbeams.dbo.user_login'.
at
/var/www/html/dev1/sbeams/cgi//../lib/perl/SBEAMS/Connection/DBInterface.pm
line 779
I am aware that this message indicates it can not find a table, but I
have followed the sbeams notes precisely and executed the runsql.pl
statements loading info into my database. I checked my SBEAMS.conf file
and made sure my mssql database was named properly sbeams.dbo. I also
tried renaming to sbeams.Core , but recieved a similair error. If
anyone has any advice I was really appreciate it. thanks
-Rich