# Ruby-odbc installation problem

**URL:** <https://www.ruby-forum.com/t/ruby-odbc-installation-problem/93583>\
**Category:** Ruby\
**Created:** [April 4, 2006, 11:16pm UTC](https://www.ruby-forum.com/t/ruby-odbc-installation-problem/93583 "2006-04-04T23:16:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [April 4, 2006, 11:16pm UTC](https://www.ruby-forum.com/t/ruby-odbc-installation-problem/93583/1 "2006-04-04T23:16:27Z")

</div>

Ruby 1.8.4  
ruby-odbc 0.997

I setup ruby-odbc using:

rubyextconf.rb  
make  
make install

I then installed the Ruby DBD ODBC package into site\_ruby.

I have successfully installed freetds and unixODBC into /usr/local/\*

Do I have to tell the ruby-odbc extconf.rb process to look in  
/usr/local/  
for these libraries?

I seem to able to force things to work by setting LD\_LIBRARY\_PATH  
appropriately, but is there a way to “bake in” the correct references to  
the /usr/local stuff?

Thanks,  
Wes
