Subject: Re: subversion: /usr/bin/ld: cannot find -lsvn_subr-1
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/22/2004 16:27:13
On Mon, 22 Mar 2004, Jeremy C. Reed wrote:

> /usr/bin/ld: cannot find -lsvn_subr-1

My .work.log has:

[*] /scratch/pkgsrc/devel/subversion-base/work.puget/.buildlink/bin/gcc
-shared .libs/mod_authz_svn.o -pthread
-L/scratch/pkgsrc/devel/subversion-base/work.puget/.buildlink/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3
-L/scratch/pkgsrc/devel/subversion-base/work.puget/.buildlink/gcc3/lib
-L/scratch/pkgsrc/devel/subversion-base/work.puget/.buildlink/lib
-lsvn_subr-1 -Wl,-R/usr/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3 -Wl,-soname
-Wl,mod_authz_svn.so -o .libs/mod_authz_svn.so
==> Reordering libraries:  -lsvn_subr-1
<.> /scratch/pkgsrc/devel/subversion-base/work.puget/.gcc/bin/gcc -shared
.libs/mod_authz_svn.o -pthread
-Wl,-R/usr/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3 -Wl,-soname
-Wl,mod_authz_svn.so -o .libs/mod_authz_svn.so
-I/scratch/pkgsrc/devel/subversion-base/work.puget/.buildlink/include
-L/scratch/pkgsrc/devel/subversion-base/work.puget/.buildlink/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3
-L/scratch/pkgsrc/devel/subversion-base/work.puget/.buildlink/gcc3/lib
-L/scratch/pkgsrc/devel/subversion-base/work.puget/.buildlink/lib
-lsvn_subr-1

From lookin at my .svn files when I started using subversion on this box,
it looks like subversion-base built fine for me on March 12. So something
has changed (probably with buildlink3) since then.

   Jeremy C. Reed
   http://bsd.reedmedia.net/