Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

It is currently Thu Dec 07, 2023 8:52 am

FreeBSD tutorials and how-tos

Author Message
Post  Post subject: FixIT: htpasswd.c:133: undefined reference to `apr_generate_random_bytes'  |  Posted: Fri May 10, 2013 7:29 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 250


FixIT: htpasswd.c:133: undefined reference to `apr_generate_random_bytes'

As of 2010, 'dev/apr' freebsd port has been changed to 'dev/apr1'. More details in /usr/ports/UPDATING.
# less +/20100518 /usr/ports/UPDATING
AFFECTS: users of devel/apr0, devel/apr1, www/apache20, www/apache22

devel/apr port has been renamed to devel/apr1.

WITH_APR_FROM_PORTS=yes for www/apache22 has been dissolved and may be
removed from your configuration files; devel/apr1 is always used now.

Please manually delete apache-2.\* if installed _before_ updating using
either portmaster or portupgrade:

pkg_delete -f apache-2.\*

Then, if you use portmaster:

portmaster -o devel/apr1 devel/apr

If you use portupgrade:

portupgrade -f -o devel/apr1 devel/apr

Finally, reinstall Apache port if you deleted it earlier and update ports as
usual (`XX' below is either 20 or 22):

portinstall www/apacheXX

What fixed in my case:
# cd /usr/ports/devel/apr1
# make rmconfig clean
# make all
# make reinstall clean

Display posts from previous:  Sort by  
E-mail friendPrint view
Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list

Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]