as promised find attached specs file i've tweaked or made :-)<br><br>hope this helps,<br><br>Rachid<br><br><div class="gmail_quote">On Mon, Apr 12, 2010 at 5:56 PM, Rachid Zarouali <span dir="ltr"><<a href="mailto:rzarouali@gmail.com">rzarouali@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">i knocked my head off with slite 3.4.2 requirements but i finalement come up with a solution,<br>
i've used a spec i found (can't remember where) and i made some tweaks.<br><br>give me just few hours to get back home and i'll send you all , some of the works i've made :-)<br>
<br>Regards,<br><font color="#888888">Rachid</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Apr 12, 2010 at 5:06 PM, Ville Mattila <span dir="ltr"><<a href="mailto:vmattila@csc.fi" target="_blank">vmattila@csc.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<div><br>
<br>
On Fri, 9 Apr 2010, <a href="mailto:rzarouali@gmail.com" target="_blank">rzarouali@gmail.com</a> wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Agree but it is somehow broken<br>
<br>
I'll post here specs I've used this evening so you'll see changes I've made on it.<br>
I have also created specs for dnsruby, softhsm<br>
</blockquote>
<br></div>
Please do send you .specs.  I've noticed some needs for enhancing the<br>
default opendnssec.spec, too, and would like to see what you've come<br>
up with.<br>
<br>
Most importantly:  How have you solved the problem of OpenDNSSEC requiring SQLite v3.4.2 or newer and RHEL 5 providing only SQLite 3.3.6?<br>
<br>
I'd prefer not upgrading the RHEL 5 official sqlite package (as e.g. RPM<br>
itself depends on it).  Already tried repackaging Fedora 12's<br>
sqlite-3.6.20 into /opt/opendnssec-sqlite/ but I suspect that in opendnssec-1.0.0 specifying "configure --with-sqlite3=PATH" only works if PATH is /usr/local/lib and nothing else.  See below for my findings.<br>


<br>
If I specify "configure --libdir=SOME_PATH" the ods-* binaries will be<br>
linked with RPATH set to SOME_PATH.  This causes problems on RHEL 5 where<br>
rpmbuild needs to use "--libdir=/usr/lib64"; and that's where the official<br>
(and incompatible to opendnssec) sqlite runtime libraries sit.<br>
<br>
For example on my RHEL 5 box when opendnssec is compiled with<br>
"configure --with-sqlite3=/opt/opendnssec-sqlite --libdir=/usr/lib64"<br>
the binaries will end up using wrong sqlite libraries:<br>
<br>
$ ldd /usr/bin/ods-ksmutil | grep sqlite<br>
        libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x0000003588400000)<br>
$ readelf -d /usr/bin/ods-ksmutil | grep RPATH<br>
 0x000000000000000f (RPATH)              Library rpath: [/usr/lib64]<br>
<br>
I was wondering is RPATH really necessary and if yes, should it perhaps<br>
point to list of sqlite etc. library locations instead of the configure<br>
--libdir specification?<br>
<br>
Or am I totally lost in my conclusions?<br><font color="#888888">
<br>
Ville<br>
</font><br>
PS. If I run configure without --libdir option (just plain "./configure &&<br>
make) the RPATH will be /usr/local/lib and installing the newer sqlite<br>
libraries there both ods-enforcerd and ods-ksmutil work perfectly.<br>
<br>
</blockquote></div><br>
</div></div></blockquote></div><br>