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

It is currently Thu Jan 26, 2023 9:49 pm

Message body:
Enter your message here, it may contain no more than 60000 characters. 

:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
Font colour
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.

Topic review - FixIT: htpasswd.c:133: undefined reference to `apr_generate_random_bytes'
Author Message
Post subject: FixIT: htpasswd.c:133: undefined reference to `apr_generate_random_bytes'  |  Post Posted: Fri May 10, 2013 7:29 am
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
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 ]