Dave Wreski <[EMAIL PROTECTED]> wrote: > The only way I could prevent it from linking against the system libltdl > is to move the system libtool and /usr/lib/liblt* to a directory not in > the local path.
Or, specify the local libltdl as an *object*, not a *library*. That's pretty much what I said. > Again, the configure options I'm (now) using are: ... > --enable-ltdl \ > --enable-ltdl-install \ > --with-ltdl-install \ If you have libltdl already installed, these configuration options will most likely cause problems. > --with-ltdl-lib=$RPM_BUILD_DIR/freeradius-snapshot-20021108/libltdl \ Huh? Why are you doing that? That tells 'configure' to go look for libldl, so it calls the linker, which probably finds the libltdl already installed. > This certainly isn't the desired approach. Do you have any further > recommendations? IOW, it's not purely a linking problem, but 'configure' > apparently finds libltdl in the LD_PATH and stops looking once it finds > it, despite the options above that tell it not to. So stop playing around with 'configure'. Do what I said. Hack the make rules to link against the included libltdl as an object, not a library. The linker will then NEVER look for -lltdl, so it will NEVER find the one already installed. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
