On Fri, Jun 11, 2004 at 13:14, Frank Torres wrote:
-snip-
> And here is my Error:
> ld.so.1: svnversion: fatal: libsvn_client-1.so.0: open failed: No such
> file or directory
> make: *** [revision-install] Error 137
> error: Bad exit status from /usr/local/RPM/TMP/rpm-tmp.29543 (%install)

I had *exactly* the same problem.  I "solved" it by making sure that 
$RPM_BUILD_ROOT%{l_prefix}/lib is included in the LDFLAGS as a -L, as
I suspect that this shared lib is referenced after an earlier install
round in the Makefile.  It would normally expect it to be present in 
the target filesystem, but it's not, since the target is %{l_prefix}/lib
and not $RPM_BUILD_ROOT%{l_prefix}/lib.

I found out after having installed this by hand from source in the
target filesystem and by then having an RPM build go without any
problems.  Of course, this is pollution of your target fs with
unpackaged files, so I wouldn't recommend it.

This is the kind of package building trouble I run into quite frequently
when making new packages for software that has badly written Makefiles
(or configure scripts, etc.) which makes all kinds of assumptions that 
the RPM processing cycle doesn't address.  (i.e. DESTDIR and PREFIX 
aren't always 2 different options :( ).  Software install processes that
bluntly ignore DESTDIR and write straight into PREFIX are real headaches
IMHO.

        ~paul

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to