Error: shared library "mysqlclient.14" does not exist

Florent Thoumie flz at FreeBSD.org
Thu Jun 22 10:30:26 UTC 2006


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:
> > 
> > >  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'
> > > ===>   Installing ldconfig configuration file
> > > ===>   Compressing manual pages for mysql-client-4.1.20
> > > ===>   Registering installation for mysql-client-4.1.20
> > > ===>   Returning to build of mysql-server-4.1.20
> > > Error: shared library "mysqlclient.14" does not exist
> > > *** Error code 1
> > > 
> > > Stop in /usr/ports/databases/mysql41-server.
> > > dell1750#
> > 
> > What's wrong ?
> 
> 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.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060622/e9f11041/attachment.pgp


More information about the freebsd-ports mailing list