Bug 195453 - databases/p5-DBD-mysql missing library during compilation
Summary: databases/p5-DBD-mysql missing library during compilation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-perl (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-27 18:15 UTC by Jonathan Price
Modified: 2014-11-28 12:51 UTC (History)
0 users

See Also:
freebsd: maintainer-feedback? (perl)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.)