On 3/31/2014 1:08 PM, Bowie Bailey wrote: > On 3/31/2014 9:40 AM, Bowie Bailey wrote: >> On 3/28/2014 8:08 PM, Sam Varshavchik wrote: >>> Bowie Bailey writes: >>> >>>> I'm setting up a new server. My intention is to install the same >>>> version of Courier that was on the old server, copy the configurations >>>> and everything over and then upgrade to the latest, but I'm getting an >>>> error trying to build courier-authlib-0.65.0. >>>> >>>> The old system was CentOS 4.9 32-bit. The new system is CentOS 6.5 64-bit. >>>> >>>> When I try to build the rpm, this is what I get: >>>> >>>> $ rpmbuild -tb courier-authlib-0.65.0.tar.bz2 >>>> ... >>>> configure: error: invalid ltdl library directory: `/usr/lib' >>>> >>>> libtool, libtool-ltdl, and libtool-ltdl-devel are all installed >>>> (x86_64). Is the error due to the 64-bit OS? >>>> >>>> I could upgrade the old server first, but my thought was to do it on the >>>> new server so I can test for problems before switching over. I'm >>>> building the old versions rather than simply installing the newest so >>>> that I can copy all the configurations over as-is rather than having to >>>> do comparisons between the old configs and the new ones to check for >>>> changes, new options, etc. >>>> >>>> The old system is running courier-authlib-0.65.0 and courier-0.69.0. >>>> >>>> Suggestions? >>> courier-authlib builds fine on 64 bit Fedora. >>> >>> Googling around shows it's a frequent libtool breakage. >>> >>> Do you have the 'redhat-rpm-config' package installed, although I don't >>> think it would be a factor. >>> >>> You could install the source rpm, and add --with-ltld-lib=/usr/lib64 to the >>> %configure line. >> Did you try it with 0.65.0? The current courier-authlib tarball builds >> fine, it's just the older one I'm having problems with. >> >> Is there a way to add the ltld-lib path entry to the spec file for >> building the rpm? > Oh, now that I've had a chance to play with it a bit, I see what you > were talking about. I found the %configure line in the spec file and > changed it. It was already set to '/usr/lib'. I changed it to > '/usr/lib64' and got a message that that was an invalid ltdl library > directory. I removed the '--with-ltdl-lib' entry altogether and got the > same error as before about '/usr/lib'. > > Any other suggestions?
Anyone have any ideas? If the line in the spec file reads: PATH=/usr/bin:$PATH %configure -C --with-redhat --without-authsqlite --without-authmysql --with-ltdl-lib=/usr/lib or PATH=/usr/bin:$PATH %configure -C --with-redhat --without-authsqlite --without-authmysql Then I get the error: configure: error: invalid ltdl library directory: `/usr/lib' If it reads: PATH=/usr/bin:$PATH %configure -C --with-redhat --without-authsqlite --without-authmysql --with-ltdl-lib=/usr/lib64 Then I get the error: configure: error: invalid ltdl library directory: `/usr/lib64' I think all of the libtool and ltdl packages are installed. libtool-ltdl-2.2.6-15.5.el6.x86_64 libtool-2.2.6-15.5.el6.x86_64 libtool-ltdl-devel-2.2.6-15.5.el6.x86_64 This is for installing courier-authlib-0.65.0 on CentOS 6.5 x86_64. (0.66.1 builds fine, but I would prefer to build this one first so I can copy over my old config and then do the upgrade on the new system.) Any suggestions, ideas, or wild guesses appreciated... :) -- Bowie ------------------------------------------------------------------------------ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
