Closed p5pRT closed 20 years ago
On several systems that I use\, /usr/local/bin/perl is not usually the latest installed perl interpreter\, because if it were\, older perl scripts would break.
However\, /usr/local/lib/libperl.a is generally the latest\, because we have no option for it not to be -- this file's name contains no version information.
The mismatch causes the build of INN to blow up. It may cause other problems too\, though I haven't seen any yet. INN's configure script doesn't let me specify paths to a perl binary and a perl library; I'm not sure it should\, because every application that uses both would have to do this\, and if perl fixed the library naming\, it wouldn't be necessary.
On Mon\, 23 Jul 2001 br@panix.com wrote:
This is a bug report for perl from br@panix.com\, generated with the help of perlbug 1.28 running under perl v5.6.0.
----------------------------------------------------------------- [Please enter your report here]
On several systems that I use\, /usr/local/bin/perl is not usually the latest installed perl interpreter\, because if it were\, older perl scripts would break.
However\, /usr/local/lib/libperl.a is generally the latest\, because we have no option for it not to be -- this file's name contains no version information.
/usr/local/lib/libperl.a shouldn't generally exist\, for just this reason. The perl library is typically kept in a version-specific and architecture-specific directory. In the perl source\, see Porting/pumpkin.pod\, especially the section
=head2 Shared libperl.so location
for some more thoughts on this matter. Perl's libperl is not really a library with a fixed API like libc is.
The mismatch causes the build of INN to blow up. It may cause other problems too\, though I haven't seen any yet. INN's configure script doesn't let me specify paths to a perl binary and a perl library; I'm not sure it should\, because every application that uses both would have to do this\, and if perl fixed the library naming\, it wouldn't be necessary.
If you can suggest a _portable_ library naming scheme that does what you suggest and does not break anything else\, we'd be happy to hear it.
On Tue\, 24 Jul 2001\, Andy Dougherty wrote:
On Mon\, 23 Jul 2001 br@panix.com wrote:
/usr/local/lib/libperl\.a is generally the latest
/usr/local/lib/libperl.a shouldn't generally exist
I would like to know how that can happen at all infact. Is it possible that this is something to do with some binary distrubution ?
I have a badly messed around with R00t Hat 7 and I have :
/home/gellyfish/perl/libperl.a /home/gellyfish/perl-5.6.1/libperl.a /home/gellyfish/Apachetoolbox-1.5.27/apache_1.3.20/src/modules/perl/libperl.a /usr/lib/perl5/5.6.0/i386-linux/CORE/libperl.a /usr/lib/perl5/5.6.1/i686-linux/CORE/libperl.a
I think you would have to go out of your way to get libperl.a into /usr/local/lib - enlighten me :)
/J\
On Tue\, Jul 24\, 2001 at 09:56:11PM +0100\, Jonathan Stowe wrote:
I think you would have to go out of your way to get libperl.a into /usr/local/lib - enlighten me :)
After consulting with my colleagues\, it appears that that's exactly what happened. :-(
Migrated from rt.perl.org#7324 (status was 'resolved')
Searchable as RT7324$