LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-01-2004, 03:06 AM   #1
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
no libperl.so in Slack?


Hi all,

I have perl.5.8.5 installed (Slack10 package) and I need libperl.so.5.8, but there isn't any libperl.so* in Slack (it's there in my Debian install). The only hint I found was
Quote:
I solved that problem by answering yes to perl's question 'shall I create shared libraries' and calling it libperl.so and then copying it to /lib.
but that is a bit vague (which file to rename?). I already compiled perl from source once, but then removed it in order to get the package hoping this would fix the dependency.

Isn't there another way to get this file in it's proper place?

Cheers, Leon.

Last edited by BroX; 12-01-2004 at 03:20 AM.
 
Old 12-01-2004, 07:07 AM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
You could create your libperl.so.5.8 from /usr/lib/perl5/5.8.5/i486-linux/CORE/libperl.a file which
is installed with perl-5.8.5 slackware package.

Code:
cd /usr/lib/perl5/5.8.5/i486-linux/CORE
ld --whole-archive -share -o libperl.so.5.8 libperl.a
cp libperl.so.5.8 /lib

# optional
ln -s /lib/libperl.so.5.8 /lib/libperl.so
 
Old 12-01-2004, 09:13 AM   #3
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
Cedrik,

thanks a lot, that does it
Strange though that the libperl.so file isn't created automatically upon installation of the perl package. Is there a reason for that?

Cheers, Leon.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libperl.so big trouble....!!!!!! javier_ccs Linux - Software 1 07-26-2005 10:10 AM
C/Perl embed : Libperl.so not found :( dicou Programming 0 04-19-2005 03:38 AM
what rpm contains libperl.so.5.8 unixmad Linux - Software 2 10-01-2004 04:07 PM
exim libperl.so problem SolidSnake Linux - Software 0 01-11-2004 09:33 AM
ImageMagick libperl.a error gbg Linux - Software 3 09-25-2003 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration