Re: Build error with 0.5.15cnc6....

Thiago Macieira <[email protected]> Mon, 25 Apr 2005 08:24:14 -0300
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
--===============1913900879==
Content-Type: multipart/signed; boundary="nextPart26549147.ZU2UOBD0a6";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart26549147.ZU2UOBD0a6
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Gary L. Greene Jr. wrote:
>/bin/sh ../libtool --mode=3Dlink g++  -O2 -fomit-frame-pointer -pipe
> -march=3Di586 -mtune=3Dpentiumpro    -o libapt-pkg.la -rpath /usr/lib
> -version-info 1:1:1 -release libc6.3-6 contrib/cdromutl.lo
> contrib/cmndline.lo
>contrib/configuration.lo contrib/crc-16.lo contrib/error.lo
>contrib/fileutl.lo contrib/hashes.lo contrib/md5.lo contrib/mmap.lo
>contrib/progress.lo contrib/sha1.lo contrib/strutl.lo rpm/rpmhandler.lo
>rpm/rpmindexfile.lo rpm/rpmlistparser.lo rpm/rpmpackagedata.lo
> rpm/rpmpm.lo rpm/rpmrecords.lo rpm/rpmsrcrecords.lo rpm/rpmsystem.lo
> rpm/rpmversion.lo acquire.lo acquire-item.lo acquire-method.lo
> acquire-worker.lo algorithms.lo cachefile.lo clean.lo depcache.lo
> indexfile.lo init.lo luaiface.lo orderlist.lo packagemanager.lo
> pkgcache.lo pkgcachegen.lo pkgrecords.lo pkgsystem.lo policy.lo
> repository.lo sourcelist.lo srcrecords.lo tagfile.lo version.lo
> versionmatch.lo -lrpm -lrpmdb -lrpmio -lz -lbz2
>-lpopt ../lua/liblua.la -lz -lbz2

Note libbz2.la isn't mentioned anywhere in the above line, even though=20
=2Dlbz2 is.

>grep: /usr/lib/libbz2.la: No such file or directory
>/bin/sed: can't read /usr/lib/libbz2.la: No such file or directory
>libtool: link: `/usr/lib/libbz2.la' is not a valid libtool archive

>I've checked on two different distributions; there is no
> /usr/lib/libbz2.la on either of them. I'm stumped.... Any ideas?

This is one of the biggest problems one faces when using libtool: it=20
writes the full dependencies' .la paths to the .la file it creates. The=20
result is there is now a dependency between packages that wouldn't be=20
there if it weren't for libtool, and packagers don't account for that. In=20
other words, there is one /usr/lib/*.la file that mentions the path=20
"/usr/lib/libbz2.la".

=46ind it and erase it.

The other alternative is to install libbz2.la along with libbz2.so.
=2D-=20
  Thiago Macieira  -  thiago (AT) macieira (DOT) info
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he g=C3=A9anhwearf t=C3=B3 timbran, and hwonne he c=C3=B3m, l=C3=A1!=
 Unix cw=C3=A6=C3=B0 "Hello,=20
World". =C7=BCfre =C7=BDghwilc w=C3=A6s gl=C3=A6d and seo woruld w=C3=A6s f=
r=C3=A9o.

--nextPart26549147.ZU2UOBD0a6
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCbNNfM/XwBW70U1gRAs1zAJ9PCYIHL8AZ101azbWtdoGetnvDcgCgvnBY
0AkPoFSocwql1DI9qtMLsYU=
=4igR
-----END PGP SIGNATURE-----

--nextPart26549147.ZU2UOBD0a6--

--===============1913900879==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
apt-rpm mailing list
[email protected]
http://distro2.conectiva.com.br/mailman/listinfo/apt-rpm

--===============1913900879==--