Re: [Sqlrelay-discussion] is SQL Relay "relocatable"?
Brought to you by:
mused
|
From: Chris U. <ch...@od...> - 2008-03-04 09:57:56
|
ohn Klassa wrote: > Given this "definition" (if you will), is SQL Relay relocatable? Do I > need to do anything special, to make it so? [Snip] > The closest thing I see is the rpath options, for which the "disable" > versions are limited to: > > --disable-oracle-rpath Don't use -rpath when building Oracle connection > --disable-freetds-rpath Don't use -rpath when building FreeTDS > connection > --disable-sybase-rpath Don't use -rpath when building Sybase connection > --disable-db2-rpath Use -rpath when building DB2 connection > > This doesn't seem to cover all bases... I've had similar problem in the past with sqlrelay linking to libraries in my build environment. This I spotted as it caused grief with SELinux. The solution (other than fixing the build scripts) is to install chrpath and then run it against the libraries. If you're running Red Hat, it's in the RPMForge repository. From the README file: chrpath ======= chrpath allows you to modify the dynamic library load path (rpath) of compiled programs. Currently, only removing and modifying the rpath is supported. Eventually, I hope to be able to add an rpath if it is missing. Cheers, Chris,. |