… | |
… | |
1353 | C<MAN3PODS> to be empty via the C<PERL_MM_OPT> environment variable. |
1353 | C<MAN3PODS> to be empty via the C<PERL_MM_OPT> environment variable. |
1354 | |
1354 | |
1355 | =item Gtk2 |
1355 | =item Gtk2 |
1356 | |
1356 | |
1357 | See Pango, same problems, same solution. |
1357 | See Pango, same problems, same solution. |
|
|
1358 | |
|
|
1359 | =item Net::SSLeay |
|
|
1360 | |
|
|
1361 | This module hasn't been significantly updated since OpenSSL is called |
|
|
1362 | OpenSSL, and fails to properly link against dependent libraries, most |
|
|
1363 | commonly, it forgets to specify -ldl when linking. |
|
|
1364 | |
|
|
1365 | On GNU/Linux systems this usually goes undetected, as perl usually links |
|
|
1366 | against -ldl itself and OpenSSL just happens to pick it up that way, by |
|
|
1367 | chance. |
|
|
1368 | |
|
|
1369 | For static builds, you either have to configure -ldl manually, or you |
|
|
1370 | cna use the following snippet in your C<postinstall> hook which patches |
|
|
1371 | Net::SSLeay after installation, which happens to work most of the time: |
|
|
1372 | |
|
|
1373 | postinstall() { |
|
|
1374 | # first install it |
|
|
1375 | instcpan Net::SSLeay |
|
|
1376 | # then add -ldl for future linking |
|
|
1377 | chmod u+w "$PERL_PREFIX"/lib/auto/Net/SSLeay/extralibs.ld |
|
|
1378 | echo " -ldl" >>"$PERL_PREFIX"/lib/auto/Net/SSLeay/extralibs.ld |
|
|
1379 | } |
1358 | |
1380 | |
1359 | =item Pango |
1381 | =item Pango |
1360 | |
1382 | |
1361 | In addition to the C<MAN3PODS> problem in Glib, Pango also routes around |
1383 | In addition to the C<MAN3PODS> problem in Glib, Pango also routes around |
1362 | L<ExtUtils::MakeMaker> by compiling its files on its own. F<staticperl> |
1384 | L<ExtUtils::MakeMaker> by compiling its files on its own. F<staticperl> |