The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Linux RPM complaining about Perl dependancy
Author: ryan*pc 
Date:   24-01-01 08:52

I am hoping to run a linux piece of software withing my FreeBSD enviroment. I know the linux emulator is working, since I have netscape and adobe acrobat running fine already (which are running within the emulator, if i recall correctly).

When I try to install the linux RPM, it complains about a dependancy on Perl. Do I have to install a linux compatible version of Perl within /compat/linux ?

%% rpm --ignoreos --root /compat/linux -i EDGExg-2.3-1.i586.rpm
failed dependencies:
Fcntl.so is needed by EDGExg-2.3-1
/usr/bin/perl is needed by EDGExg-2.3-1

-- ryan*pc

Reply To This Message
 
 Re: Linux RPM complaining about Perl dependancy
Author: Jamie Walker 
Date:   25-01-01 00:21

ryan*pc wrote:

> I am hoping to run a linux piece of software withing my
> FreeBSD enviroment. I know the linux emulator is working,
> since I have netscape and adobe acrobat running fine already
> (which are running within the emulator, if i recall correctly).
>
> When I try to install the linux RPM, it complains about a
> dependancy on Perl. Do I have to install a linux compatible
> version of Perl within /compat/linux ?
>
> %% rpm --ignoreos --root /compat/linux -i EDGExg-2.3-1.i586.rpm
> failed dependencies:
> Fcntl.so is needed by EDGExg-2.3-1
> /usr/bin/perl is needed by EDGExg-2.3-1

It's not actually looking on the disk to see if you have the files it needs, its looking for the package that contains those files in its RPM database. Since you're evidently running it under FreeBSD, just for those few packages you need, its highly unlikely you'll have a complete RPM database.

You'll almost certainly have /usr/bin/perl, I don't know about Fcntl.so. Anyway, to try getting around this, just add --nodeps to the RPM command line which will install the thing anyway. I had to do this a lot when installing RPM files under Slackware Linux, which of course didn't have an RPM database either.

If it still fails because you're missing that library file, you might try getting it from an actual redhat system.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org