From: Carl Youngblood Date: 2001-02-21T01:10:02+09:00 Subject: [ruby-talk:11176] Re: Problem compiling in MySQL support Thanks a lot, Glen! After investigating the issue on the web for a day, I finally found a solution (in the MySQL online documentation) by putting a symlink to the libmysqlclient.so.10 file into /usr/lib, but your solution is better. Sheesh, I like linux, but there are times when it can be very difficult to solve esoteric configuration issues. Then again, this may be a very easy-to-solve issue for many out there. Thanks again, Carl "Glen Starchman" wrote in message news:01022008564803.00866@daibutsu... > > [root@www mysql-ruby-2.3.1]# ruby -I. ./test.rb localhost root > > > > ../test.rb:11:in `require': libmysqlclient.so.10: cannot open shared object > > file: No such > > file or directory - ./mysql.so (LoadError) > > from ./test.rb:11 > > > > I looked for libmysqlclient.so.10 and it is in the > > /usr/local/mysql/lib/mysql as is usual (I think). > > > > What am I doing wrong? > > > Carl... > > edit /etc/ld.so.conf and make sure the directory containing libmysqlclient.so > is present > > as root, run ldconfig > > Hopefully that will solve your problem. > > > -- > Glen > _____________________________ > > My only weakness is a list of crimes > My only weakness is well never mind > never mind > --The Smiths > >