Bug 195453

Summary: databases/p5-DBD-mysql missing library during compilation
Product: Ports & Packages Reporter: Jonathan Price <freebsd>
Component: Individual Port(s)Assignee: freebsd-perl (Nobody) <perl>
Status: Closed FIXED    
Severity: Affects Many People Flags: freebsd: maintainer-feedback? (perl)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jonathan Price 2014-11-27 18:15:15 UTC
When compiling databases/p5-DBD-mysql 4.028_1 I receive the following error during compilation:

/usr/bin/strip: '/usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/auto/DBD/mysql/mysql.so': No such file
*** Error code 1

I tried it on two systems running FreeBSD 10.1.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-27 18:15:15 UTC
Auto-assigned to maintainer perl@FreeBSD.org
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2014-11-27 19:23:38 UTC
Have you upgraded Perl as of today ?
Comment 3 Jonathan Price 2014-11-27 19:45:43 UTC
My installation of Perl is currently 5.16, and was not updated today. Apparently the default has just shifted to 5.18 as of yesterday. Do I need to re-install my existing version of perl or upgrade to 5.18?
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2014-11-28 12:51:19 UTC
You will either need to upgrade to 5.18, as the layout has changed, or if you really need to keep 5.16, you will need to add to your make.conf:

DEFAULT_VERSIONS+= perl5=5.16

And rebuild Perl.

Also, make sure you have the *latest* ports tree, on or after r373565. (There were horrible bugs before, some that would eat you alive.)