Re: [Refdb-users] Redhat testing/installation woes
Status: Beta
Brought to you by:
mhoenicka
|
From: Jason S. <st...@co...> - 2003-08-20 04:03:13
|
I finally had time to try and get this working again tonight. I re-did the libdbi framework, and now am trying to reinstall the drivers themselves. When I type: ./configure --with-mysql Things seem to go well, but then the configuration turns sour: checking for libdbi framework... yes: headers in /usr/local/include checking for MySQL support... no configure: error: Invalid MySQL directory - include files not found. This is just what happened before. From this it looks like libdbi was installed correctly, but that MySQL is not? This is a standard MySQL installation on RedHat. I know MySQL works, as I'm able to login, make users, &c., and use the MySQL installation of Movable Type, so I'm fairly certain that things re well with MySQL. Am I missing something? Do I need to run configure with additional options, and if so, what were they? Thanks, Jason On Monday, Aug 18, 2003, at 11:01 US/Pacific, Markus Hoenicka wrote: > Hi, > > Alan Anderson writes: >> First, you did also download the dbi driver files for MySQL, right? >> libdbi requires the drivers to >> actually communicate with the database. >> > > I'm afraid this can't be pointed out often enough. When RefDB 0.9.2 > was released, the current libdbi version contained the MySQL and > PostgreSQL drivers. This is reflected in the RefDB manual as > well. However, the current version of libdbi provides only the > framework, and we moved all drivers to the libdbi-drivers project. The > next version of the RefDB manual will of course be updated to reflect > this. It will be an intermittent problem I reckon. Moreover, refdbd as > of 0.9.3 will list the available libdbi drivers at startup. The > problem and the solution will then be way more obvious. > > And yes, while we're at it: <mantra>You'll have to specify the > driver(s) on the libdbi-drivers configure command line, otherwise > nothing will be built</mantra> ;-) > >> Second, I discovered that RedHat does not seem to set LD_LIBRARY_PATH >> environment variable. I had >> to set this explicitly in my startup script to make RefDB work since >> the libdbi files are not in >> /usr/lib. This probably isn't you're problem if you don't have the >> actual shared library files. >> > > Actually LD_LIBRARY_PATH (or an appropriate entry in ld.so.conf) is > required to find libdbi.so. This in turn either uses a compiled-in > path or one provided by the application using the library to locate > the drivers. That is, the directory holding the drivers need not be > listed in LD_LIBRARY_PATH. > > regards, > Markus > > -- > Markus Hoenicka > mar...@ca... > (Spam-protected email: replace the quadrupeds with "mhoenicka") > http://www.mhoenicka.de > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/ > direct;at.aspnet_072303_01/01 > _______________________________________________ > Refdb-users mailing list > Ref...@li... > https://lists.sourceforge.net/lists/listinfo/refdb-users > |