[freetds] Sybase.so RPATH for DBD::Sybase

Craig Berry craigberry at mac.com
Mon Oct 30 18:44:14 EST 2006


 
On Monday, October 30, 2006, at 04:15PM, "Lowden, James K" <james.k.lowden at alliancebernstein.com> wrote:
>I want to add /usr/local to the Sybase.so RPATH.  

Have you tried generating your Makefile with something like:

$ perl Makefile.PL LDDLFLAGS='-Wl,-R/usr/pkg/lib,-R/usr/local/lib -pthread --whole-archive -shared -L/usr/pkg/lib'

which basically just pastes another -R option onto your $Config{lddlflags}, and, with a little luck, ends up putting it into your Makefile.  I'm not in a position to test that at the moment, but that's my reading of the docs, the ones located at:

$ perldoc ExtUtils::MakeMaker


More information about the FreeTDS mailing list