-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No such file or directory tiny_tds.so (CentOS) #399
Comments
Could it be similar to this issue? #396 (comment) |
Hey - I think it's just an issue with the location of libsybdb.so.5 tiny_tds thinks that libsybdb.so.5 lives in /lib/
After compiling freetds, it lives in two places:
( user local is where it's configured to be installed - ./configure --prefix=/usr/local --with-tdsver=7.3 ) Weird that tiny_tds thinks that it's in /lib/ Since this is a docker file and it's a brand new install - what should I do? I don't want to do a symlink since that seems dirty. |
Maybe something to do with the way you installed FreeTDS for CentOS? |
I was getting a similar issue and it got resolved with installing a newer version of tiny_tds. I have these 2 now:
tiny_tds (1.3.0 x86-mingw32, 1.0.5 x86-mingw32)
From: Ken Collins [mailto:notifications@github.com]
Sent: 12 December 2017 01:08
To: rails-sqlserver/tiny_tds <tiny_tds@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [rails-sqlserver/tiny_tds] No such file or directory tiny_tds.so (CentOS) (#399)
Maybe something to do with the way you installed FreeTDS for CentOS?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#399 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AV6dUB6juqLeaJE_bfrEw9P6Uq4HncvCks5s_dHegaJpZM4Q-MrU>.
|
E:/Ruby27/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [i386-mingw32] tiny_tds (2.1.3 ruby x86-mingw32) OS 名称: Microsoft® Windows Server® 2008 Enterprise |
Before submitting an issue please check these first!
$ tsql -C
to find out. Running v1.00.21If none of these help. Please fill out the following:
Environment
Operating System
centos-release-7-4.1708.el7.centos.x86_64 (Linux 113aad881d1e 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux)
TinyTDS Version and Information
version 2.1.0, built natively
FreeTDS Version
Version: freetds v1.00.21
freetds.conf directory: /usr/local/etc
MS db-lib source compatibility: no
Sybase binary compatibility: no
Thread safety: yes
iconv library: yes
TDS version: 7.3
iODBC: no
unixodbc: no
SSPI "trusted" logins: no
Kerberos: no
OpenSSL: yes
GnuTLS: no
MARS: no
Description
Hello, I'm trying to upgrade my rails app to the latest version of rails, ruby, and to have it run on the latest version of CentOS. I've setup a docker image to handle setting up the environment, etc, and one of the steps that's performed is to pull in FreeTDS and compile it so that later the tiny_tds gem has something to work with.
Dockerfiles here
I can do bundle install just fine (I've provided a small snippet in the gist of the tiny_tds building just fine natively), but when I go to run anything (when in the interactive Docker shell or when just running the docker container), I get the following error:
Which is odd because there is a file /opt/rh/rh-ruby24/root/usr/local/lib64/gems/ruby/tiny_tds-2.1.0/tiny_tds/tiny_tds.so:
Here's the output of make & make install for freetds
The text was updated successfully, but these errors were encountered: