Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2006 11:30:16 +0100
From:      Florent Thoumie <flz@FreeBSD.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: Error: shared library "mysqlclient.14" does not exist
Message-ID:  <1150972216.79359.13.camel@mayday.esat.net>
In-Reply-To: <1150971579.79359.9.camel@mayday.esat.net>
References:  <449A65E0.5030709@freebsd.org> <1150971579.79359.9.camel@mayday.esat.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-yZXmOJ00bFjvY/nwzGEF
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2006-06-22 at 11:19 +0100, Florent Thoumie wrote:
> On Thu, 2006-06-22 at 17:41 +0800, David Xu wrote:
> > This is a newly installed machine, the machine is running -CURRENT,
> > while installing mysql41-server ports, it complained that a library
> > is not found:
> >=20
> > >  install  -o root -g wheel -m 444 './mysqlcheck.1'
> > '/usr/local/man/man1/mysqlcheck.1'
> > >  install  -o root -g wheel -m 444 './mysqldump.1'
> > '/usr/local/man/man1/mysqldump.1'
> > >  install  -o root -g wheel -m 444 './mysqlimport.1'
> > '/usr/local/man/man1/mysqlimport.1'
> > >  install  -o root -g wheel -m 444 './mysqlshow.1'
> > '/usr/local/man/man1/mysqlshow.1'
> > > =3D=3D=3D>   Installing ldconfig configuration file
> > > =3D=3D=3D>   Compressing manual pages for mysql-client-4.1.20
> > > =3D=3D=3D>   Registering installation for mysql-client-4.1.20
> > > =3D=3D=3D>   Returning to build of mysql-server-4.1.20
> > > Error: shared library "mysqlclient.14" does not exist
> > > *** Error code 1
> > >=20
> > > Stop in /usr/ports/databases/mysql41-server.
> > > dell1750#
> >=20
> > What's wrong ?
>=20
> For some reason, it didn't run ldconfig. Can't tell more with this only
> information.

Ok, I know what's going on, since misc/ldconfig_compat/bsd.ldconfig.mk
is sourced before bsd.port.post.mk, the install-ldconfig-file target is
the one from misc/ldconfig_compat/bsd.ldconfig.mk (which doesn't run
ldconfig).

Alex just fixed it for mysql ports, I'll remove the content from
bsd.ldconfig.mk anyway, that should do the trick for the other ports.

Thanks for reporting this.

--=20
Florent Thoumie
flz@FreeBSD.org
FreeBSD Committer

--=-yZXmOJ00bFjvY/nwzGEF
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBEmnE4MxEkbVFH3PQRAmRNAJ9nHsPpsCskbPLn6srbYZwYT/PqtwCfYCSZ
j3vsm98adV4I069jbYbECWU=
=XK6m
-----END PGP SIGNATURE-----

--=-yZXmOJ00bFjvY/nwzGEF--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1150972216.79359.13.camel>