Subject: Re: pkgsrc-current supported on 1.3.X?
To: None <tech-pkg@netbsd.org>
From: Simon J. Gerraty <sjg@quick.com.au>
List: tech-pkg
Date: 09/21/1999 00:23:23
> ===>  Building for amanda-common-2.4.1p1
>  ld -e start -dc -dp -R/usr/pkg/lib -R/usr/pkg/lib -o .libs/versionsuffix /usr/lib/crt0.o -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L.libs -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L../common-src/.libs -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/libexec -R/usr/pkg/lib -R/usr/pkg/lib versionsuffix.o -lamclient -lm -lreadline -ltermcap -lamanda -lm -lreadline -ltermcap -lm -lreadline -ltermcap -lgcc -lc -lgcc
> versionsuffix.o: Undefined symbol `_set_pname' referenced from text segment

Editing libamclient.la to get rid of the dependency_libs effectively
removed all the extra -L/usr/pkg/lib's and got past that.

However amanda-client fails because it wants to link against -lamanda
but the shared lib installed by amanda-common was
libamanda-2.4.1p1.so.0.0 (yet it installed libamanda.a) so I'm picking
up the libamanda.so.5.0 from the old amanda pkg.

Could who ever did the split of amanda -> common,client,... let me
know what the intention was wrt the shared libs.

Should amanda-client be looking for -lamanda-2.4.1p1 in which case
amanda-common should probably have installed libamanda-2.4.1p1.a as
well or should amanda-common have installed libamanda.so.6.0 ?

Thanks 

--sjg